From: Holger Rauch <holger.rauch@heitec.de>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Question on duplicating equally-sized HDs with dd and changing VG name and PV UUIDs
Date: Wed, 19 Sep 2007 18:04:04 +0200 [thread overview]
Message-ID: <20070919160404.GA1008@heitec.net> (raw)
In-Reply-To: <20070917211944.GT18444@agk.fab.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 979 bytes --]
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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2007-09-19 16:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 12:13 [linux-lvm] Question on duplicating equally-sized HDs with dd and changing VG name and PV UUIDs Holger Rauch
2007-09-07 17:53 ` Lars Ellenberg
2007-09-10 8:59 ` Holger Rauch
2007-09-10 17:17 ` malahal
2007-09-11 10:00 ` Holger Rauch
2007-09-11 10:12 ` Holger Rauch
2007-09-12 0:21 ` LVM UUID generation (was Re: [linux-lvm] Question on duplicating equally-sized HDs with dd and changing VG name and PV UUIDs) Daniel Tuijnman
2007-09-17 21:19 ` [linux-lvm] Question on duplicating equally-sized HDs with dd and changing VG name and PV UUIDs Alasdair G Kergon
2007-09-19 16:04 ` Holger Rauch [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=20070919160404.GA1008@heitec.net \
--to=holger.rauch@heitec.de \
--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 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).