Re: [CentOS] LVM: how do I change the UUID of a LV?

2008-03-04 Thread nate
Timothy Selivanow wrote:
> I know how to change the UUID of Physical Volumes and Volume Groups, but
> when I try to do the same for a Logical Volume, lvchange complains that
> "--uuid" is not an option.  Here is how I've been changing the others
> (note that "--uuid" does not appear in the man pages for pvchange and
> vgchange for lvm2-2.02.26-3.el5):

check this out, I went down this path briefly but aborted and
came up with a better solution for my needs,

http://linuxplanet.com/linuxplanet/tutorials/6389/3/

nate

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] LVM: how do I change the UUID of a LV?

2008-03-04 Thread Timothy Selivanow
I know how to change the UUID of Physical Volumes and Volume Groups, but
when I try to do the same for a Logical Volume, lvchange complains that
"--uuid" is not an option.  Here is how I've been changing the others
(note that "--uuid" does not appear in the man pages for pvchange and
vgchange for lvm2-2.02.26-3.el5):

pvchange --uuid {pv dev}
vgchange --uuid {vg name}


Any suggestions? I'm pretty much open to any arcane/convoluted
procedure, but I refrain from copying the data to a temp place so I can
re-create the LV as that would add too much work and would kinda defeat
what I'm doing.  Thanks!


--Tim
 _ 
/ Obviously I was either onto something, or on something. \
\  -- Larry Wall on the creation of Perl  /
 - 
  \
   \   \
\ /\
( )
  .( o ).

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos