Install the bare device-Linux Enterprise Application-Linux server application on centos5. For more information, see. After the centos5 device is installed, it is found that there is no bare device service, no file rawdevices, raw, and the bare device cannot be installed. Fortunately, there is another rhel4 server with these files, the process is:
1. Copy the/usr/bin/raw,/etc/sysconfig/rawdevice,/etc/init. d/rawdevices files on rhel4 to the corresponding centos5 directory. Pay attention to its permissions
2. Run the fdisk/dev/sda command to add a new partition, run the command w to save the partition, and then exit q.
3. Modify the/etc/sysconfig/rawdevice file and add the following:
/Dev/raw/raw1/dev/sdb6
/Dev/raw/raw2/dev/sdb7
/Dev/raw/raw3/dev/sdb8
/Dev/raw/raw4/dev/sdb9
/Dev/raw/raw5/dev/sdb10
/Dev/raw/raw6/dev/sdb11
/Dev/raw/raw7/dev/sdb12
/Dev/raw/raw8/dev/sdb13
/Dev/raw/raw9/dev/sdb14
4. Create the/dev/raw directory, mkdir-p/dev/raw
5. Enable the bare device service rawdevices start
6. Make the service automatically start. chkconfig -- add rawdevices; chkconfig -- level 0123456 rawdevices on
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service