Adding and Connecting (mounting) Multiple VMs to a shared virtual disk
I have created a shared virtual disk using the OVManager GUI that I intend to mount to at least 2 vms.
Using Oracle doc 858497.1, on vm1, I have in this order:
- pvcreate, create a physical
- vgcreate, create a volume group
- lvcreate, creating a logical volume
- mkfs.ext3, create file system
- mount, mount the drive
- (Added entry in /etc/fstab)
My challenge is now to mount this shared on vm2. I’m not sure how to do this. My assumption would be to follow the above steps, minus the create file system, since it already has one. However, this assumption does not seem to work.
Can anyone shed some light on this for me?
Many thanks,
Paul