vmware虚拟机搭建linux oracle 10g asm环境,asm实例已经启动,这个时候我们就可以用dbca来创建数据库了,唯一需要注意的是在选择
1.新增磁盘进行分区
这里我们将新增磁盘分成3部分:/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.
,