The vmwarevm builds the LinuxOracle10gASM environment, and the ASM instance has been started. At this time, we can use DBCA to create a database.
The vmwarevm builds the Linux Oracle 10g ASM environment, and the ASM instance has been started. At this time, we can use DBCA to create a database. The only thing we need to note is
1. Add a new disk for partitioning
Here we divide the new disk into three parts:/dev/sdb1,/dev/sdb2,/dev/sdb3
[Root @ ocp db10g] # 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): p
Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 1
First cylinder (1-783, default 1): 1
Last cylinder or + size or + sizeM or + sizeK (1-783, default 783): + 2G
Command (m for help): p
Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sdb1 1 244 1959898 + 83 Linux
Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 2
First cylinder (245-783, default 245 ):
Using default value 245
Last cylinder or + size or + sizeM or + sizeK (245-783, default 783): + 2g
Command (m for help): p
Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sdb1 1 244 1959898 + 83 Linux
/Dev/sdb2 245 488 1959930 83 Linux
Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 3
First cylinder (489-783, default 489 ):
Using default value 489
Last cylinder or + size or + sizeM or + sizeK (489-783, default 783 ):
Using default value 783
Command (m for help): p
Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sdb1 1 244 1959898 + 83 Linux
/Dev/sdb2 245 488 1959930 83 Linux
/Dev/sdb3 489 783 2369587 + 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl () to re-read partition table.
Syncing disks.
,