[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Question on duplicating equally-sized HDs with dd and changing VG name and PV UUIDs



Hi Alasdair (and all the other list members),

first of all, thanks for having mentioned pvchange -u but the man page of
pvchange really gives no clue on how to actually use the -u switch. The
output of pvchange --help suggests that the -u switch takes no additional
parameter. So, if I understand you right, pvchange -u should both *generate
and assign* a new UUID to the specified PV and thus do what I need?

TIA for clarification on this issue.

Greetings,

	Holger

On Mon, 17 Sep 2007, Alasdair G Kergon wrote:

> On Tue, Sep 11, 2007 at 12:12:50PM +0200, Holger Rauch wrote:
> > Replying to myself this time :-) Just found out about uuidgen. Would that be
> > OK? I'm thinking about invoking pvcreate like this:
> > pvcreate --uuid $(uuidgen) /dev/sdb
> 
> There's something strange going on here.
> The tools should be quite capable of generating a new uuid for you.
> Perhaps it's a documentation problem.
> 
> Try pvchange -u.
> 
> Alasdair

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]