simple RAID setup
I am looking at setup a RAID what is the simplest setup? --- tom_a_sparks It's a nerdy thing I like to do Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html Ubuntu wiki page https://wiki.ubuntu.com/tomsparks 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 Premium Edition, AF 2012 Plus Edition, Sam440 AOS 4.1.2, Raspberry Pi model B, Microbee Premium Plus+, Roland DXY-1300 pen plotter, Cutok DC330 cutter/pen plotter Wanted: GEOS system (C64/C128), Atari ST, Apple Macintosh (6502/68k/PPC only) -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
Re: simple RAID setup
On 12/29/2012 12:36 PM, Tom Sparks wrote: I am looking at setup a RAID what is the simplest setup? RAID 1 is recommended for boot disks. My preferred setup is to set up all boot disks (usually 2, but i've been known to go as high as 4) as follows: 1. primary partition, 1 GB or so, Linux RAID partition (type 0xFD in fdisk, known as physical volume for RAID in the server/alternate installer). Once these have been combined into a RAID partition (usually /dev/md0), i create an ext3 filesystem for /boot on it. 2. primary or logical partition, rest of the disk, Linux RAID. Once these have been combined into a RAID partition (usually /dev/md1), i create an LVM physical volume (PV) on this, create a volume group (VG) named for the host and a sequence number (e.g. myserv0). Then you can create logical volumes (LVs) in the VG that act like physical partitions, but can be moved and grown as needed. 3. LVs in the root VG: * lv00 4GB swap * lv01 8GB+ / * lv02 8GB+ /var * rest of VG can be allocated as desired, but often it goes in /home It's not required to have a separate /boot nowadays, but i prefer it because it has been very stable and trouble-free for me for many years. I have an idea that the Ubuntu installer nowadays might even have a canned configuration that sets up RAID 1 + LVM. But don't quote me on that one. I've got a bit more at my wiki (hasn't been updated in a while, though): * http://linuxman.wikispaces.com/search/view/raid * http://linuxman.wikispaces.com/Software+RAID+troubleshooting * http://linuxman.wikispaces.com/Recovering+from+a+RAID+drive+failure * http://linuxman.wikispaces.com/filesystem+layers+overview I'm sure there are better guides than mine if you care to search, but i haven't found anything like the filesystem layers overview elsewhere. If you have any troubles, jump on IRC in #ubuntu-au and ping me (blahdeblah) and i'll see what i can do to help. Regards, Paul attachment: paul.vcf-- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
Re: simple RAID setup
for simplicity, try to use hardware raid, e.g. created in bios. use either RAID 0 (striping, more speed but lose on drive, loose them all) or RAID 1 (mirroring, gives redundancy) On Sat, Dec 29, 2012 at 3:42 PM, Paul Gear p...@libertysys.com.au wrote: On 12/29/2012 12:36 PM, Tom Sparks wrote: I am looking at setup a RAID what is the simplest setup? RAID 1 is recommended for boot disks. My preferred setup is to set up all boot disks (usually 2, but i've been known to go as high as 4) as follows: 1. primary partition, 1 GB or so, Linux RAID partition (type 0xFD in fdisk, known as physical volume for RAID in the server/alternate installer). Once these have been combined into a RAID partition (usually /dev/md0), i create an ext3 filesystem for /boot on it. 2. primary or logical partition, rest of the disk, Linux RAID. Once these have been combined into a RAID partition (usually /dev/md1), i create an LVM physical volume (PV) on this, create a volume group (VG) named for the host and a sequence number (e.g. myserv0). Then you can create logical volumes (LVs) in the VG that act like physical partitions, but can be moved and grown as needed. 3. LVs in the root VG: - lv00 4GB swap - lv01 8GB+ / - lv02 8GB+ /var - rest of VG can be allocated as desired, but often it goes in /home It's not required to have a separate /boot nowadays, but i prefer it because it has been very stable and trouble-free for me for many years. I have an idea that the Ubuntu installer nowadays might even have a canned configuration that sets up RAID 1 + LVM. But don't quote me on that one. I've got a bit more at my wiki (hasn't been updated in a while, though): - http://linuxman.wikispaces.com/search/view/raid - http://linuxman.wikispaces.com/Software+RAID+troubleshooting - http://linuxman.wikispaces.com/Recovering+from+a+RAID+drive+failure - http://linuxman.wikispaces.com/filesystem+layers+overview I'm sure there are better guides than mine if you care to search, but i haven't found anything like the filesystem layers overview elsewhere. If you have any troubles, jump on IRC in #ubuntu-au and ping me (blahdeblah) and i'll see what i can do to help. Regards, Paul -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au -- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
Re: simple RAID setup
On 12/29/2012 03:45 PM, Jackson Doak wrote: for simplicity, try to use hardware raid, e.g. created in bios. use either RAID 0 (striping, more speed but lose on drive, loose them all) or RAID 1 (mirroring, gives redundancy) Most hardware RAID created in BIOS is actually software RAID (sometimes called fake RAID) implemented in a driver. I've never had anything but bad experiences with it, and plenty of good experiences with Linux software RAID. More here: http://linuxman.wikispaces.com/RAID Paul attachment: paul.vcf-- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au