This section includes the following topics:
SVTLs are supported on the following platforms:
• |
Before setting up an SVTL, consider the following:
Before creating an SVTL, verify that the following requirements are met:
• |
On Solaris systems hosting the SVTL or sharing the drives, specify the SCSI ID and LUN values for the applicable disks and volumes in the file /kernel/drv/sd.conf. This requirement is applicable only if you are using a disk or RAID volume on a SAN. Use the following format to specify the values: |
To set up raw I/O on Linux-based systems, you require the following:
• |
A raw device controller named /dev/rawctl or /dev/raw. If the controller is not present, type the following command to create a symbolic link: |
The following example shows how to set up raw I/O on Linux:
1 |
At the prompt, type the following command to display information from the file devices.txt. You can find this file in the /usr/src/linux/Documentation directory: |
If you require /dev/raw/raw1 and /dev/raw/raw2, follow the same procedure using the proper numbers listed in the devices.txt file and set the same permissions.
The following example shows how to set up raw I/O on Red Hat Linux. The raw partition used is /dev/sda.
3 |
For persistent binding, open the /etc/sysconfig/rawdevices file and append the following line: |
The raw devices interface has been deprecated in Red Hat Enterprise Linux 5; the raw device mapping is now performed using udev rules. To correctly map the raw device, add the appropriate entries to the /etc/udev/rules.d/60‑raw.rules file in the following format:
Here <device name> is the name of the device that you want to bind (for example, /dev/sda1), A and B are the major or minor numbers of the device you want to bind, and X is the raw device number that you want the system to use.
If you have a large pre-existing /etc/sysconfig/rawdevices file, convert it using the following script.
On SUSE Linux, administer the raw disk partitions in the /etc/raw file. This plain text file contains comments and examples for possible configurations. After creating the raw devices, bind the raw devices by starting them with the script /etc/init.d/raw. Use the chkconfig(8) utility to ensure that the raw device binding occurs after any restart.
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center