[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1700
  • Last Modified:

Resize LVM

Hi experts...

Question:
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?

Background:
Fedora 7
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
lvm> lvreduce -L300G /dev/VG00/LV01
lvm> exit







0
daveokst
Asked:
daveokst
1 Solution
 
amirs80Commented:
please read this, i hope this will resolve your problem

http://allaboutfedora.blogspot.com/2007/01/how-to-resize-or-expand-lvm-partitions.html
0
 
daveokstAuthor Commented:
Thanks
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now