Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux does not put arbitrary limits on the number of hard disks.
With IDE, ATAPI, ATA or SATA drives, you are limited to two disks per channel (master and slave), and usually two channels per controller. But you can still install extra controllers as expansion cards.
With SCSI drives, you can daisy-chain more devices on a single controller (Googling for this, I think 6 might be the typical limit, but you may be able to get more than that on some controllers). Again, you can get additional controllers.
With USB, you can attach as many devices as you like, up to a few hundred per controller given enough powered hubs. Again, you can buy more controllers if you like, but note that the bandwidth is split between all the disks on one controller (and USB hard disks don't tend to have a good size*speed/price ratio).
Inside the kernel, the settings for each device are stored as a vector of device nodes (If I remember rightly), so you even can have as many devices as you like running from the same driver inside the kernel.
In practice, the limits are likely to be the cooling power of your computer (I'd recommend hard-disk coolers if you're running many drives, especially in a smaller box), and the limits of your computer's power supply.
To put more than a few dozen drives in a single box, you may also need to create more nodes in the /dev/ filesystem before Fedora will see them. Alternatively, you could use a hardware RAID controller to combine them into a single device.
You can also have as many software RAID partitions as you like.
Also, note that devices include the number of hubs (and the host controller as well, I think). Hubs only tend to go up to eight or so devices. USB v.2 is faster (possibly comparable to ATAPI with one device at a guess, and 1/n of that speed with n drives)
If you want lots of storage space, you're probably better off looking at SCSI (or ATAPI if money is also an issue).
You could also look at setting up disk partitions if you just want to see a large numbers of small “drives” in software. (By the way, you can use software-raid on partitions as well as physical drives).
Well, we now have 25+ hard drives on one machine and are continuing to add more. We are trying to set up a nightly back up for every employee that we have here on their own 120 Gig hard drive. So far so good, let me know of anymore information that might be useful to me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.