
33
Symmetrix Fibre Channel with Qlogic HBAs on Linux Hosts
Arbitrated Loop Configurations
The four high-level device drivers are:
sg (SCSI generic interface)
sd (direct access; disks, for example)
st (tapes)
sr (data CD-ROMs)
The sg driver is a character-based device, while the other three
drivers are block-based devices. sg is used primarily for scanners, CD
writers, printers, and raw access, although sg is not a true raw device.
The sg device files are dynamically mapped to SCSI IDs/LUNs on the
SCSI bus, starting with the first SCSI controller.
The Linux kernel assigns minor SCSI device numbers dynamically by
assigning them only to devices that are actually connected to the host in the
order of their SCSI IDs. This means that connecting an external SCSI device
can change the minor numbers of all the internal SCSI devices with a higher
SCSI ID.
Partitioning Symmetrix
Devices
Once the QLogic driver is loaded, the Symmetrix devices will be
represented in /proc/scsi/scsi. They can be viewed by using more
/proc/scsi/scsi. Only /dev/sda through /dev/sdp and /dev/sga through
/dev/sgh will be created by default upon kernel compilation. In order
to create subsequent device files for the Symmetrix devices attached
to the host, the root user will need to create them via the mknod
command.
Using the fdisk command allows multiple partitions to reside on a
single disk device.
To partition one or more Symmetrix devices for the use of Linux, log
in as root and follow the procedure below:
1. Type
fdisk /dev/sdb ENTER.
2. If you want to display a list of options, type
m ENTER (for help) to
display the following:
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the DOS compatibility flag
d delete a partition
l list known partition types
m print this menu
Comentarios a estos manuales