配置RAW设备

配置RAW设备

# fdisk /dev/sda
Command (m for help): n
e extended
p primary partition (1-4) p
Partition n umber (1-4):  1
First cylinder (1-1020, default 1): 1
Last cylinder or +size or +sizeM or  +sizeK (1-1020):  500M #
System TB
Command (m  for help): w
The partition table has been altered!


1.# /usr/bin/raw –qa

2.vi /etc/sysconfig/rawdevices
/dev/raw/ra w1 /dev/sda1

3.# /sbin/service ra wdevices restart


 

你可能感兴趣的:(配置RAW设备)