IDE master/slave

From LQWiki
(Redirected from Slave)
Jump to navigation Jump to search

Slave is one of two main settings for a hard disk. The other being Master. If you are building a computer you can set hard drives to be master or slave (Plus a few others depending on hard drive type (like cable select)). These are selected by putting a jumper in certain positions (or sometimes removing the jumper). The selection method depends on the hard drive, but is normally written near the jumpers on the back of the hard drive.

If you have a single IDE cable, with two hard drives on it one must be set to master and one to slave. The master is the first or primary, hard drive and the slave is the second, or secondary drive. The reason the terms primary and secondary are not used, is that most computers have two IDE cables for hard drives and they are known as the primary and secondary; so, if you have four hard drives, they will be designated; primary master, primary slave, secondary master and secondary slave.

Originally you could only boot off the primary master, however, nowadays you can boot off almost any hard drive (although the boot loader still needs to be on the primary master). When CD burners first came out they were very picky about their location within the computer, i.e. you had to put them on the 'other' IDE cable from where you were copying the CD from. So if you were copying CD to CD you had to set them up as primary slave (primary master being the boot HD) and secondary master (if you had no other hard drive). Nowadays computers are much faster and this is no longer an issue.

If you have two hard drives which are used more then the CD drives, then you can gain some speed by putting them as primary master and secondary slave because then each IDE cable can run all the information between each hard drive and the rest of the computer. If they are both on the same IDE cable then its speed is split between the two drives. This of course depends on exactly what you are doing on both hard drives, but if you are setting up a PC and put the OS on primary master and the swap file or user file area on secondary master that can increase speed (slightly).

The exact setup of primary master, primary slave, secondary master and secondary slave can be a contentious issue, with many differing views on how to do it; faster computers havemade this less of an issue. Simply put, depending on your computer you may want a different setup for your masters and slaves.