Re: questions on kickstart

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



In article <47ED53AA.6040000@xxxxxxxxxxxxxxx>,
Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
> part of my kickstart file is now:
> 
> clearpart --all --initlabel
> part --ondisk=sda raid.01 --asprimary --bytes-per-inode=4096 
> --fstype="raid" --onpart=sda1 --size=20000
> part --ondisk=sda swap    --asprimary --bytes-per-inode=4096 
> --fstype="swap" --onpart=sda2 --size=4000
> part --ondisk=sda raid.02 --asprimary --bytes-per-inode=4096 
> --fstype="raid" --onpart=sda3 --size=1     --grow
> part --ondisk=sdb raid.03 --asprimary --bytes-per-inode=4096 
> --fstype="raid" --onpart=sdb1 --size=20000
> part --ondisk=sdb swap    --asprimary --bytes-per-inode=4096 
> --fstype="swap" --onpart=sdb2 --size=4000
> part --ondisk=sdb raid.04 --asprimary --bytes-per-inode=4096 
> --fstype="raid" --onpart=sdb3 --size=1     --grow
> raid /     --bytes-per-inode=4096 --device=md0 --fstype="ext3" --level=1 
> raid.01 raid.03
> raid /home --bytes-per-inode=4096 --device=md1 --fstype="ext3" --level=1 
> raid.02 raid.04

Leaving aside the ondisk/onpart issue which has been answered, I see you
are keeping the swap partitions as individual devices.

I prefer to raid1 the swap as well, just like the filesystems. If you lose
a disk and some memory is swapped out to the failed disk, your system will
very likely crash. If swap is mirrored too, the disk failure should not
crash the system, since the same data is on the working disk.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux