[linux-lvm] Best practice for lvm on raid-5

Chris Cox chris_cox at stercomm.com
Mon Feb 2 14:37:02 UTC 2004


Jens Hoffrichter wrote:
> Hi everyone,
> 
> I have a LVM vg on top of a softraid 5 consisting of 3 80 GB harddrives.
> 
> Currently I have /dev/md0 as my only physical volume, but this will lead
> to problems if I am going to expand the raid 5 by adding another 80 GB
> harddrive to (as pvresize is not implemented again yet, as I understand).
> 
> What is the best practice in this case? To add a partition table on top
> of /dev/md0 (but how is it represented in the /dev filesystem) and only
> add single partitions as pvs to the vg?
> 
> I'm happy for every suggestion :)

Obviously you cannot extend the existing md0 RAID5.  However you can
add another PV to the VG.  That new PV could be another soft RAID5.
It doesn't have to be though... you can basically build quite
a menagerie with LVM if you really want to.





More information about the linux-lvm mailing list