On 6/30/05, Sambit Nanda <sambitnanda@yahoo.com> wrote: > Is there any command exactly oppose to pvcreate ? > > when i ran thoi command > pvcreate /dev/cciss/c0d1p[5-13] > > i got this error : pvcreate -- can't open physical > volume "/dev/cciss/c0d1p3" to get its size > > though i have not mentioed the device c0d1p3 > Your regular expression is broken, or atleast not functioning the way you seem to be expecting it to. [5-13] is seen as 5 through 1 and 3. Since "5-1" isn't a vaild range it's ignored and only the "3" is matched, and thus you get the c0d1p3 You'll probably have to use pvcreate like this: pvcreate /dev/cciss/c0d1p[5-9] /dev/cciss/c0d1p1[0-3] That will pvcreate the following devices: /dev/cciss/c0d1p5 /dev/cciss/c0d1p6 /dev/cciss/c0d1p7 /dev/cciss/c0d1p8 /dev/cciss/c0d1p9 /dev/cciss/c0d1p10 /dev/cciss/c0d1p11 /dev/cciss/c0d1p12 /dev/cciss/c0d1p13 _______________________________________________ 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/