[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] pvcreate problem



On Feb 13, 2008 3:28 PM, Bryn M. Reeves <breeves redhat com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHsr9B6YSQoMYUY94RAmWfAJ4uXdCCtqX8nKiER8yXqNoHFHaVkQCeOOdM
R3aCmQuHBVUxP/9bbGvrrqg=
=EUlc
-----END PGP SIGNATURE-----

_______________________________________________
linux-lvm mailing list
linux-lvm redhat com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


i will try the mapper device.
yes, the partitioning scheme is quite inflexible.

Does LVM use the same technique to get around this limitation ? I have seen devices getting created under /dev/mapper.
Always thought its a part of LVM.

thanks a lot for all your support...
--
Yajith Ajantha
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]