Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Resize LVM

Posted on 2007-11-25
3
Medium Priority
?
1,699 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
amirs80 earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
Suggested Courses

636 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