ext2 cannot be live resized
authorJamie Cameron <jcameron@webmin.com>
Tue, 30 Mar 2010 16:30:12 +0000 (09:30 -0700)
committerJamie Cameron <jcameron@webmin.com>
Tue, 30 Mar 2010 16:30:12 +0000 (09:30 -0700)
lvm/lvm-lib.pl

index 28855ee..9700bc2 100755 (executable)
@@ -481,7 +481,7 @@ else {
                        # Cannot resize root
                        $can = 0;
                        }
-               elsif ($type =~ /^ext\d+$/ || $type eq "xfs" ||
+               elsif ($type =~ /^ext[3-9]$/ || $type eq "xfs" ||
                       $type eq "reiserfs" || $type eq "jfs") {
                        # ext*, xfs, jfs and reiserfs can be resized up
                        $can = 1;