On Fri, 2 Apr 2010 11:11:30 +0200, meino.cra...@gmx.de wrote:

> A question to LVM: As much as I know, LVM combines several partition
> to one big partition, and if one partition fails, at least other
> others of that volume are damaged, too.

It can be used that way, but you have only one disk, so you would create
a single physical volume from a large partition on that disk and then use
LVM to create individual logical volumes within it.

> What is the advantage of using LVM and several small partitions
> instead of one in the size of the sum of the others and not using
> LVM?

Flexibility and convenience. No single filesystem is right for all of
your needs, with LVM you can use XFS where it is best suited and
something else elsewhere, and you can resize and reorganise your volumes
without needing to repartition the drive. I have a few hundred GB unused
on my volume group, so I can add volumes or resize existing ones in
seconds with minimal effort and no downtime.

Just one note of caution, XFS filesystems cannot be shrunk, although they
are easy to grow, so make any XFS volumes no larger than your current
needs. That advice applies to all your volumes, because growing is easier
and faster than shrinking, but doubly so to XFS.


-- 
Neil Bothwick

Better to understand a little than to misunderstand a lot.

Attachment: signature.asc
Description: PGP signature

Reply via email to