From 39ef8dffb658e7186e25303b03ce1cd28b950c3d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 7 Jul 2009 22:34:59 -0400 Subject: Fix list of 64-bit arches. 'sparc' and 's390' are what are returned by iutil.getArch; however, we don't actually support 31/32-bit installs on those machines. --- storage/devicelibs/lvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage') diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py index 21961700f..a5eb59d8a 100644 --- a/storage/devicelibs/lvm.py +++ b/storage/devicelibs/lvm.py @@ -129,7 +129,7 @@ def getPossiblePhysicalExtents(floor=0): def getMaxLVSize(): """ Return the maximum size (in MB) of a logical volume. """ - if iutil.getArch() in ("x86_64", "ppc64"): #64bit architectures + if iutil.getArch() in ("x86_64", "ppc64", "alpha", "ia64", "s390", "sparc"): #64bit architectures return (8*1024*1024*1024*1024) #Max is 8EiB (very large number..) else: return (16*1024*1024) #Max is 16TiB -- cgit