* [linux-lvm] pvextend
@ 2005-07-08 16:45 Bastian Blank
2005-07-08 17:38 ` Alasdair G Kergon
0 siblings, 1 reply; 6+ messages in thread
From: Bastian Blank @ 2005-07-08 16:45 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
Hi folks
I found some mails about a pvextend but noone implemented it. If I see
it correctly, I just need to change the value of pe_count and commit the
metadata, correct?
If yes, a poor mans pvextend is vi and pvcreate with the changed
metadata backup.
Bastian
--
Respect is a rational process
-- McCoy, "The Galileo Seven", stardate 2822.3
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] pvextend
2005-07-08 16:45 [linux-lvm] pvextend Bastian Blank
@ 2005-07-08 17:38 ` Alasdair G Kergon
2005-07-08 20:42 ` Bastian Blank
0 siblings, 1 reply; 6+ messages in thread
From: Alasdair G Kergon @ 2005-07-08 17:38 UTC (permalink / raw)
To: linux-lvm
On Fri, Jul 08, 2005 at 06:45:36PM +0200, Bastian Blank wrote:
> I found some mails about a pvextend but noone implemented it. If I see
pvresize
> it correctly, I just need to change the value of pe_count and commit the
> metadata, correct?
No:-)
> If yes, a poor mans pvextend is vi and pvcreate with the changed
> metadata backup.
Yes.
vgcfgbackup
edit file
pvcreate --restorefile --uuid
vgcfgrestore
A pvresize command needs to implement that same sequence of commands internally.
(similar to the way vgconvert works)
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] pvextend
2005-07-08 17:38 ` Alasdair G Kergon
@ 2005-07-08 20:42 ` Bastian Blank
2005-07-08 20:46 ` Alasdair G Kergon
0 siblings, 1 reply; 6+ messages in thread
From: Bastian Blank @ 2005-07-08 20:42 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
On Fri, Jul 08, 2005 at 06:38:53PM +0100, Alasdair G Kergon wrote:
> On Fri, Jul 08, 2005 at 06:45:36PM +0200, Bastian Blank wrote:
> > it correctly, I just need to change the value of pe_count and commit the
> > metadata, correct?
> No:-)
Hmm?
> A pvresize command needs to implement that same sequence of commands internally.
> (similar to the way vgconvert works)
Hmm, it is not possible to change the number of PEs directly?
Bastian
--
There is an order of things in this universe.
-- Apollo, "Who Mourns for Adonais?" stardate 3468.1
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] pvextend
2005-07-08 20:42 ` Bastian Blank
@ 2005-07-08 20:46 ` Alasdair G Kergon
2005-07-09 9:35 ` Bastian Blank
0 siblings, 1 reply; 6+ messages in thread
From: Alasdair G Kergon @ 2005-07-08 20:46 UTC (permalink / raw)
To: linux-lvm
On Fri, Jul 08, 2005 at 10:42:15PM +0200, Bastian Blank wrote:
> Hmm, it is not possible to change the number of PEs directly?
Not without some tricky internal library changes.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] pvextend
2005-07-08 20:46 ` Alasdair G Kergon
@ 2005-07-09 9:35 ` Bastian Blank
2005-07-10 15:37 ` Alasdair G Kergon
0 siblings, 1 reply; 6+ messages in thread
From: Bastian Blank @ 2005-07-09 9:35 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
On Fri, Jul 08, 2005 at 09:46:17PM +0100, Alasdair G Kergon wrote:
> On Fri, Jul 08, 2005 at 10:42:15PM +0200, Bastian Blank wrote:
> > Hmm, it is not possible to change the number of PEs directly?
> Not without some tricky internal library changes.
Hmm, why is this tricky?
Bastian
--
There's coffee in that nebula!
-- Capt. Kathryn Janeway, Star Trek: Voyager, "The Cloud"
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] pvextend
2005-07-09 9:35 ` Bastian Blank
@ 2005-07-10 15:37 ` Alasdair G Kergon
0 siblings, 0 replies; 6+ messages in thread
From: Alasdair G Kergon @ 2005-07-10 15:37 UTC (permalink / raw)
To: linux-lvm
On Sat, Jul 09, 2005 at 11:35:19AM +0200, Bastian Blank wrote:
> Hmm, why is this tricky?
The device size is stored in two places, the format2 label
as well as the VG metadata, and there's no interface for
updating the first (atomically/recoverably remember) once
the PV is part of a VG.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-10 15:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-08 16:45 [linux-lvm] pvextend Bastian Blank
2005-07-08 17:38 ` Alasdair G Kergon
2005-07-08 20:42 ` Bastian Blank
2005-07-08 20:46 ` Alasdair G Kergon
2005-07-09 9:35 ` Bastian Blank
2005-07-10 15:37 ` Alasdair G Kergon
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).