From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1DAEJ4t012252 for ; Wed, 13 Feb 2008 05:14:19 -0500 Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.248]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id m1DADgVZ001424 for ; Wed, 13 Feb 2008 05:13:42 -0500 Received: by ag-out-0708.google.com with SMTP id 31so13943343agc.3 for ; Wed, 13 Feb 2008 02:13:42 -0800 (PST) Message-ID: Date: Wed, 13 Feb 2008 15:43:41 +0530 From: "=?UTF-8?Q?Yajith_Ajantha_Dayarath?= =?UTF-8?Q?na_|_=E0=B6=BA=E0=B6=A2=E0=B7=92=E0=B6=AD=E0=B7=8A_=E0=B6=85?= =?UTF-8?Q?=E0=B6=A2=E0=B6=B1=E0=B7=8A=E0=B6=AD_=E0=B6=AF?= =?UTF-8?Q?=E0=B6=BA=E0=B7=8F=E0=B6=BB=E0=B6=AD=E0=B7=8A=E0=B6=B1?=" Subject: Re: [linux-lvm] pvcreate problem In-Reply-To: <47B2BF41.8070701@redhat.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21617_29355308.1202897621247" References: <47B2AC45.6030901@redhat.com> <47B2BF41.8070701@redhat.com> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development ------=_Part_21617_29355308.1202897621247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 13, 2008 3:28 PM, Bryn M. Reeves 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 ------=_Part_21617_29355308.1202897621247 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_21617_29355308.1202897621247--