resizing an lvm volume with setup-storage

Michael Tautschnig mt at debian.org
Tue Apr 13 10:42:30 CEST 2010


[...]

> >>You will need one more try, as resize2fs is still complaining:
> >>
> >>(CMD) resize2fs /dev/vg0/usr 16777216s 1> /tmp/Hdv5kRmDAd 2> /tmp/FCrWPAlXCo
> >>Executing: resize2fs /dev/vg0/usr 16777216s
> >>Command resize2fs /dev/vg0/usr 16777216s had exit code 1
> >>(STDERR) resize2fs 1.41.11 (14-Mar-2010)
> >>(STDERR) Please run 'e2fsck -f /dev/vg0/usr' first.
> >>
> >>The full log is at http://paste.debian.net/68019/.
> >>
> >
> >Could you briefly hack a "-f" to the resize2fs calls in Commands.pm? The man
> >page doesn't quite tell whether this will override this e2fsck requirement; if
> >not, we'll really need to do so, which might be pretty time consuming.
> >
> >
> It does override the e2fsck requirement, resize2fs seems ok, but the
> result is.... well, unexpected :-) :
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/vg0-usr    6159800  -1278720   7123948   -  /target/usr
> 
> After the end of the installation, the partition is still 6G wide.
> 

Could you give 3.4~beta1+experimental4 another try? This one does the suggested
e2fsck instead of forcing something on resize2fs.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100413/bdb69099/attachment.bin 


More information about the linux-fai mailing list