Solved

Resize LVM

Posted on 2007-11-25
3
1,694 Views
Last Modified: 2013-12-15
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
Comment
Question by:daveokst
3 Comments
 
LVL 3

Accepted Solution

by:
amirs80 earned 500 total points
ID: 20348550
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
 
LVL 12

Expert Comment

by:ibu1
ID: 20348623
0
 

Author Closing Comment

by:daveokst
ID: 31410872
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question