Posted on 2007-11-25
Little too late I realized that I setup my VG with 3 logical volumes whereby LV03 is mounted to / and was only assigned 10G. I have 350G assigned to LV01 which is mounted to /home. Today VMware was complaining that the temp folder has run out of space... go figure. How do I resize LV01 and LV03 to move 50G from one to the other?
sda1 sdb1 = raid1
/boot = 1G
/spare = 1G
VG00 on extended partition contains:
LV01 = /home 350G
LV02 = /swap 8G
LV03 = / 10G
I already reduced LV01 to 300G, but since LV03 is mounted to root I don't think I can exactly unmount it in order to resize?
Am I SOL?
Here are the steps I performed so far:
# e2fsck -fv /dev/mapper/VG00-LV01
# resize2fs /dev/mapper/VG00-LV01 300G
lvm> lvreduce -L300G /dev/VG00/LV01