resizing an lvm volume with setup-storage

Michael Tautschnig mt at debian.org
Tue Apr 13 22:00:55 CEST 2010


> 
> >>e2fsck is still grumpy:
> >>
> >>(CMD) e2fsck -f /dev/vg0/usr 1> /tmp/2jcv6xhbVE 2> /tmp/qT7zDl1RU4
> >>Executing: e2fsck -f /dev/vg0/usr
> >>Command e2fsck -f /dev/vg0/usr had exit code 8
> >>(STDERR) e2fsck 1.41.11 (14-Mar-2010)
> >>(STDERR) e2fsck: need terminal for interactive repairs
> >>
> >>http://paste.debian.net/68701/
> >>
> >
> >Could you run e2fsck interactively, doing
> >
> >e2fsck -p -f /dev/vg0/usr
> >
> >to see whether a safe repair can be done non-interactively? I wonder if your
> >filesystem is corrupted anyway and that e2fsck run before resize2fs wouldn't
> >even be necessary otherwise.
> Works fine after an fai-sysinfo boot:
> 
> root at lutil:~# e2fsck -p -f /dev/vg0/usr
> /dev/vg0/usr: 41374/393216 files (0.6% non-contiguous),
> 227117/1572864 blocks
> root at lutil:~#
> 
> At this time resize2fs doesn't require a prior e2fsck, though.
> 

So I hope that the addition of -p fixes this (3.4~beta1+experimental7).

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/b148cfc9/attachment.bin 


More information about the linux-fai mailing list