LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2016, 02:33 PM   #1
sudharshandatla
LQ Newbie
 
Registered: Sep 2015
Posts: 22

Rep: Reputation: Disabled
LVM Issue


Hello Friends,

I come across one scenario,help me on this,

I am having 25GB of LVM, Its completely full..

In this scenario If I go with LV Reduce what will hapen,

Is it allow for reduce, If allow what happen data will be lost??
 
Old 02-10-2016, 03:15 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,360

Rep: Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001
You need to shrink the filesystem either before or during (with the "--resizefs" option) the lvreduce operation. If you do not, the filesystem will not be mountable any more.

Note that you cannot shrink a filesystem while it is mounted (not with any filesystem I know of, at least). That will probably mean that you have to boot from some alternative medium and do the adjustment from there.
 
Old 02-10-2016, 03:52 PM   #3
sudharshandatla
LQ Newbie
 
Registered: Sep 2015
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thanks alot for your information rknichols
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LVM issue vpp Linux - Software 104 05-04-2015 06:03 PM
LVM issue call_krushna Linux - Virtualization and Cloud 0 10-30-2012 11:58 AM
LVM issue AndyD236 Linux - General 2 11-24-2009 08:26 AM
LVM Issue bondoq Linux - General 8 05-12-2009 10:35 AM
LVM issue pauloco Linux - Hardware 1 11-15-2006 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 PM.

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