[linux-lvm] pvcreate problem
Bryn M. Reeves
breeves at redhat.com
Wed Feb 13 09:58:25 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Yajith Ajantha Dayarathna | ????? ????? ??????? wrote:
> even though the fdisk output contains "/dev/cciss/c0d0p16" there is no
> such device created under /dev/cciss/.
> Is it because of the above mentioned limitation ?
That's correct - under Linux, IDE hard disks (/dev/hd*) can have up to
63 partitions but SCSI and RAID controllers like the CCISS are limited
to 15 partitions (16 if you count the whole-device) due to the way minor
numbers are allocated to /dev/sd* nodes.
You could cheat and map the additional partitions using kpartx - run
"kpartx -a /dev/cciss/c0d0" and this should create a device-mapper
device for each partition under /dev/mapper/c0d0p*. You can remove them
again with "kpartx -d /dev/cciss/c0d0".
That said, it might be better to reconsider your partitioning scheme and
see if you really need that number of partition table entries.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the linux-lvm