'hpsa' - A SCSI-based Linux device driver for HP Smart Array Controllers

7
Device naming and numbering
Table 3 lists the driver differences that affect device naming and numbering. Figures 2 and 3 illustrate device driver
numbering.
Table 3. Device naming and numbering.
Parameter
cciss driver
hpsa driver
Driver device
numbering
/dev/cciss/c[0-9]d[0-9]p[0-9]
c[0-9] represents a controller number.
d[0-9] represents a logical disk number.
p[0-9] represents the partition number, when
partitions are present.
/dev/sd*
* is replaced by a sequential letter for each
logical disk and a sequential number for each
partition in the logical disk.
Logical disk names
/dev/cciss/c[0-9]*d[0-9]*
c[0-9] represents controllers, starting with 0 as
first controller.
d[0-9] represents logical disks, starting with 0 as
first disk.
For example, /dev/cciss/c3d7 is the 4th
controller using the cciss driver, the 8th logical disk
/dev/sd[a-z]*
Controller numbers are not represented in
this naming.
Logical disk numbers are represented using
sequential letters, starting with “a.”
Logical disk letters “wrap” to 2 characters
after 26 devices.
/dev/sdh represents 8th SCSI device.
/dev/sdz represents the 26th SCSI device.
/dev/sdaa represents the 27th SCSI
device.
Partition names
/dev/cciss/c[0-9]d[0-9]p[0-9]
Partitions use sequential numbers, starting with 1.
For example, /dev/cciss/c3d7p4 is the fourth
cciss controller, 8th logical disk, the 4th partition.
/dev/sd[a-z]*[0-9]*
Sequential numbers designate partitions,
starting with 1.
For example, /dev/sdh4 is the 4th partition
on the 8
th
SCSI device.
Controller names
/dev/cciss/c[0-9]d0
The name of the first disk represents the actual
controller. This naming for the controller exists even
when there are no configured logical disks.
/dev/sg*
A SCSI generic node represents the controller.
You can use utilities like sgutils and
cciss_vol_status with these device
names.
Use command lsscsi g to discover
which /dev/sg* nodes represent
controllers.