Mikmikmikmik
New Member
Hi,
In hyper v today, I created a 4TB vdisk as 2nd disk / powered up OL7.9VM, saw it as /dev/sdb in lsblk / powered down vm / deleted the 4TB vdisk and saved settings.
I then recreated it in hyperv settings as the 2nd disk again.
Powered up VM
Now this 4TB disk is /dev/sda and the OS disk is /dev/sdb.
How can I make sure that if I create 4x1TB partitions on the 4TB gpt disk, that when I do pvcreate on each partition and add the PVs into one or more volume groups, that upon next reboot and the device ID for the 4TB changes again, that I will not lose the VGs or the LVs where the PVs were used in?
I hope the above is understandable.
Thanks.
In hyper v today, I created a 4TB vdisk as 2nd disk / powered up OL7.9VM, saw it as /dev/sdb in lsblk / powered down vm / deleted the 4TB vdisk and saved settings.
I then recreated it in hyperv settings as the 2nd disk again.
Powered up VM
Now this 4TB disk is /dev/sda and the OS disk is /dev/sdb.
How can I make sure that if I create 4x1TB partitions on the 4TB gpt disk, that when I do pvcreate on each partition and add the PVs into one or more volume groups, that upon next reboot and the device ID for the 4TB changes again, that I will not lose the VGs or the LVs where the PVs were used in?
I hope the above is understandable.
Thanks.