Red hat 5.8 挂载裸设备

Red hat 5.8 挂载裸设备


vi  /etc/sysconfig/rawdevices

/dev/raw/raw1  /dev/emcpowera1

/dev/raw/raw2  /dev/emcpowerb1


vi /etc/udev/rules.d/60-raw.rules

ACTION=="add", KERNEL="emcpowera1", RUN ="raw /dev/raw/raw1 %N"

ACTION=="add", KERNEL="emcpowerb1", RUN ="raw /dev/raw/raw2 %N"


start_udev


raw -qa

你可能感兴趣的:(Red hat 5.8 挂载裸设备)