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.
From this LinuxQuestions post:
Also, from this post in the Debian mailing list:
and this blog post:
So, theoretically there are limits, but in practice they are unreachable.
There is, in fact, a limit on the number of drives exposed by Linux's abstract SCSI subsystem, which includes SATA and USB drives. This is because device files are marked by major/minor device number pairs, and the scheme allocated for the SCSI subsystem has this implicit limit.
The following major opcodes are allocated: 8, 65 through 71, and 128 through 135, resulting in a total of 16 allocated blocks. The minor opcode is limited to 256 possible values (range 0..255). Each disk gets 16 consecutive minor opcodes where the first represents the entire disk and the next 15 represent partitions.
I've previously seen people write 128 as the limit. I believe Linux more recently 128..135, which would explain the discrepancy.
The naming scheme (