resizing an lvm volume with setup-storage

Nicolas Courtel courtel at cena.fr
Tue Apr 13 11:58:41 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 give 3.4~beta1+experimental4 another try? This one does the suggested
> e2fsck instead of forcing something on resize2fs.
>   

Still failing, the last option given to e2fsck seems to be wrong:

[...]
Executing: lvresize -L 8192 vg0/usr
(STDOUT)   Extending logical volume usr to 8.00 GiB
(STDOUT)   Logical volume usr successfully resized
(CMD) e2fsck -f /dev/vg0/usr 16777216s 1> /tmp/7enTWTQVxG 2> /tmp/U_mywiuc75
Executing: e2fsck -f /dev/vg0/usr 16777216s
Command e2fsck -f /dev/vg0/usr 16777216s had exit code 16
(STDERR) Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
[...]

The full log is at http://paste.debian.net/68671/.

-- 
Nicolas


More information about the linux-fai mailing list