All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Gillen <me@mattgillen.net>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Removing a very old physical drive
Date: Mon, 26 Oct 2009 09:09:46 -0400	[thread overview]
Message-ID: <4AE59F9A.6020900@mattgillen.net> (raw)
In-Reply-To: <1256547598.22335.32.camel@elm.bottlehall.co.uk>

On 10/26/2009 04:59 AM, Nicholas Robinson wrote:
> Hi
> 
> I've been using lvm for quite a few years, but only occasionally when I
> need to add/remove new drives. So, my knowledge is limited and a bit
> rusty! I should have removed the old drive when I added a new one a
> couple of years ago, but for reasons I cannot remember, I didn't.
> ...

> 1. Can I do move the data off the old drive to the new drive without
> adding another new drive?

Is there any reason you can't use 'cp -a'?  If that isn't an option for some
reason, then you're out of luck, if I understood correctly: if the new disk is
completely allocated to another VG and you can't free up some partition (PV)
to add to the 'old' VG, there's not much you can do, AFAIK (since any given
partition/PV can only belong to one VG).

> 3. Where has the LogVol01 come from and what is it doing? Can I remove
> it?

Given your potentially flaky memory, it might be wise to try mounting it
somewhere first to see what's on it... ;-)

> 4. Can I rename the volgroup/logvols to the same pattern used by new
> installations? e.g. vg_hostname and lv_root, etc.

The GUI tool in fedora (system-config-lvm) appears to allow you to change the
names of VGs, presumably it's also possible from the command line.  Just be
sure that your /etc/fstab is consistent with whatever changes you make.

HTH,
Matt

  reply	other threads:[~2009-10-26 13:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26  8:59 [linux-lvm] Removing a very old physical drive Nicholas Robinson
2009-10-26 13:09 ` Matthew Gillen [this message]
2009-10-26 16:10 ` malahal
2009-10-26 19:29   ` Nicholas Robinson
2009-10-26 19:54     ` malahal
2009-10-26 20:33   ` Nicholas Robinson
2009-10-26 21:17     ` malahal
2009-10-26 18:32 ` Ray Morris
     [not found] <7vgn6o$494l6v@smtpout.karoo.kcom.com>
2009-10-27  0:20 ` malahal

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=4AE59F9A.6020900@mattgillen.net \
    --to=me@mattgillen.net \
    --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.