Unsolved
This post is more than 5 years old
8 Posts
0
9467
September 9th, 2008 11:00
MD3000 snapshot LVM PV to same server
Hi,
if I create a snapshot from a source that is mounted as a Logical Volume in RHAS 5 and present the snapshot to the same server that the source is on then I have 2 PV's with the same UUID.
I can't pvchange the UUID cos that will change the source PV UUID.
How do we get round this issue please ?
No Events found!


NickLunt
8 Posts
0
September 9th, 2008 12:00
Hi
yes I mapped it to another server, pvchanged the uuid then mapped it back to the original server.
It seems like quite a hassle though.
I take it snapshot/disk copy is not designed to be used with LVM ?
We have an 800GB Oracle DB that we want to create a copy of every night, then the users can access that copy the following day. If we have to present it to another server first to change the uuid then I guess were going to have to look at doing this a different way.
Thanks for your help.
Dev Mgr
6 Operator
•
9.3K Posts
•
3 Points
0
September 9th, 2008 12:00
Dev Mgr
6 Operator
•
9.3K Posts
•
3 Points
0
September 9th, 2008 13:00
On a Windows server, it usually works ok as the 2nd 'disk' with the same disk signature gets it's signature rewritten. Without LVM Linux can rewrite the signature as well I believe. Mounting a snap back to a Windows cluster that owns the original disk can be very dangerous; if you give the snap to the passive node (the node that doesn't own the original resource/disk) the snap gets the drive letter of the original disk, but if then the cluster fails over to this node the 'real' disk can get it's signature rewritten as the snap already has the signature and drive letter causing your cluster to start using the 'stale' data in the snapshot instead of the real data, and you end up with downtime to fix the disk signature on the original disk.
NickLunt
8 Posts
0
September 9th, 2008 13:00
Thanks for the info. I take it the same applies to disk copy ?
I reckon we could get round this by not using LVM but that will present it's own problems further down the line.
Oh well, what would life be like without these little niggles ;)
Dev Mgr
6 Operator
•
9.3K Posts
•
3 Points
0
September 9th, 2008 14:00
One other thing about diskcopy on the MD3000(i) is that while it's performing the diskcopy, the source disk is set to read-only mode, which can be very intrusive.
One way around this I believe is to snap the original virtual disk and then diskcopy the snap.