?
Solved

Resize LVM

Posted on 2007-11-25
3
Medium Priority
?
1,698 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, left to enroll

762 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