RAC Attack - Oracle Cluster Database at Home/Configure Disks

 In the Inventory tab at the left, select collabn1.

 Choose the Console tab. Click on the play button to start the VM. When you see the square boxes, click anywhere to open a console window.

 Login as the oracle user with the password racattack.

 Open a terminal window.

 Switch to the root user with the "su -" command. (The password is racattack.) CONFIRM that two new disks exist and that they have the appropriate sizes. These two lines should exactly match!!

[root@collabn1 ~]# cat /proc/partitions major minor #blocks  name ...   8    16    3407872 sdb 8   32    3407872 sdc

 Create partitions on all of the newly created disks with fdisk.
 * 1) run fdisk /dev/sdb You should see the message "Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel"
 * 2) type "n" to create a new partition.
 * 3) type "p" for a primary partition.
 * 4) type partition number 1.
 * 5) press enter twice to accept the default first/last cylinders.
 * 6) type "t" to set the partition type.
 * 7) enter partition type da (Non-FS data).
 * 8) type "w" to write the partition table to disk.

[root@collabn1 ~]# fdisk /dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e  extended p  primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-652, default 1): ^M [default] Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-652, default 652): ^M [default] Using default value 652 Command (m for help): t Selected partition 1 Hex code (type L to list codes): da Changed system type of partition 1 to da (Non-FS data) Command (m for help): w The partition table has been altered! WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. Syncing disks.

 Repeat the previous step for disk /dev/sdc 