rootvg PP 大小为256M
创建LV大小为1024M
mklv -y'lv10' -t'raw' rootvg 1
mklv -y'lv11' -t'raw' rootvg 1
mklv -y'lv12' -t'raw' rootvg 4
mklv -y'lv13' -t'raw' rootvg 2
mklv -y'lv14' -t'raw' rootvg 4
mklv -y'lv16' -t'raw' rootvg 2
mklv -y'lv17' -t'raw' rootvg 4
mklv -y'lv18' -t'raw' rootvg 2
mklv -y'lv19' -t'raw' rootvg 2
mklv -y'lv20' -t'raw' rootvg 2
mklv -y'lv21' -t'raw' rootvg 2
建立link
cd /home/db/oracle/oradata/ora9i/
ln -s /dev/rlv10 ./control01.ctl
ln -s /dev/rlv11 ./control02.ctl
ln -s /dev/rlv12 ./users01.dbf
ln -s /dev/rlv13 ./indx01.dbf
ln -s /dev/rlv14 ./undotbs01.dbf
ln -s /dev/rlv16 ./system01.dbf
ln -s /dev/rlv17 ./temp01.dbf
ln -s /dev/rlv18 ./tools01.dbf
ln -s /dev/rlv19 ./redo_1_1.log
ln -s /dev/rlv20 ./redo_2_1.log
ln -s /dev/rlv21 ./redo_3_1.log
创建实例部分脚本如下:
CREATE DATABASE ora9i
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 10
MAXLOGMEMBERS 3
MAXDATAFILES 200
DATAFILE '/home/db/oracle/oradata/ora9i/system01.dbf' SIZE 512M REUSE AUTOEXTEND ON NEXT 1024K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/home/db/oracle/oradata/ora9i/temp01.dbf' SIZE 1024M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
UNDO TABLESPACE "UNDOTBS" DATAFILE '/home/db/oracle/oradata/ora9i/undotbs01.dbf' SIZE 1024M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
CHARACTER SET ZHS16GBK
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 ('/home/db/oracle/oradata/ora9i/redo_1_1.log') SIZE 512M,
GROUP 2 ('/home/db/oracle/oradata/ora9i/redo_2_1.log') SIZE 512M,
GROUP 3 ('/home/db/oracle/oradata/ora9i/redo_3_1.log') SIZE 512M;
阅读(1591) | 评论(0) | 转发(0) |