LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LVM Issue (https://www.linuxquestions.org/questions/linux-newbie-8/lvm-issue-4175571920/)

sudharshandatla 02-10-2016 01:33 PM

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??

rknichols 02-10-2016 02:15 PM

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.

sudharshandatla 02-10-2016 02:52 PM

Thanks alot for your information rknichols


All times are GMT -5. The time now is 07:48 AM.