Michael Tinsay wrote:

> All this talk about the subject matter, and I may have
> missed the original point, but why put root on an LVM?
> It doesn't really need it, right?  I mean, compared
> to the subfolder like /home, /usr, and even /etc, the
> root folder doesn't really grow or shrink.

This is for the case where you can't decide yet at
the beginning how you want to separate the directories
under root.  What you can do is put them all under one
logical volume (/) expanded to your full drive capacity
at first.

Later, if you decide to, for example, separate
out /etc because you are going to do a fresh reinstall,
you can just can reduce the size of the initial logical
volume (LV) holding /, create a new one to hold /etc, and
copy your files over to the new LV without any destructive
repartitioning.

If you hadn't used LVs, you'd have to copy the contents
of /etc off your hard drive first, since you will have to
destructive repartioning.

If you had put root (/) on a physical partition, and chosen
to mount only a few specific top-level directories on
LVs, you would lose resizing flexibility for those
directories that reside on the physical partition.

For example, if /opt was on a physical partition and it
grew too big to fit in its original physical partition, you
could transfer it to a logical volume elsewhere on the drive,
but that would probably mean having too much unused space on
the non-resizable physical partition you removed it from.


The driving idea here is to stop using physical partitions
altogther (including for swap, if you're willing to incur a
[hopefully slight] speed penalty), so you have maximum
resizing flexibility across your entire storage subsystem.
Perhaps in the future, that will be the default mode
of operation for Linux OSes (which would give it a leg
up over XP in this particular case).



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