LVM2 and resizing

Mike Bydalek mbydalek at compunetconsulting.com
Tue Apr 15 11:00:58 MST 2008


Yep.  Look at http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html

The caveat is that you need to have patched your kernel with the 
ext2online patch, which I believe is fairly common nowadays.  Earlier 
wasn't the case, which was one reason why on some of my old machines 
(I'm talking 4+ years) they're using reiserfs.

-Mike

Austin Godber wrote:
> Wait, you have been able to resize mounted ext3 partitions?  I didn't  
> think that was possible?
>
> Austin
>
> On Apr 15, 2008, at 10:53 AM, Mike Bydalek wrote:
>   
>> I'll say that I've been resizing production machines for a few years  
>> now
>> without any issues.  This includes ext3 and reiserfs.  One of the
>> partitions I am frequently resizing contains our Scalix mail store.   
>> So
>> far, I haven't had any issues with locking, db's, etc.
>>
>> -Mike
>>
>> der.hans wrote:
>>     
>>> moin moin,
>>>
>>> is it generally safe to resize, move, etc. an LVM partition without
>>> unmounting the partitions on top of it?
>>>
>>> How about resizing ext3 on the fly as well?
>>>
>>> reiserfs? Other Free FSen?
>>>
>>> It worked fine for me yesterday in a VM, but I wasn't really doing
>>> anything in the VM, except playing with the LVM setup.
>>>
>>> That situation doesn't really tell he what would happen on a real  
>>> FS where
>>> people and processes have lock files and are reading and writing  
>>> files or
>>> what a database thinks about having it's filesystem mucked with.
>>>
>>> ciao,
>>>
>>> der.hans
>>>
>>>       
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>>     
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20080415/a130fbd1/attachment.htm 


More information about the PLUG-discuss mailing list