Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a maximum amount of hard drives that one can connect to a 64-bit linux machine? I'm not concerned with practicality, as my situation involves a VM.

share|improve this question
1  
Edited your question, since "mounts" are not quite the same thing as "hard drives". –  Renan Mar 29 '12 at 18:50
1  
Another way to ask this is "Could I attach, say, 147 file systems to my Linux machine? In other words, tell us what you are trying to accomplish and we can give you more practical answers. Unless this is an intellectual exercise only. –  uSlackr Mar 29 '12 at 21:45
    
This is an intellectual exercise only. –  monksy Jan 25 '13 at 23:09

1 Answer 1

up vote 6 down vote accepted

From this LinuxQuestions post:

Linux does not put arbitrary limits on the number of hard disks.

Also, from this post in the Debian mailing list:

That's easy. After /dev/sdz comes /dev/sdaa. And, I've just tested it by making and logging into 800 ISCSI targets on my laptop, after /dev/sdzz comes /dev/sdaaa. :)

and this blog post:

For SATA and SCSI drives under a modern Linux kernel, the same as above applies except that the code to derive names works properly beyond sdzzz up to (in theory) sd followed by 29 z‘s!

So, theoretically there are limits, but in practice they are unreachable.

share|improve this answer
1  
Surely there is a limit. –  monksy Mar 29 '12 at 23:04
    
There is, but in practice it's almost unreachable. –  Renan Mar 29 '12 at 23:29
    
Using hardware raid, the number of devices any kernel has access to may be greater than what can be seen. –  Clearer Nov 21 at 20:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.