solaris10如何使用裸设备?急!
时间:2010-09-18
来源:互联网
小机M8000,solaris10系统,emc存储,详细如下:
bash-3.00# uname -a
SunOS racdb2 5.10 Generic_142900-12 sun4u sparc SUNW,SPARC-Enterprise
bash-3.00# cat /etc/release
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009
bash-3.00#
安装oracle10G RAC 的 crs时候,执行root.sh时候报错:
]# ./root.sh
WARNING: directory '/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/app/oracle/product' is not owned by root
WARNING: directory '/app/oracle' is not owned by root
WARNING: directory '/app' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
经网上搜索有人说是由于裸设备的原因,我的裸设备划分具体如下:
#format
…
…
128. emcpower0b <EMC-SYMMETRIX-5773 cyl 57136 alt 2 hd 30 sec 128>
/pseudo/emcp@0
…
…
Specify disk (enter its number): 128
selecting emcpower0b
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 57136 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 5461 10.00GB (5462/0/0) 20974080
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 57135 104.62GB (57136/0/0) 219402240
3 unassigned wm 5462 - 10923 10.00GB (5462/0/0) 20974080
4 unassigned wm 10924 - 16385 10.00GB (5462/0/0) 20974080
5 unassigned wm 16386 - 21847 10.00GB (5462/0/0) 20974080
6 usr wm 21848 - 51673 54.61GB (29826/0/0) 114531840
7 unassigned wm 51674 - 57135 10.00GB (5462/0/0) 20974080
partition> q
bash-3.00# ls -l /dev/rdsk/emcpower0*
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0a -> ../../devices/pseudo/emcp@0:a,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0b -> ../../devices/pseudo/emcp@0:b,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0c -> ../../devices/pseudo/emcp@0:c,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0d -> ../../devices/pseudo/emcp@0:d,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0e -> ../../devices/pseudo/emcp@0:e,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0f -> ../../devices/pseudo/emcp@0:f,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0g -> ../../devices/pseudo/emcp@0:g,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0h -> ../../devices/pseudo/emcp@0:h,raw
bash-3.00#
bash-3.00# ls -l /devices/pseudo/emcp@0*
brw-rw---- 1 oracle dba 332, 0 Sep 17 15:09 /devices/pseudo/emcp@0:a,blk
crw-r----- 1 root oinstall 332, 0 Sep 17 15:08 /devices/pseudo/emcp@0:a,raw
brw-rw---- 1 oracle dba 332, 1 Sep 17 15:09 /devices/pseudo/emcp@0:b,blk
crw-rw---- 1 oracle dba 332, 1 Sep 17 15:08 /devices/pseudo/emcp@0:b,raw
brw-rw---- 1 oracle dba 332, 2 Sep 17 15:09 /devices/pseudo/emcp@0:c,blk
crw-rw---- 1 oracle dba 332, 2 Sep 17 15:08 /devices/pseudo/emcp@0:c,raw
brw-rw---- 1 oracle dba 332, 3 Sep 17 15:09 /devices/pseudo/emcp@0:d,blk
crw-r----- 1 root oinstall 332, 3 Sep 17 15:08 /devices/pseudo/emcp@0:d,raw
brw-rw---- 1 oracle dba 332, 4 Sep 17 15:09 /devices/pseudo/emcp@0:e,blk
crw-r--r-- 1 oracle oinstall 332, 4 Sep 17 15:08 /devices/pseudo/emcp@0:e,raw
brw-rw---- 1 oracle dba 332, 5 Sep 17 15:09 /devices/pseudo/emcp@0:f,blk
crw-r--r-- 1 oracle oinstall 332, 5 Sep 17 15:08 /devices/pseudo/emcp@0:f,raw
brw-rw---- 1 oracle dba 332, 6 Sep 17 15:09 /devices/pseudo/emcp@0:g,blk
crw-rw---- 1 oracle dba 332, 6 Sep 17 15:08 /devices/pseudo/emcp@0:g,raw
brw-rw---- 1 oracle dba 332, 7 Sep 17 15:09 /devices/pseudo/emcp@0:h,blk
crw-r--r-- 1 oracle oinstall 332, 7 Sep 17 15:08 /devices/pseudo/emcp@0:h,raw
/devices/pseudo/emcp@0:
total 0
bash-3.00#
说明一下,因为solaris下每块磁盘最多有8个分区,我将128号磁盘划分了这样几个空间:
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 5461 10.00GB (5462/0/0) 20974080
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 57135 104.62GB (57136/0/0) 219402240
3 unassigned wm 5462 - 10923 10.00GB (5462/0/0) 20974080
4 unassigned wm 10924 - 16385 10.00GB (5462/0/0) 20974080
5 unassigned wm 16386 - 21847 10.00GB (5462/0/0) 20974080
6 usr wm 21848 - 51673 54.61GB (29826/0/0) 114531840
7 unassigned wm 51674 - 57135 10.00GB (5462/0/0) 20974080
part编号为0、3、4、5、7五个分别划分10G,用作oracle rac的crs和vot使用,其对应在系统中的物理设备应该就是:/dev/rdsk/emcpower0a、/dev/rdsk/emcpower0d、/dev/rdsk/emcpower0e、/dev/rdsk/emcpower0f、/dev/rdsk/emcpower0h,所以我在安装过程中直接使用的是:
crs: /dev/rdsk/emcpower0a
crs : /dev/rdsk/emcpower0d
vot:/dev/rdsk/emcpower0e
vot:/dev/rdsk/emcpower0f
vot:/dev/rdsk/emcpower0h
这样的裸设备对应方式,这种配置正确么?
solaris系统刚刚接触,还请大家帮忙!多谢!
bash-3.00# uname -a
SunOS racdb2 5.10 Generic_142900-12 sun4u sparc SUNW,SPARC-Enterprise
bash-3.00# cat /etc/release
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009
bash-3.00#
安装oracle10G RAC 的 crs时候,执行root.sh时候报错:
]# ./root.sh
WARNING: directory '/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/app/oracle/product' is not owned by root
WARNING: directory '/app/oracle' is not owned by root
WARNING: directory '/app' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
经网上搜索有人说是由于裸设备的原因,我的裸设备划分具体如下:
#format
…
…
128. emcpower0b <EMC-SYMMETRIX-5773 cyl 57136 alt 2 hd 30 sec 128>
/pseudo/emcp@0
…
…
Specify disk (enter its number): 128
selecting emcpower0b
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 57136 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 5461 10.00GB (5462/0/0) 20974080
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 57135 104.62GB (57136/0/0) 219402240
3 unassigned wm 5462 - 10923 10.00GB (5462/0/0) 20974080
4 unassigned wm 10924 - 16385 10.00GB (5462/0/0) 20974080
5 unassigned wm 16386 - 21847 10.00GB (5462/0/0) 20974080
6 usr wm 21848 - 51673 54.61GB (29826/0/0) 114531840
7 unassigned wm 51674 - 57135 10.00GB (5462/0/0) 20974080
partition> q
bash-3.00# ls -l /dev/rdsk/emcpower0*
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0a -> ../../devices/pseudo/emcp@0:a,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0b -> ../../devices/pseudo/emcp@0:b,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0c -> ../../devices/pseudo/emcp@0:c,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0d -> ../../devices/pseudo/emcp@0:d,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0e -> ../../devices/pseudo/emcp@0:e,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0f -> ../../devices/pseudo/emcp@0:f,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0g -> ../../devices/pseudo/emcp@0:g,raw
lrwxrwxrwx 1 root root 33 Sep 13 12:23 /dev/rdsk/emcpower0h -> ../../devices/pseudo/emcp@0:h,raw
bash-3.00#
bash-3.00# ls -l /devices/pseudo/emcp@0*
brw-rw---- 1 oracle dba 332, 0 Sep 17 15:09 /devices/pseudo/emcp@0:a,blk
crw-r----- 1 root oinstall 332, 0 Sep 17 15:08 /devices/pseudo/emcp@0:a,raw
brw-rw---- 1 oracle dba 332, 1 Sep 17 15:09 /devices/pseudo/emcp@0:b,blk
crw-rw---- 1 oracle dba 332, 1 Sep 17 15:08 /devices/pseudo/emcp@0:b,raw
brw-rw---- 1 oracle dba 332, 2 Sep 17 15:09 /devices/pseudo/emcp@0:c,blk
crw-rw---- 1 oracle dba 332, 2 Sep 17 15:08 /devices/pseudo/emcp@0:c,raw
brw-rw---- 1 oracle dba 332, 3 Sep 17 15:09 /devices/pseudo/emcp@0:d,blk
crw-r----- 1 root oinstall 332, 3 Sep 17 15:08 /devices/pseudo/emcp@0:d,raw
brw-rw---- 1 oracle dba 332, 4 Sep 17 15:09 /devices/pseudo/emcp@0:e,blk
crw-r--r-- 1 oracle oinstall 332, 4 Sep 17 15:08 /devices/pseudo/emcp@0:e,raw
brw-rw---- 1 oracle dba 332, 5 Sep 17 15:09 /devices/pseudo/emcp@0:f,blk
crw-r--r-- 1 oracle oinstall 332, 5 Sep 17 15:08 /devices/pseudo/emcp@0:f,raw
brw-rw---- 1 oracle dba 332, 6 Sep 17 15:09 /devices/pseudo/emcp@0:g,blk
crw-rw---- 1 oracle dba 332, 6 Sep 17 15:08 /devices/pseudo/emcp@0:g,raw
brw-rw---- 1 oracle dba 332, 7 Sep 17 15:09 /devices/pseudo/emcp@0:h,blk
crw-r--r-- 1 oracle oinstall 332, 7 Sep 17 15:08 /devices/pseudo/emcp@0:h,raw
/devices/pseudo/emcp@0:
total 0
bash-3.00#
说明一下,因为solaris下每块磁盘最多有8个分区,我将128号磁盘划分了这样几个空间:
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 5461 10.00GB (5462/0/0) 20974080
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 57135 104.62GB (57136/0/0) 219402240
3 unassigned wm 5462 - 10923 10.00GB (5462/0/0) 20974080
4 unassigned wm 10924 - 16385 10.00GB (5462/0/0) 20974080
5 unassigned wm 16386 - 21847 10.00GB (5462/0/0) 20974080
6 usr wm 21848 - 51673 54.61GB (29826/0/0) 114531840
7 unassigned wm 51674 - 57135 10.00GB (5462/0/0) 20974080
part编号为0、3、4、5、7五个分别划分10G,用作oracle rac的crs和vot使用,其对应在系统中的物理设备应该就是:/dev/rdsk/emcpower0a、/dev/rdsk/emcpower0d、/dev/rdsk/emcpower0e、/dev/rdsk/emcpower0f、/dev/rdsk/emcpower0h,所以我在安装过程中直接使用的是:
crs: /dev/rdsk/emcpower0a
crs : /dev/rdsk/emcpower0d
vot:/dev/rdsk/emcpower0e
vot:/dev/rdsk/emcpower0f
vot:/dev/rdsk/emcpower0h
这样的裸设备对应方式,这种配置正确么?
solaris系统刚刚接触,还请大家帮忙!多谢!
作者: lizisor1 发布时间: 2010-09-18
裸设备属主改的不对。
作者: byuq 发布时间: 2010-09-18
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28