LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-07-2016, 05:50 AM   #1
bala1989murugan
LQ Newbie
 
Registered: Sep 2016
Posts: 15

Rep: Reputation: Disabled
LVM - Reduce Issue


Dear Team,

I have an 50 GB LV.
I need to reduce 10GB from 50GB.
After the lv reduction I'll have 40GB available space.

First I did un-mount the mount point location.
Executed e2fsck -f /dev/balavg/balalv
After that executed resize2fs /dev/balavg/balalv 10G
Finally ran, lvreduce -L -10G /dev/balavg/balalv
While executing this command, it's asking 50 GB to 40GB. but its reduced 40GB. I am getting only 10GB available space.

Kindly suggest on this.
 
Old 09-07-2016, 07:07 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,086

Rep: Reputation: 826Reputation: 826Reputation: 826Reputation: 826Reputation: 826Reputation: 826Reputation: 826
Your resize2fs command is setting the size to 10G. You can now just resize again to max space by leaving off the size.

Last edited by smallpond; 09-07-2016 at 07:08 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM REDUCE HOW TO UNMOUNT /dev/volumegroup/lvm crahuldba@gmail.com Linux - Newbie 3 10-29-2010 08:49 AM
how to reduce lvm in size in RHEL5.0 kbklinux Linux - Software 1 05-14-2009 03:06 AM
How do you safely reduce a LVM partitions size? Igby Linux - Server 4 05-12-2009 12:41 AM
How to reduce LVM partition ^ Guillaume777 Linux - Software 1 08-27-2007 06:01 AM
reduce an LVM partition in Red Hat jhnsegers Linux - Software 0 11-25-2004 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration