-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-ID:
On Wed, Jun 19, 2013 at 2:44 PM, Per Jessen <> wrote:
John Andersen wrote:
On 6/19/2013 11:32 AM, Per Jessen wrote:
Malcolm wrote:
I seem to remember a raging argument about 16 partitions when everything was switching over to SCSI, but it was years ago.
You're right, there used to be a SCSI limitation of 16 partitions, but I that was back in 2.4 kernels. I'm going to see if the hpsa driver will allow me to allocate more than 16 partitions. (cciss is pretty old).
The fix went into 2.6.26 I think. SUSE employee (at the time) Tejun Heo did the work.
http://lwn.net/Articles/288953/
I don't know if that only works for libata, or for all SCSI drives. A separate question is if it works for cciss, but I doubt it.
Yes, SATA drives using the scsi nomenclature do not have a limit on the number of partitions, after his work. Previously there was a 16 limit. PATA drives using the hda, hdb, etc, names, had a limit of 64 partitions. The limit is of the naming, not of the hardware (and not really of the driver). Thus, according to "/usr/src/linux/Documentation/devices.txt", the major number "104 block" has this definition: 104 block Compaq Next Generation Drive Array, first controller 0 = /dev/cciss/c0d0 First logical drive, whole disk 16 = /dev/cciss/c0d1 Second logical drive, whole disk ... 240 = /dev/cciss/c0d15 16th logical drive, whole disk Partitions are handled the same way as for Mylex DAC960 (see major number 48) except that the limit on partitions is 15. Thus there is a 15 limit on partitions (0 to 15). If the patch applied to SATA was not generalized, you are stuck. Why we are still using byte sized numbers there is something I can not understand. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) El 2013-06-19 a las 15:13 -0400, Greg Freemyer escribió: -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlHCV7wACgkQtTMYHG2NR9XepgCglo20DmzMY7ZhWLqDK+bfJK14 80gAn2QCa0rkKY5MIbO27TJ0ifGm+FNj =ZVgu -----END PGP SIGNATURE-----