Can uuid of raid array be changed?
Need to duplicate some computers that are using raid 1.
I was thinking of just adding adding an extra drive and then moving it to the new system. The only problem is the clones will all have the same uuids. If at some later date the drives got mixed up I could see a possibilities for disaster. Not exactly likely as the computers will be in different cities.
Is there a way to change the uuid if a raid array? Is it really worth worrying about?
John
Quoted 7 lines · John McMonagle
Need to duplicate some computers that are using raid 1.
I was thinking of just adding adding an extra drive and then moving it to the new system. The only problem is the clones will all have the same uuids. If at some later date the drives got mixed up I could see a possibilities for disaster. Not exactly likely as the computers will be in different cities.
Is there a way to change the uuid if a raid array? Is it really worth worrying about?
you can recreate the array, this will not damage existing data.
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 4 lines · Luca Berra
Quoted 2 lines · John McMonagle
Need to duplicate some computers that are using raid 1.
Quoted 9 lines
Quoted 5 lines
I was thinking of just adding adding an extra drive and then moving it to the new system. The only problem is the clones will all have the same uuids. If at some later date the drives got mixed up I could see a possibilities for disaster. Not exactly likely as the computers will be in different cities.
Is there a way to change the uuid if a raid array? Is it really worth worrying about?
you can recreate the array, this will not damage existing data.
L.
Thanks
I'll try it.
I suspect I'll find out real quick but do you need to a --zero-superblock on all devices making the raid arrays?
Will this damage the lvm2 superblock info? Probably a good idea to do a vgcfgback just to be safe..
John
Quoted 13 lines · John McMonagle
Quoted 11 lines · Luca Berra
Quoted 7 lines · John McMonagle
Need to duplicate some computers that are using raid 1.
I was thinking of just adding adding an extra drive and then moving it to the new system. The only problem is the clones will all have the same uuids. If at some later date the drives got mixed up I could see a possibilities for disaster. Not exactly likely as the computers will be in different cities.
Is there a way to change the uuid if a raid array? Is it really worth worrying about?
you can recreate the array, this will not damage existing data.
Quoted 7 lines
Quoted 2 lines
L.
Thanks
I'll try it.
I suspect I'll find out real quick but do you need to a --zero-superblock on all devices making the raid arrays?
NO
Quoted 2 lines
Will this damage the lvm2 superblock info? Probably a good idea to do a vgcfgback just to be safe..
NO
the idea is after you cloned the drive, create a new array with the force flag and using as components the cloned disk and the magic word "missing", this will create a new degraded array and won't touch any data.
you can then hotadd a new drive to this array, it will fill the slot used by the "missing" keyword.
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \