Move an array/volgroup to another machine.
We built a replacement server (x86_64) for an older server (x86). Now we want to move a RAID-5 array intact from the older machine over to the new machine. We know the UUID of the array and of all the PV and VG on the array. So what commands should we perform after plugging in all the array drives to the new server to bring up the array and lvm on the new machine?
Regards,
Gerry
Quoted 1 line · Gerry Reno
We built a replacement server (
x86_64) for an older server (x86). Now we want to move a RAID-5 array intact from the older machine over to the new machine. We know the UUID of the array and of all the PV and VG on the array. So what commands should we perform after plugging in all the array drives to the new server to bring up the array and lvm on the new machine?
"vgscan" and "vgchange -a VGNAME" I believe.
Make sure your VG name doesn't conflict with any already in the machine.
Quoted 9 lines
Regards,
Gerry_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 4 lines · Eric Brunson
Quoted 1 line · Gerry Reno
We built a replacement server (
x86_64) for an older server (x86). Now we want to move a RAID-5 array intact from the older machine over to the new machine. We know the UUID of the array and of all the PV and VG on the array. So what commands should we perform after plugging in all the array drives to the new server to bring up the array and lvm on the new machine?"vgscan" and "vgchange -a VGNAME" I believe.
Sorry, doing three things at once: vgchange -a y VGNAME
Quoted 18 lines
Make sure your VG name doesn't conflict with any already in the machine.
Quoted 9 lines
Regards,
Gerry_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 13 lines · Eric Brunson
Quoted 4 lines · Eric Brunson
Quoted 1 line · Gerry Reno
We built a replacement server (
x86_64) for an older server (x86). Now we want to move a RAID-5 array intact from the older machine over to the new machine. We know the UUID of the array and of all the PV and VG on the array. So what commands should we perform after plugging in all the array drives to the new server to bring up the array and lvm on the new machine?"vgscan" and "vgchange -a VGNAME" I believe.
Sorry, doing three things at once: vgchange -a y VGNAME
Quoted 3 lines
Make sure your VG name doesn't conflict with any already in the machine.
Will vgchange activate the raid array?
The new server just has a couple raid-1 arrays on it right now. But we need the raid-5 to be activated because there is a volgroup that uses the raid-5 device as it's PV.
Regards,
Gerry
Quoted 8 lines · Gerry Reno
Quoted 7 lines · Eric Brunson
Quoted 4 lines · Eric Brunson
Quoted 1 line · Gerry Reno
We built a replacement server (
x86_64) for an older server (x86). Now we want to move a RAID-5 array intact from the older machine over to the new machine. We know the UUID of the array and of all the PV and VG on the array. So what commands should we perform after plugging in all the array drives to the new server to bring up the array and lvm on the new machine?"vgscan" and "vgchange -a VGNAME" I believe.
Quoted 7 lines
Quoted 6 lines
Sorry, doing three things at once: vgchange -a y VGNAME
Quoted 3 lines
Make sure your VG name doesn't conflict with any already in the machine.
Will vgchange activate the raid array?
Is it an md (software) RAID or a hardware RAID device?
If the former, then I'm not sure. I'll have to defer to someone with more md experience. If the latter, then it depends of if you have the correct drivers and hardware detection.
Quoted 11 lines
The new server just has a couple raid-1 arrays on it right now. But we need the raid-5 to be activated because there is a volgroup that uses the raid-5 device as it's PV.
Regards,
Gerry_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 15 lines · Eric Brunson
Quoted 14 lines · Gerry Reno
Quoted 13 lines · Eric Brunson
Quoted 4 lines · Eric Brunson
Quoted 1 line · Gerry Reno
We built a replacement server (
x86_64) for an older server (x86). Now we want to move a RAID-5 array intact from the older machine over to the new machine. We know the UUID of the array and of all the PV and VG on the array. So what commands should we perform after plugging in all the array drives to the new server to bring up the array and lvm on the new machine?"vgscan" and "vgchange -a VGNAME" I believe.
Sorry, doing three things at once: vgchange -a y VGNAME
Quoted 3 lines
Make sure your VG name doesn't conflict with any already in the machine.
Quoted 12 lines
Quoted 1 line
Will vgchange activate the raid array?
Is it an md (software) RAID or a hardware RAID device?
If the former, then I'm not sure. I'll have to defer to someone with more md experience. If the latter, then it depends of if you have the correct drivers and hardware detection.
Quoted 3 lines
The new server just has a couple raid-1 arrays on it right now. But we need the raid-5 to be activated because there is a volgroup that uses the raid-5 device as it's PV.
It's an 'md' software raid device. I think we can probably just try to assemble the array using the UUID. Maybe something like:
mdadm -vv -A /dev/md4 --uuid=UUID
Regards,
Gerry
Quoted 3 lines · Gerry Reno
It's an 'md' software raid device. I think we can probably just try to assemble the array using the UUID. Maybe something like:
mdadm -vv -A/dev/md4--uuid=UUID
the above depende on the device line in your mdadm.conf,
if it is something like 'DEVICE partitions' or 'DEVICE /dev/*' it should work.
you still would like to have it in mdadm.conf for automatic activation at boot.
i would run
mdadm -Esc partitions | grep UUID
maybe check the line you added to see if the minor is what you want and add it to /etc/mdadm.conf
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \