[linux-lvm] LVM Problems :)

Chris Cox chris_cox at stercomm.com
Fri Feb 13 16:40:22 UTC 2004


Heinz Mauelshagen wrote:
...
> BTW: you should either run e2fsadm to grow/shrink the unmounted
>      filesystem _and_ the logical volume in one go
>      -or-
>      use the filesystem resizer and lvextend/lvreduce in the correct order
>      (lvextend + grow fs -or- shrink fs + lvreduce).
> 
>      Problem with the later is getting the size arguments right ;-)

Be overly conservative and just grow the filesystem to fill the
leftover space afterwards.  So overguess on shrinking the filesystem,
choose something safe for the lv shrink, then grow the filesystem
to fill.




More information about the linux-lvm mailing list