linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Harik A'ttar" <harik@chaos.ao.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Ow.Mun.Heng@wdc.com
Subject: Re: [linux-lvm] Removing a Bad disk from LVM w/o a new disk
Date: Mon, 22 May 2006 11:18:53 -0400	[thread overview]
Message-ID: <4471D65D.3090908@chaos.ao.net> (raw)
In-Reply-To: <1148307855.28182.4.camel@neuromancer.home.net>

Ow Mun Heng wrote:
> Current situation is that I have a bad disk /dev/sdb1 in an existing lvm
> partition. (sda1/sda4/sdb1)
> 
> I would like to remove it from the VG. (There are no free PE anywhere.
> I've maxed it out.)
> 
> I've already reduced the existing VG to the size of sda1+sda4
> partition. 

> $vgreduce storage /dev/sdb1
> Physical volume "/dev/sdb1" still in use

You mean you reduced the existing LVs?

Try this:

pvmove -v /dev/sdb1

That will move all the data off sdb1 to the other drives.  You need 
dm-mirror either compiled in your kernel or as a module to use it.

Read the manpage for more information.

      reply	other threads:[~2006-05-22 15:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-22 14:24 [linux-lvm] Removing a Bad disk from LVM w/o a new disk Ow Mun Heng
2006-05-22 15:18 ` Harik A'ttar [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=4471D65D.3090908@chaos.ao.net \
    --to=harik@chaos.ao.net \
    --cc=Ow.Mun.Heng@wdc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).