Partition | sda | sdb | sdc | sdd | ----------+--------------+--------------+----------+----------+ 1 | RAID-1 | RAID-1 | swap | swap | | (/boot, 80M) | (/boot, 80M) | (180M) | (180M) | +--------------+--------------+----------+----------+ 2 | RAID-1 | RAID-1 | RAID-5 | RAID-5 | | (/, 100M) | (/, 100M) | (~4G) | (~4G) | +--------------+--------------+----------+----------+ 3 | RAID-5 | RAID-5 | | (~4G) | (~4G) | +--------------+--------------+
This will give me the following partitions:
/ 100MB, mirrored /boot 80MB, mirrored /usr, /var, et. All on ~12G RAID-5 array.
Does this look feasible? Can you see any major gotchas? Any better suggestions?
How about:
Partition | sda | sdb | sdc | sdd | ----------+--------------+--------------+----------+----------+ 1 | RAID-1 | RAID-1 | swap | swap | | (/boot, 80M) | (/boot, 80M) | (130M) | (130M) | +--------------+--------------+ | | 2 | swap | swap | | | | (50M) | (50M) | | | +--------------+--------------+----------+----------+ 3 | RAID-5 | RAID-5 | RAID-5 | RAID-5 | | (/, ~4G) | (/, ~4G) | (/, ~4G) | (/, ~4G) | +--------------+--------------+----------+----------+
This will give me the following partitions:
/boot 80MB, mirrored /, /usr, /var, et. All on ~12G RAID-5 array. 360M swap spread across all 4 spindles
Adjust the capacities to suit.
Alternatively, use the other two spindles "next to" the /boot RAID-1 partitions to provide a RAID-1 or RAID-0 /tmp filesystem. However, I'd be inclined to increase the swap area and use tmpfs (which is virtual-memory based; i.e. RAM+swap) for /tmp.
--
Jeff Woods <kazrak+kernel@cesmail.net>
- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html