how to attach vdisk among different VMs ?
Hi all
I wondering how to solve this issue:
[root@odax30 ~]# oakcli create vdisk shdDisk -repo sharedrepo -size 50G -type shared
[root@odax30 ~]# oakcli modify vm linone -attachvdisk shdDisk
Configured VM : linone. Changes are available in VM.
[root@odax30 ~]# oakcli modify vm lintwo -attachvdisk shdDisk
Configured VM : lintwo. Changes are available in VM.
[root@odax30 ~]#
[root@linone ~]# fdisk -l /dev/xvdb
Disk /dev/xvdb: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
[root@linone ~]# fdisk /dev/xvdb
...
[root@linone ~]# mkfs -t ext4 /dev/xvdb1