[linux-lvm] extending a logical volume

lembark at wrkhors.com lembark at wrkhors.com
Mon Jan 21 14:56:02 UTC 2002


-- Brad Langhorst <bwlang at yahoo.com> on 01/21/02 12:13:14 -0800

> 
> --- lembark at wrkhors.com wrote:
>> 
>> 
>> -- Pierrick PONS <ppons at cvf.fr> on 01/21/02 19:09:31
>> +0100
>> 
>> > I've read the extending logical volume section and
>> I can't believe this.
>> > According to the doc, it would be impossible to
>> extend a logical volume 
> 
> um - i think i just did this...
> 
> lvextend -L +10G /dev/vg1/data 
> followed by 
> resize-reiserfs
> 
> no corruption (at least not that I've noticed)
> 
> maybe i'm misunderstanding...

There has been a bit if mail on the reiser list about 
corruption from expanding in-use file systems. Frankly,
for the number of [milli?]seconds it takes to do the
expansion offline it seems easier to do it unmounted.

I'm also not sure that ext3 supports online extension
(thought the original post was about ext3), and ext2
or msdos file systems certianly don't.

You also don't know if anyone is using the volume for
a networked file system, which may screw things up 
if the caching is too aggressive.

--
Steven Lembark                              2930 W. Palmer
Workhorse Computing                      Chicago, IL 60647
                                           +1 800 762 1582




More information about the linux-lvm mailing list