Oracle Database Appliance (ODA) (MOSC)

MOSC Banner

how to attach vdisk among different VMs ?

edited Aug 18, 2015 8:03PM in Oracle Database Appliance (ODA) (MOSC) 10 commentsAnswered ✓

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center