使用
raw -qa
命令来查询当前已经存在的绑定。
Use the /etc/sysconfig/rawdevices file to define the set of raw device mappings automatically created during the system startup sequence.
在/etc/sysconfig/rawdevices中,注意裸设备对应的块设备如果是SATA或者iSCSI,则应该使用/dev/disk/by-id中的链接来进行指定。
如何确定裸设备对应的块设备?以裸设备/dev/raw/raw57为例:
# ls -l /dev/raw/raw57
crw-rw—- 1 root disk 162, 57 Jul 31 02:02 /dev/raw/raw57
# raw -qa | grep raw57
/dev/raw/raw57: bound to major 65, minor 233
# ls -l /dev | grep 65 | grep 233
brwxrwxrwx 1 root disk [...]
Syndication
via RSS
via Email
via Technorati






BlogoSquare