[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM Problems :)



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]