From: Turbo Fredriksson <turbo@bayour.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LAZY MODE: Exchanging a LVM'ed disk
Date: Tue Nov 20 09:39:01 2001 [thread overview]
Message-ID: <87r8qt78v4.fsf@papadoc.bayour.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0111201025540.2520-100000@dragon.inside.ntisys.com>
Quoting Benjamin Scott <bscott@ntisys.com>:
> On 20 Nov 2001, Turbo Fredriksson wrote:
> > I currently have a disk in my LVM set which is only 1Gb. It's also quite
> > old, so I'd like to replace that with a newer/bigger one..
>
> 1. Backup the existing filesystem(s)
> 2. Verify the backup
> 3. Create a PV on the new disk (pvcreate)
> 4. Add the new PV to the existing VG (vgextend)
> 5. Move the data from the old PV to the new PV (pvmove)
> 6. Remove the old PV from the VG (vgreduce)
> 7. Extend the LV to use the entire new PV (lvextend)
> 8. Resize the filesystem to use the entire LV
Quoting Benjamin Scott <bscott@ntisys.com>:
> On 20 Nov 2001, Turbo Fredriksson wrote:
> > Do I _have_ to copy all the info to a empty disk, then create the lv
> > (pvcreate et al)?
>
> No, you could just blow away your existing non-LVM partition and lose all
> your data. ;-) But if you would like to *keep* your data, the answer is
> "Yes, you have to copy it all to another filesystem".
Dang! I was hopping I could get away easy here! :)
Thanx for the answer, I appreciate it, even though I don't "like it" if you know
what I mean :)
--
Turbo __ _ Debian GNU Unix _IS_ user friendly - it's just
^^^^^ / /(_)_ __ _ ___ __ selective about who its friends are
/ / | | '_ \| | | \ \/ / Debian Certified Linux Developer
_ /// / /__| | | | | |_| |> < Turbo Fredriksson turbo@bayour.com
\\\/ \____/_|_| |_|\__,_/_/\_\ Gothenburg/Sweden
plutonium NSA arrangements SEAL Team 6 toluene tritium
counter-intelligence pits 747 CIA Mossad Honduras munitions Saddam
Hussein colonel
[See http://www.aclu.org/echelonwatch/index.html for more about this]
prev parent reply other threads:[~2001-11-20 9:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-20 5:24 [linux-lvm] LAZY MODE: Exchanging a LVM'ed disk Turbo Fredriksson
2001-11-20 9:30 ` Benjamin Scott
2001-11-20 9:39 ` Turbo Fredriksson [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=87r8qt78v4.fsf@papadoc.bayour.com \
--to=turbo@bayour.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 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.