[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian+LVM+RAID



On Thu, Jul 09, 2009 at 02:13:25PM +1000, Alex Samad wrote:

> md0 = sda1 + sdb1
> md1 = sda2 + sdb2
> md3 = sda3 + sdb3
> 
> md0 = /boot (ext2)
> md1 = / (ext3)
> md2 = lvm physical device 
> 
> Then on LVM
> 
> size of memory = swap partition
> 1G = ext3  mount point /var/log
> 
> Then chop up the rest lvm for /home or ???

Creating a swap partition on a software RAID device isn't ideal. It is
better to create a swap partition on each of the physical devices and
give them the same priority (in /etc/fstab). That's only one example,
you could also use a disk that isn't part of the RAID and have only
one swap partition ...

BTW, wouldn't you rather create a partitionable RAID from the whole
disks and then partition that? If not, why not? (Letting aside where
to put the swap partition ...)


Reply to: