In simple terms:
Hot Spare: Drive in the case, that is hooked up to IDE or SCSI chain, ready to be used but not actually part of the raid setup, that the raid controller knows is available to be used to replace a malfunctioning drive on the fly. (bit more comples than that , but basically thats it.
Hot Swap: removable hard drive bay that is electrically capable of being removed while the machine is running and a different drive inserted on the fly, so that a defective/malfunctioning drive can be replaced without impacting the server functions.
Raid 5: one of several raid configurations. Raid 5 requires a minimum of 3 drives to work and can be made up of as many drives as you have either SCSI or IDE connections on your raid controller(s). If software based raid, as many drives as can be accessed by your setup. Generally speaking except for JBOD Raid (Just a bunch of disks) all drives should be the same size and speed. For forms sake and consistency, you usually want them of the same make, but that is not stricly necessary. If they are not of the same size, then the raid size will be determined by the size of the smallest drive in the raid.
Just for reference:
Raid 0 (minimum 2 drives) is what is termed a stripe. All drives in a Raid 0 are formatted as a single volume with no consideration for redundancy (backup information). Volume size if n x GB, where n is the number of drives and GB is the capacity of the smallest drive in the mix. Very fast as the raid controller can write information to any drive, so your data is spread out over the entire set of drives. If a single drive malfunctions at any time all the information is gone. Useful where data is not paramount, but speed is.
Raid 1 (2 drives)is termed a mirror. Each volume is composed of 2 identical drives (if the drives are not the same size, then the volume size will be at the capacity of the smaller drive). The system will only show one set. Anything written to the visible set is also written to the mirror set. If something should happen to either set, the raid controller will warn you that there has been a failure and you will have the opportunity to replace the failed set without losing data. Of course if both sets of drives fail at the same time, all data is lost, but that would be extremely unusual. Useful where redundancy is necessary but speed is not, as speed is impacted by the raid controller having to write the same information to both drives at the same time.
Raid 0+1 is a combination of the two. Two identical stripes are mirrored. Bit faster than Raid 1 due to the nature of Raid 0.
Raid 5: Probably the most common raid setup for file servers. In this setup (minimum 3 drives) you have elements of both Raid 0 and Raid 1. All the drives are striped together, but a portion of each drives capacity is reserved for redundancy information. However no redundant information for a particular drive in the raid is kept on the same drive as the original information. In this way a drive may fail, but the raid keeps on serving or writing information as all the information that was on the failed drive is still available the raid controller. Raid 5 is very fast, basically the same as Raid 0, but it gives you the peace of mind of Raid 1 - all your information is safe in the case of a drive failure. Raid 5 volume size is (n-1) x GB, where n is the number of drive and GB is the capacity of the smallest drive in the raid. For example is you had 4 x 120GB drives in a Raid 5 configuration, then your volume size would be (4-1) x 120GB or 360GB. The missing 120GB is for the redundant information, so the raid controller may rebuild the original configuration if a drive malfunctions and is replaced and also for the raid controller to keep the volume alive and working until such time as the drive is replaced. Raid 5, at least in my experience works more efficiently with more drives. The minimum number is three, but I never setup one with less than 4, and I like to use at least 8 if possible. That last bit is my opinion and I'm know there is way more variations on that out there and someone will differ greatly with me, but thats what works best for me.
I'll continue in the next post.
Les Gray