Resize LVM

Posted on 2007-11-25
Last Modified: 2013-12-15
Hi experts...

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?

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?  


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

Question by:daveokst
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

Accepted Solution

amirs80 earned 500 total points
ID: 20348550
please read this, i hope this will resolve your problem
LVL 12

Expert Comment

ID: 20348623

Author Closing Comment

ID: 31410872

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

724 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