LVM - Physical 2 Virtual Recovery of LVM Volume Group

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
We have backed up a bare metal server using software RAID and rebuilt it on a VM. Original server is running Oracle Linux 6 (RHEL 6) with Dell Fusion IO software RAID.
BM Server w/ Fusion IO Drives:
/dev/fioa--____ /dev/md127 (Software RAID 1)
/dev/fiob--/
VM replica:
/dev/sde--_____ /dev/md127 (Metadisk RAID 1)
/dev/sdf--/
LVM Structure on Source:
/dev/md127 (PV)
âÂÂâ /vg_ora_data (VG)
âÂÂâ /lv_ora_datafile (LV)
|
/dev/mapper/vg_ora_data-lv_ora_datafile -> mounted at /datafile
The original server is not lost, this is for DR purposes.
On this md127 raid device, there is supposed to be a VG and LV... then mounted to '/datafile' path.
What is the proper method to recover the LVM volume group and logical volume on the disk once it has been converted from hardware to virtual? The data is there on /dev/md127, and I know that I need to recreate the VG and LV, but documentation varies quite differently out there.
linux lvm raid software-raid
add a comment |Â
up vote
0
down vote
favorite
We have backed up a bare metal server using software RAID and rebuilt it on a VM. Original server is running Oracle Linux 6 (RHEL 6) with Dell Fusion IO software RAID.
BM Server w/ Fusion IO Drives:
/dev/fioa--____ /dev/md127 (Software RAID 1)
/dev/fiob--/
VM replica:
/dev/sde--_____ /dev/md127 (Metadisk RAID 1)
/dev/sdf--/
LVM Structure on Source:
/dev/md127 (PV)
âÂÂâ /vg_ora_data (VG)
âÂÂâ /lv_ora_datafile (LV)
|
/dev/mapper/vg_ora_data-lv_ora_datafile -> mounted at /datafile
The original server is not lost, this is for DR purposes.
On this md127 raid device, there is supposed to be a VG and LV... then mounted to '/datafile' path.
What is the proper method to recover the LVM volume group and logical volume on the disk once it has been converted from hardware to virtual? The data is there on /dev/md127, and I know that I need to recreate the VG and LV, but documentation varies quite differently out there.
linux lvm raid software-raid
1
Your question is unclear to me. If the data is there, it should just work. Please elaborate?
â frostschutz
Oct 10 '17 at 19:07
I would not backup the underlying raw disks, but would move the data for a cloud migration.
â Rui F Ribeiro
Oct 10 '17 at 21:44
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
We have backed up a bare metal server using software RAID and rebuilt it on a VM. Original server is running Oracle Linux 6 (RHEL 6) with Dell Fusion IO software RAID.
BM Server w/ Fusion IO Drives:
/dev/fioa--____ /dev/md127 (Software RAID 1)
/dev/fiob--/
VM replica:
/dev/sde--_____ /dev/md127 (Metadisk RAID 1)
/dev/sdf--/
LVM Structure on Source:
/dev/md127 (PV)
âÂÂâ /vg_ora_data (VG)
âÂÂâ /lv_ora_datafile (LV)
|
/dev/mapper/vg_ora_data-lv_ora_datafile -> mounted at /datafile
The original server is not lost, this is for DR purposes.
On this md127 raid device, there is supposed to be a VG and LV... then mounted to '/datafile' path.
What is the proper method to recover the LVM volume group and logical volume on the disk once it has been converted from hardware to virtual? The data is there on /dev/md127, and I know that I need to recreate the VG and LV, but documentation varies quite differently out there.
linux lvm raid software-raid
We have backed up a bare metal server using software RAID and rebuilt it on a VM. Original server is running Oracle Linux 6 (RHEL 6) with Dell Fusion IO software RAID.
BM Server w/ Fusion IO Drives:
/dev/fioa--____ /dev/md127 (Software RAID 1)
/dev/fiob--/
VM replica:
/dev/sde--_____ /dev/md127 (Metadisk RAID 1)
/dev/sdf--/
LVM Structure on Source:
/dev/md127 (PV)
âÂÂâ /vg_ora_data (VG)
âÂÂâ /lv_ora_datafile (LV)
|
/dev/mapper/vg_ora_data-lv_ora_datafile -> mounted at /datafile
The original server is not lost, this is for DR purposes.
On this md127 raid device, there is supposed to be a VG and LV... then mounted to '/datafile' path.
What is the proper method to recover the LVM volume group and logical volume on the disk once it has been converted from hardware to virtual? The data is there on /dev/md127, and I know that I need to recreate the VG and LV, but documentation varies quite differently out there.
linux lvm raid software-raid
linux lvm raid software-raid
asked Oct 10 '17 at 18:58
Chris Kuperstein
101
101
1
Your question is unclear to me. If the data is there, it should just work. Please elaborate?
â frostschutz
Oct 10 '17 at 19:07
I would not backup the underlying raw disks, but would move the data for a cloud migration.
â Rui F Ribeiro
Oct 10 '17 at 21:44
add a comment |Â
1
Your question is unclear to me. If the data is there, it should just work. Please elaborate?
â frostschutz
Oct 10 '17 at 19:07
I would not backup the underlying raw disks, but would move the data for a cloud migration.
â Rui F Ribeiro
Oct 10 '17 at 21:44
1
1
Your question is unclear to me. If the data is there, it should just work. Please elaborate?
â frostschutz
Oct 10 '17 at 19:07
Your question is unclear to me. If the data is there, it should just work. Please elaborate?
â frostschutz
Oct 10 '17 at 19:07
I would not backup the underlying raw disks, but would move the data for a cloud migration.
â Rui F Ribeiro
Oct 10 '17 at 21:44
I would not backup the underlying raw disks, but would move the data for a cloud migration.
â Rui F Ribeiro
Oct 10 '17 at 21:44
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397289%2flvm-physical-2-virtual-recovery-of-lvm-volume-group%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Your question is unclear to me. If the data is there, it should just work. Please elaborate?
â frostschutz
Oct 10 '17 at 19:07
I would not backup the underlying raw disks, but would move the data for a cloud migration.
â Rui F Ribeiro
Oct 10 '17 at 21:44