linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "hail narcissus" <gene_yee@hotmail.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Removal of PV
Date: Mon, 16 Apr 2001 14:50:07 -0700	[thread overview]
Message-ID: <F29e4wk2UfxhUIBSIeS000025b8@hotmail.com> (raw)

I know this has been asked before and I browsed the archives for the info.  
But I want to be sure since I am dealing with 500+GB of data.

Here is my configuration:
hda-h (80Gig IDE's)
sda-n (9Gig SCSI's)
652.81 GB VG
505GB Used 140GB Free

I want to remove the SCSI drives since I am having some SCSI bus problems 
and they are just old and I am not feeling comfortable with it's 
reliability.

I believe this would be the proper steps:

resize2fs /dev/lv/vg 520G  <-- Is 520G correct, particularly the G.
pvmove /dev/sda /dev/hdh   <-- Assuming /dev/hdh has free space
pvmove /dev/sdb /dev/hdh
pvmove /dev/sdc /dev/hdh
...
lvreduce -L 520G /dev/lv/vg
vgreduce vg /dev/sda
vgreduce vg /dev/sdb
vgreduce vg /dev/sdc

I saw in the mailing list where someone suggested:

ext2resize/resize2fs
lvreduce
pvmove
vgreduce

But I would think you would want to do pvmove before the lvreduce.  
Otherwise you might truncate data?

Thanks for any help!!
_________________________________________________________________
Get your FREE download of MSN Explorer@http://explorer.msn.com

             reply	other threads:[~2001-04-16 21:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-16 21:50 hail narcissus [this message]
2001-04-20 10:29 ` [linux-lvm] Removal of PV Patrick Caulfield
2001-04-30 12:59   ` Rupert Heesom
2001-04-30 19:17     ` Ben Lutgens
  -- strict thread matches above, loose matches on Subject: below --
2001-04-20 17:22 hail narcissus

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=F29e4wk2UfxhUIBSIeS000025b8@hotmail.com \
    --to=gene_yee@hotmail.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;
as well as URLs for NNTP newsgroup(s).