crs 安装时The specified shared raw partition /dev/raw/raw1 may not have correct permission
今天网友问到在安装crs时,OUI出现了这个错误
“The specified shared raw partition /dev/raw/raw1 may not have correct permission”
看到这个错误想到的当然是权限问题,但是但它查看raw1权限时
$ls -ltr /dev/raw/raw1
crw-rw—- 1 oracle oinstall 85, 8194 Sep 6 08:51 /dev/raw/raw1
其实你应该检查真正的设备权限,因为后来没有联系到对方,不过在网上找到了一个例子,i.e.
$ls -ltr /dev/rdsk/ora_ocr_raw_280m
crw-rw—- 1 oracle oinstall 85, 8194 Sep 6 08:51 /dev/rdsk/ora_ocr_raw_280m
权限没问题,但是看真正的设备时
# ls -ltr ../../devices/scsi_vhci/ssd@g50060e800000000000005ba500000020:a,raw
crw-r—– 1 root sys 118, 504 Aug 28 16:35 ../../devices/scsi_vhci/ssd@g50060e800000000000005ba500000020:a,raw
你会发现真正设备的owner是root:sys,所以应该为oracle:oinstall,比如
#chown -R -h oracle:oinstall ../../devices/scsi_vhci/ssd@g50060e800000000000005ba500000020:a,raw
# ls -ltr ../../devices/scsi_vhci/ssd@g50060e800000000000005ba500000020:a,raw
crw-r—– 1 oracle oinstall 118, 504 Sep 4
上面的问题就应该可以解决
NOTE: in both voting & ocr you should use slice 0 of the disk
参考nayyares的posted
对不起,这篇文章暂时关闭评论。