Kevin Philp wrote:
> I am looking for some advice on setting up a small raid array to replace
> our current single disk system in the office. The plan is to have a
> small Debian server with three disks, two running and a spare, in a raid
> 1 array and then run LVM on top.
>> My question is about booting after a disk failure, particularly the
> primary disk. Where should I put the /boot partition, should it be
> outside of the raid array? can it be part of the raid array or can it
> even be part of the LVM groups?
AIUI, it cannot be part of LVM, but you can have a separate RAID array for
/boot and put the rest of the system on LVM
On a similar system (with no spare) I have two RAID arrays, md0 and md1.
md0 accounts for ~900M (yes, way too large for /boot, but just in case
...) and has a single ext3 partition. md1 uses the rest of the available
space and has LVM configured with ext3 partitions for /, /home, /var,
/var/mail, /tmp and swap.
Having /boot configured this way means that, no matter which disk fails
the other will still boot in degraded mode.
Regards,
Ciaran.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!