First post here, I just want to start by saying I really appreciate all the information available on these forums.
I recently bought components for a new WHS Vail file server (silly me, buying hardware based on a Beta OS
) and with the removal of DE I've decided to go another route. At the moment, that route appears to be software RAID. I didn't buy a motherboard with RAID in mind, so it only supports 0/1/10/JBOD, and I don't want to buy a controller card at this point in time. Later down the road I intend to build a larger rack-mount server, so I'll worry about better hardware at that time. I also will probably look more into ZFS and other software at that time (unless I can be convinced that it is a better option now, I think a simple RAID 5 will be fine until my next large expansion).
The plan which currently holds the lead in my view is Linux (specifically Ubuntu Server) using mdadm. I also have Windows Server 2008 as an option, but unless anyone can show that Microsoft's software RAID solution is beneficial, I've just read too many negative comments in comparison to mdadm. So I'm open to suggestions as to an OS, but barring any I'll get on to my current setup and questions.
My server is starting with 3 2TB drives, and once it's fully running I'll transfer data off the 2 2TB drives in my main PC and grow the RAID to 5 devices. I've never done anything with software RAID, so I've formatted my server and set it up multiple times just learning and trying to decide the best design. I've read that there should be a separate swap partition, and that the OS should be on a RAID 1 because of the bootloader. I've created an 8GB partition on each drive for swap, 100GB for OS, and the remainder for storage. I've set up a mirror array on the first two drives for the swap, a second mirror for OS, and a RAID 5 across all drives for storage. It looks like this:
This leaves unused space on the third drive, which will also carry over to the other two drives that I will add in, looking like this:
Would it be advisable to mirror the swap and OS across all 5 drives? Or maybe set up another RAID 5 across the last three 100GB partitions? Or just leave those unused? Or am I just way off the mark? Normally I would put the OS on a small drive separate from the storage, but my motherboard only has 5 SATA slots and I have 5 large drives to use. I want to use my space efficiently, but if my current thought process is a bad idea, then I'm open to better suggestions of how to make the best use of my 5 drives.
If I need to provide any more info about my hardware, or anything concerning my setup, please let me know. I appreciate any help I can get with this.
I recently bought components for a new WHS Vail file server (silly me, buying hardware based on a Beta OS
The plan which currently holds the lead in my view is Linux (specifically Ubuntu Server) using mdadm. I also have Windows Server 2008 as an option, but unless anyone can show that Microsoft's software RAID solution is beneficial, I've just read too many negative comments in comparison to mdadm. So I'm open to suggestions as to an OS, but barring any I'll get on to my current setup and questions.
My server is starting with 3 2TB drives, and once it's fully running I'll transfer data off the 2 2TB drives in my main PC and grow the RAID to 5 devices. I've never done anything with software RAID, so I've formatted my server and set it up multiple times just learning and trying to decide the best design. I've read that there should be a separate swap partition, and that the OS should be on a RAID 1 because of the bootloader. I've created an 8GB partition on each drive for swap, 100GB for OS, and the remainder for storage. I've set up a mirror array on the first two drives for the swap, a second mirror for OS, and a RAID 5 across all drives for storage. It looks like this:
Code:
sda sdb sdc
---------- ---------- ----------
| 1 | | 1 | | x |
---------- ---------- ----------
| | | | | |
| 1 | | 1 | | x |
| | | | | |
---------- ---------- ----------
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| 5 | | 5 | | 5 |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
---------- ---------- ----------
This leaves unused space on the third drive, which will also carry over to the other two drives that I will add in, looking like this:
Code:
sda sdb sdc sdd sde
---------- ---------- ---------- ---------- ----------
| 1 | | 1 | | x | | x | | x |
---------- ---------- ---------- ---------- ----------
| | | | | | | | | |
| 1 | | 1 | | x | | x | | x |
| | | | | | | | | |
---------- ---------- ---------- ---------- ----------
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| 5 | | 5 | | 5 | | 5 | | 5 |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
---------- ---------- ---------- ---------- ----------
Would it be advisable to mirror the swap and OS across all 5 drives? Or maybe set up another RAID 5 across the last three 100GB partitions? Or just leave those unused? Or am I just way off the mark? Normally I would put the OS on a small drive separate from the storage, but my motherboard only has 5 SATA slots and I have 5 large drives to use. I want to use my space efficiently, but if my current thought process is a bad idea, then I'm open to better suggestions of how to make the best use of my 5 drives.
If I need to provide any more info about my hardware, or anything concerning my setup, please let me know. I appreciate any help I can get with this.