LVM question

Stephen M smelheim85 at gmail.com
Fri Jul 17 21:33:04 MST 2015


Yes, but when I was trying to shrink the /home to give more to /usr it
was giving that error.  Thats why I wanted to know what might be going
on. I know I could do it through a GUI but I want to learn command
line.

On Fri, Jul 17, 2015 at 8:59 PM, James Mcphee <jmcphe at gmail.com> wrote:
> Yes.  To resize an lv, you do an lvresize and then a resize2fs.  you can
> grow them without much issue, and newer ones will let you do it online.
> just don't try to shrink it online :)
>
> On Fri, Jul 17, 2015 at 8:43 PM, Stephen M <smelheim85 at gmail.com> wrote:
>>
>> Hi Everyone,
>>
>> I'm trying to learn LVMs.  I created a couple LVM partitions and was
>> trying to resize a /home I made.  I use efsck2 to check the disk,
>> resize2fs to resize it then lvreduce/lvresize but it came out with an
>> error status 5 code.  The partition was unmounted so that wasn't the
>> issue and I was in a tty using root.  Is /home on LVM allowed to be
>> resized?
>>
>> --
>> Stephen Melheim
>> 602-400-7707
>> SMelheim85 at gmail.com
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
>
> --
> James McPhee
> jmcphe at gmail.com
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss



-- 
Stephen Melheim
602-400-7707
SMelheim85 at gmail.com


More information about the PLUG-discuss mailing list