411 REFERENCE · Wikibooks
RAC Attack - Oracle Cluster Database at Home/Configure Disks
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
In the Inventory tab at the left, select collabn1.
none|border|400pxChoose 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.
none|border|550pxLogin as the oracle user with the password racattack.
none|border|550pxOpen a terminal window.
none|border|550pxSwitch 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 sdcCreate partitions on all of the newly created disks with fdisk.
run fdisk /dev/sdb You should see the message "Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel"
type "n" to create a new partition.
type "p" for a primary partition.
type partition number 1.
press enter twice to accept the default first/last cylinders.
type "t" to set the partition type.
enter partition type da (Non-FS data).
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
Copy VM Configure Node 1