[opensuse] gpt partition-table - parted - more than 16 partitions ?
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions: # l /dev/cciss/c0d0* brw-rw---- 1 root disk 104, 0 Jun 19 18:23 /dev/cciss/c0d0 brw-rw---- 1 root disk 104, 1 Jun 19 17:56 /dev/cciss/c0d0p1 brw-rw---- 1 root disk 104, 10 Jun 19 17:56 /dev/cciss/c0d0p10 brw-rw---- 1 root disk 104, 11 Jun 19 17:56 /dev/cciss/c0d0p11 brw-rw---- 1 root disk 104, 12 Jun 19 17:56 /dev/cciss/c0d0p12 brw-rw---- 1 root disk 104, 13 Jun 19 17:56 /dev/cciss/c0d0p13 brw-rw---- 1 root disk 104, 14 Jun 19 17:56 /dev/cciss/c0d0p14 brw-rw---- 1 root disk 104, 15 Jun 19 17:56 /dev/cciss/c0d0p15 brw-rw---- 1 root disk 104, 2 Jun 19 17:56 /dev/cciss/c0d0p2 brw-rw---- 1 root disk 104, 3 Jun 19 17:56 /dev/cciss/c0d0p3 brw-rw---- 1 root disk 104, 4 Jun 19 17:56 /dev/cciss/c0d0p4 brw-rw---- 1 root disk 104, 5 Jun 19 17:56 /dev/cciss/c0d0p5 brw-rw---- 1 root disk 104, 6 Jun 19 17:56 /dev/cciss/c0d0p6 brw-rw---- 1 root disk 104, 7 Jun 19 17:56 /dev/cciss/c0d0p7 brw-rw---- 1 root disk 104, 8 Jun 19 17:56 /dev/cciss/c0d0p8 brw-rw---- 1 root disk 104, 9 Jun 19 17:56 /dev/cciss/c0d0p9 /Per -- Per Jessen, Zürich (32.9°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed 19 Jun 2013 06:25:44 PM CDT, Per Jessen wrote:
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions:
# l /dev/cciss/c0d0*
Hi Wouldn't that be a limitation of the cciss driver, maybe you need to configure the array? The man page for cciss only shows partitions 0-15.... -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 12.3 (x86_64) Kernel 3.7.10-1.11-desktop up 1:32, 3 users, load average: 0.04, 0.14, 0.13 CPU AMD Athlon(tm) II P360@2.30GHz | GPU Mobility Radeon HD 4200 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Malcolm wrote:
On Wed 19 Jun 2013 06:25:44 PM CDT, Per Jessen wrote:
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions:
# l /dev/cciss/c0d0*
Hi Wouldn't that be a limitation of the cciss driver, maybe you need to configure the array? The man page for cciss only shows partitions 0-15....
Hi Malcolm, yes, that is a possibility, although I didn't think the driver had any influence on partitioning and/or how many partitions. I'll check it out, thanks for suggesting it. -- Per Jessen, Zürich (29.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 6/19/2013 11:32 AM, Per Jessen wrote:
Malcolm wrote:
On Wed 19 Jun 2013 06:25:44 PM CDT, Per Jessen wrote:
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions:
# l /dev/cciss/c0d0*
Hi Wouldn't that be a limitation of the cciss driver, maybe you need to configure the array? The man page for cciss only shows partitions 0-15....
Hi Malcolm,
yes, that is a possibility, although I didn't think the driver had any influence on partitioning and/or how many partitions. I'll check it out, thanks for suggesting it.
Is this some new application of this drive from a different system, or were you previously able to mount this in Linux? I seem to remember a raging argument about 16 partitions when everything was switching over to SCSI, but it was years ago. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
John Andersen wrote:
On 6/19/2013 11:32 AM, Per Jessen wrote:
Malcolm wrote:
On Wed 19 Jun 2013 06:25:44 PM CDT, Per Jessen wrote:
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions:
# l /dev/cciss/c0d0*
Hi Wouldn't that be a limitation of the cciss driver, maybe you need to configure the array? The man page for cciss only shows partitions 0-15....
Hi Malcolm,
yes, that is a possibility, although I didn't think the driver had any influence on partitioning and/or how many partitions. I'll check it out, thanks for suggesting it.
Is this some new application of this drive from a different system, or were you previously able to mount this in Linux?
No, this is completely new, I was just going by GPT allowing up 128 primary partitions.
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). -- Per Jessen, Zürich (28.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Jun 19, 2013 at 2:44 PM, Per Jessen
John Andersen wrote:
On 6/19/2013 11:32 AM, Per Jessen wrote:
Malcolm wrote:
On Wed 19 Jun 2013 06:25:44 PM CDT, Per Jessen wrote:
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions:
# l /dev/cciss/c0d0*
Hi Wouldn't that be a limitation of the cciss driver, maybe you need to configure the array? The man page for cciss only shows partitions 0-15....
Hi Malcolm,
yes, that is a possibility, although I didn't think the driver had any influence on partitioning and/or how many partitions. I'll check it out, thanks for suggesting it.
Is this some new application of this drive from a different system, or were you previously able to mount this in Linux?
No, this is completely new, I was just going by GPT allowing up 128 primary partitions.
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. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----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-----
В Wed, 19 Jun 2013 18:25:44 +0200
Per Jessen
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions:
# l /dev/cciss/c0d0* brw-rw---- 1 root disk 104, 0 Jun 19 18:23 /dev/cciss/c0d0
This is limitation of cciss driver. I think the only way is to create loop device on top of whole disk and partition it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
I've got a setup with 64 partitions - how do I make it accessible from linux? I only seem to get the first 16 partitions:
# l /dev/cciss/c0d0* brw-rw---- 1 root disk 104, 0 Jun 19 18:23 /dev/cciss/c0d0 brw-rw---- 1 root disk 104, 1 Jun 19 17:56 /dev/cciss/c0d0p1 brw-rw---- 1 root disk 104, 10 Jun 19 17:56 /dev/cciss/c0d0p10 brw-rw---- 1 root disk 104, 11 Jun 19 17:56 /dev/cciss/c0d0p11
Problem solved, I'm using LVM instead. -- Per Jessen, Zürich (22.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Andrey Borzenkov
-
Carlos E. R.
-
Greg Freemyer
-
John Andersen
-
Malcolm
-
Per Jessen