|
本帖最后由 cavern 于 2017-5-11 11:15 编辑
唐老师: 按以前上课演示,我对自己的虚拟机里面oracle作了配置。
[root@station10 ~]# lsscsi -g
[0:0:0:0] disk VMware, VMware Virtual S 1.0 /dev/sda /dev/sg0
[2:0:0:0] cd/dvd NECVMWar VMware SATA CD01 1.00 /dev/sr0 /dev/sg1
[31:0:0:0] mediumx STK L700 0102 - /dev/sg10
[31:0:1:0] tape IBM ULT3580-TD5 0102 /dev/st0 /dev/sg2
[31:0:2:0] tape IBM ULT3580-TD5 0102 /dev/st1 /dev/sg3
[31:0:3:0] tape IBM ULT3580-TD4 0102 /dev/st2 /dev/sg4
[31:0:4:0] tape IBM ULT3580-TD4 0102 /dev/st3 /dev/sg5
[31:0:8:0] mediumx STK L80 0102 - /dev/sg11
[31:0:9:0] tape STK T10000B 0102 /dev/st4 /dev/sg6
[31:0:10:0] tape STK T10000B 0102 /dev/st5 /dev/sg7
[31:0:11:0] tape STK T10000B 0102 /dev/st6 /dev/sg8
[31:0:12:0] tape STK T10000B 0102 /dev/st7 /dev/sg9
obtool
ob>
lshost
chhost --addrole mediaserver station10
lshost
mkdev -t library -o -a station10:/dev/sg10 lib01
mkdev -t tape -o -a station10:/dev/sg2 -l lib01 -d 1 tape01 #上课时唐老师只做了tape03、tape04,我补充完tape01、tape02、tape05、tape06、tape07、tape08
mkdev -t tape -o -a station10:/dev/sg3 -l lib01 -d 2 tape02
mkdev -t tape -o -a station10:/dev/sg4 -l lib01 -d 3 tape03
mkdev -t tape -o -a station10:/dev/sg5 -l lib01 -d 4 tape04
lsdev -g tape01
lsdev -g tape02
lsdev -g tape03
lsdev -g tape04
mkdev -t library -o -a station10:/dev/sg11 lib02 #上课时唐老师只做了lib01,我补充完lib02
mkdev -t tape -o -a station10:/dev/sg6 -l lib02 -d 5 tape05
mkdev -t tape -o -a station10:/dev/sg7 -l lib02 -d 6 tape06
mkdev -t tape -o -a station10:/dev/sg8 -l lib02 -d 7 tape07
mkdev -t tape -o -a station10:/dev/sg9 -l lib02 -d 8 tape08
inventory -L lib01
inventory -L lib02
mkuser oracle --class oracle --preauth station10racle+rman
mkmf station10
lsmf
lsvol -L lib01 -l
已经配置CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
不知磁带机没配好,我敲backup tablespace users;都慢得要死,卡住了好久没动
删除lib01、tape01等命令是什么?不用重装磁环机,在里面怎么修改?
|
|