Rafael 'Dido' Sevilla wrote:

> But Andy, I suppose you have not heard of the inconvenient fact that
> it's at this point impossible to shrink any logical volume without
> unmounting it

Hmm... I would've thought otherwise reading the Suse whitepaper
on LVM: http://www.suse.com/en/whitepapers/lvm/lvm1.html

"Resizing: It is possible to add storage space to already
existing Logical Volume(s), increasing their size(s) during
runtime. If the filesystem on the logical volume supports it
(like ReiserFS on SUSE LINUX does) it can be resized during
runtime as well to immediately use the additional space, without
unmounting it so that applications and users will not even
notice the operation."

I do notice now that it mentions "add storage space", but not
necessarily reduce.

> and that not all filesystems will even allow shrinking at
> all.  

Yes, you did mention this in your earlier post.  All this time
I thought Ext2 partitions were resizable.


> and while ReiserFS supposedly allows nondestructive shrinking
> with an unmount, it is in my experience not true.  The last time I tried
> it, carefully following the instructions destroyed my /var partition,
> which is not altogether surprising as the resize_reiserfs tool warned me
> in no uncertain terms that what I was doing was dangerous and could lead
> to data loss.  

Hopefully something that will not stay true for too long.  I
wonder if resize_reiserfs is still branded as dangerous
today.


> Even if the shrinking process was safe and error free,
> your scheme would still require booting off a rescue disk in 
> order to shrink the root partition at any time this is required!

...or live CD.  Unmounting and resizing logical volumes would still
be preferable to nuking a partition in order to resize.


> If you've made a logical volume grow to your full drive capacity, then
> there's no turning back.  Under your scheme with the current state of
> Linux filesystem and volume management software, it has no advantages
> over creating a single root partition expanded to your full drive
> capacity.  

It all hinges on whether it is already possible to safely shrink a
filesystem today.



-- 
reply-to: a n d y @ n e o t i t a n s . c o m
http://heecheesoft.blogspot.com
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to