All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt P <slarty.tj@gmail.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] how to remove the inactive physical volume ??
Date: Thu, 30 Jun 2005 15:02:06 -0500	[thread overview]
Message-ID: <859a78260506301302661e0777@mail.gmail.com> (raw)
In-Reply-To: <20050630181858.80962.qmail@web53002.mail.yahoo.com>

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

      parent reply	other threads:[~2005-06-30 20:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30 18:18 [linux-lvm] how to remove the inactive physical volume ?? Sambit Nanda
2005-06-30 18:48 ` Alan Jurgensen
2005-06-30 20:02 ` Matt P [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=859a78260506301302661e0777@mail.gmail.com \
    --to=slarty.tj@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.