Gentoo Archives: gentoo-user

From: Momesso Andrea <momesso.andrea@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Resizing physical volume for lvm.
Date: Mon, 23 Mar 2009 09:10:54
Message-Id: 20090323100759.6b6a7710@revolver
In Reply to: Re: [gentoo-user] Resizing physical volume for lvm. by Neil Bothwick
1 On Mon, 23 Mar 2009 08:57:19 +0000
2 Neil Bothwick <neil@××××××××××.uk> wrote:
3
4 > On Mon, 23 Mar 2009 08:57:08 +0100, Momesso Andrea wrote:
5 >
6 > > It looks more like a workaround than a solution. If my non native
7 > > English understood it well, it suggests to backup everything,
8 > > recreate the pv for the whole size, and then restore from backup.
9 >
10 > Since you currently have plenty of free space, you don't have to take
11 > the system out of service to do a backup. Create a new PV in sda4 and
12 > run pvmove, then remove and recreate the PV on sda3 and pvmove the
13 > data back. Then you can delete sda4 and enlarge sda3.
14 >
15 >
16
17 Since, as Alan suggested, I enlarged sda3 with fdisk, how can I have
18 back my old sda4 without risking to lose the data?
19
20 ---
21 TopperH
22 http://topperh.blogspot.com

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Resizing physical volume for lvm. Neil Bothwick <neil@××××××××××.uk>