Linux LVM users
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] replace bad hard disc
Date: Tue, 16 Oct 2001 14:34:25 +0200	[thread overview]
Message-ID: <20011016143425.A5299@sistina.com> (raw)
In-Reply-To: <20011016121634.A2856@sky.net>; from U.Wiederhold@gmx.net on Tue, Oct 16, 2001 at 12:16:34PM +0200

On Tue, Oct 16, 2001 at 12:16:34PM +0200, Ulrich Wiederhold wrote:
> * Heinz J . Mauelshagen <mauelshagen@sistina.com> [011016 10:55]:
> > 
> > Stefan,
> > 
> > add a new hard drive to your system and create (at least) an LVM partition
> > (Type 0x8E) on it. Let's call the new one /dev/sde1 and your flaky one
> > /dev/sdd1 just for the purpose of this example.
> > 
> > Then:
> > 
> > pvcreate /dev/sde1
> > vgextend Stonki2 /dev/sde1
> > pvmove /dev/sdd1 /dev/sde1
> > vgreduce Stonki2 /dev/sdd1
> > 
> 
> Hello,
> will pvmove work if /dev/sde1 is already added to Stonki2 if there is
> enough space available on /dev/sde1 ?
> 
> Reason: I have a vg containing 5 HDs that includes a small 4GB one. I
> would like to remove this one without adding another HD. Enough space is
> available.

Uli,

yes pvmove will work. Say your 4G PV is accessed via /dev/sdc1 then
you just run "pvmove /dev/sdc1" and it'll search for free space on the other
PVs to relocate data to. If your LV(s) with data allocated on /dev/sdc1 are
striped, you need to have enough space for the particular stripes on /dev/sdc1
on another PV in the VG, which doesn't have other stripes of the very same LV(s)
allocated.

> 
> Regards
> Uli
> 
> -- 
> 'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2001-10-16 12:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 14:30 [linux-lvm] replace bad hard disc Stefan Onken
2001-10-16  8:55 ` Heinz J . Mauelshagen
2001-10-16 10:16   ` Ulrich Wiederhold
2001-10-16 12:34     ` Heinz J . Mauelshagen [this message]
2001-10-18  9:39   ` Stefan Onken
2001-10-18  9:53     ` Markus Dobel
2001-10-18 20:23       ` Ulrich Wiederhold
2001-10-19  4:59         ` Heinz J . Mauelshagen

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=20011016143425.A5299@sistina.com \
    --to=mauelshagen@sistina.com \
    --cc=linux-lvm@sistina.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