Hello guys,
my scenario is following
- I have LVM group named "system"
- I have a logical volumes
- system/root , ext3 mounted as / (20GB)
- system/swap, swap
-
system/home, ext3 mounted as /home (431GB)
I need to shrink system/home to 80GB (currently there is 57GB used) and use free space to create another logical volumes.
My scenario is
- reduce ext3 fs size to 80GB by using resize2s
- reduce system/home size by using lvreduce
- create another logical volumes
Questions
- How can i be sure that i will shrink ext3 to exact size 80GB and that the same will lvreduce do? I do not want to cut from ext3 filesystem if i will reduce logical volume too much
- Can you please send me commands to achieve 1) and 2) part of my scenario?
- Or can i just use lvreduce and my ext3 will shrink automatically?
- Do i need to umount system/home when resizing?
Thanks in advance!
David