|
|
7dd887 |
From 25067420ac8b316f3cd3710bb57e85c5e3bd7c62 Mon Sep 17 00:00:00 2001
|
|
|
7dd887 |
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
|
|
7dd887 |
Date: Tue, 28 Jun 2016 10:57:31 +0200
|
|
|
7dd887 |
Subject: [PATCH 01/17] cciss.4: replace man page content with notice about
|
|
|
7dd887 |
driver removal
|
|
|
7dd887 |
|
|
|
7dd887 |
---
|
|
|
7dd887 |
man-pages/man4/cciss.4 | 347 +------------------------------------------------
|
|
|
7dd887 |
1 file changed, 6 insertions(+), 341 deletions(-)
|
|
|
7dd887 |
|
|
|
7dd887 |
diff --git a/man-pages/man4/cciss.4 b/man-pages/man4/cciss.4
|
|
|
7dd887 |
index e9d64ee..a2320de 100644
|
|
|
7dd887 |
--- a/man-pages/man4/cciss.4
|
|
|
7dd887 |
+++ b/man-pages/man4/cciss.4
|
|
|
7dd887 |
@@ -10,354 +10,19 @@
|
|
|
7dd887 |
.TH CCISS 4 2012-08-05 "Linux" "Linux Programmer's Manual"
|
|
|
7dd887 |
.SH NAME
|
|
|
7dd887 |
cciss \- HP Smart Array block driver
|
|
|
7dd887 |
-.SH SYNOPSIS
|
|
|
7dd887 |
-.nf
|
|
|
7dd887 |
-modprobe cciss [ cciss_allow_hpsa=1 ]
|
|
|
7dd887 |
-.fi
|
|
|
7dd887 |
.SH DESCRIPTION
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-is a block driver for older HP Smart Array RAID controllers.
|
|
|
7dd887 |
-.SS Options
|
|
|
7dd887 |
-.IR "cciss_allow_hpsa=1" :
|
|
|
7dd887 |
-This option prevents the
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-driver from attempting to drive any controllers that the
|
|
|
7dd887 |
-.BR hpsa (4)
|
|
|
7dd887 |
-driver is capable of controlling, which is to say, the
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-driver is restricted by this option to the following controllers:
|
|
|
7dd887 |
-.nf
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- Smart Array 5300
|
|
|
7dd887 |
- Smart Array 5i
|
|
|
7dd887 |
- Smart Array 532
|
|
|
7dd887 |
- Smart Array 5312
|
|
|
7dd887 |
- Smart Array 641
|
|
|
7dd887 |
- Smart Array 642
|
|
|
7dd887 |
- Smart Array 6400
|
|
|
7dd887 |
- Smart Array 6400 EM
|
|
|
7dd887 |
- Smart Array 6i
|
|
|
7dd887 |
- Smart Array P600
|
|
|
7dd887 |
- Smart Array P400i
|
|
|
7dd887 |
- Smart Array E200i
|
|
|
7dd887 |
- Smart Array E200
|
|
|
7dd887 |
- Smart Array E200i
|
|
|
7dd887 |
- Smart Array E200i
|
|
|
7dd887 |
- Smart Array E200i
|
|
|
7dd887 |
- Smart Array E500
|
|
|
7dd887 |
-.fi
|
|
|
7dd887 |
-.SS Supported hardware
|
|
|
7dd887 |
The
|
|
|
7dd887 |
.B cciss
|
|
|
7dd887 |
-driver supports the following Smart Array boards:
|
|
|
7dd887 |
-.nf
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- Smart Array 5300
|
|
|
7dd887 |
- Smart Array 5i
|
|
|
7dd887 |
- Smart Array 532
|
|
|
7dd887 |
- Smart Array 5312
|
|
|
7dd887 |
- Smart Array 641
|
|
|
7dd887 |
- Smart Array 642
|
|
|
7dd887 |
- Smart Array 6400
|
|
|
7dd887 |
- Smart Array 6400 U320 Expansion Module
|
|
|
7dd887 |
- Smart Array 6i
|
|
|
7dd887 |
- Smart Array P600
|
|
|
7dd887 |
- Smart Array P800
|
|
|
7dd887 |
- Smart Array E400
|
|
|
7dd887 |
- Smart Array P400i
|
|
|
7dd887 |
- Smart Array E200
|
|
|
7dd887 |
- Smart Array E200i
|
|
|
7dd887 |
- Smart Array E500
|
|
|
7dd887 |
- Smart Array P700m
|
|
|
7dd887 |
- Smart Array P212
|
|
|
7dd887 |
- Smart Array P410
|
|
|
7dd887 |
- Smart Array P410i
|
|
|
7dd887 |
- Smart Array P411
|
|
|
7dd887 |
- Smart Array P812
|
|
|
7dd887 |
- Smart Array P712m
|
|
|
7dd887 |
- Smart Array P711m
|
|
|
7dd887 |
-.fi
|
|
|
7dd887 |
-.SS Configuration details
|
|
|
7dd887 |
-To configure HP Smart Array controllers,
|
|
|
7dd887 |
-use the HP Array Configuration Utility
|
|
|
7dd887 |
-(either
|
|
|
7dd887 |
-.BR hpacuxe (8)
|
|
|
7dd887 |
-or
|
|
|
7dd887 |
-.BR hpacucli (8))
|
|
|
7dd887 |
-or the Offline ROM-based Configuration Utility (ORCA)
|
|
|
7dd887 |
-run from the Smart Array's option ROM at boot time.
|
|
|
7dd887 |
-.SH FILES
|
|
|
7dd887 |
-.SS Device nodes
|
|
|
7dd887 |
-The device naming scheme is as follows:
|
|
|
7dd887 |
-.nf
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-Major numbers:
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- 104 cciss0
|
|
|
7dd887 |
- 105 cciss1
|
|
|
7dd887 |
- 106 cciss2
|
|
|
7dd887 |
- 105 cciss3
|
|
|
7dd887 |
- 108 cciss4
|
|
|
7dd887 |
- 109 cciss5
|
|
|
7dd887 |
- 110 cciss6
|
|
|
7dd887 |
- 111 cciss7
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-Minor numbers:
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- b7 b6 b5 b4 b3 b2 b1 b0
|
|
|
7dd887 |
- |----+----| |----+----|
|
|
|
7dd887 |
- | |
|
|
|
7dd887 |
- | +-------- Partition ID (0=wholedev, 1-15 partition)
|
|
|
7dd887 |
- |
|
|
|
7dd887 |
- +-------------------- Logical Volume number
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-The device naming scheme is:
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- /dev/cciss/c0d0 Controller 0, disk 0, whole device
|
|
|
7dd887 |
- /dev/cciss/c0d0p1 Controller 0, disk 0, partition 1
|
|
|
7dd887 |
- /dev/cciss/c0d0p2 Controller 0, disk 0, partition 2
|
|
|
7dd887 |
- /dev/cciss/c0d0p3 Controller 0, disk 0, partition 3
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- /dev/cciss/c1d1 Controller 1, disk 1, whole device
|
|
|
7dd887 |
- /dev/cciss/c1d1p1 Controller 1, disk 1, partition 1
|
|
|
7dd887 |
- /dev/cciss/c1d1p2 Controller 1, disk 1, partition 2
|
|
|
7dd887 |
- /dev/cciss/c1d1p3 Controller 1, disk 1, partition 3
|
|
|
7dd887 |
-.fi
|
|
|
7dd887 |
-.SS Files in /proc
|
|
|
7dd887 |
-The files
|
|
|
7dd887 |
-.I /proc/driver/cciss/cciss[0-9]+
|
|
|
7dd887 |
-contain information about
|
|
|
7dd887 |
-the configuration of each controller.
|
|
|
7dd887 |
-For example:
|
|
|
7dd887 |
-.nf
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- $ \fBcd /proc/driver/cciss\fP
|
|
|
7dd887 |
- $ \fBls -l\fP
|
|
|
7dd887 |
- total 0
|
|
|
7dd887 |
- -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss0
|
|
|
7dd887 |
- -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss1
|
|
|
7dd887 |
- -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss2
|
|
|
7dd887 |
- $ \fBcat cciss2\fP
|
|
|
7dd887 |
- cciss2: HP Smart Array P800 Controller
|
|
|
7dd887 |
- Board ID: 0x3223103c
|
|
|
7dd887 |
- Firmware Version: 7.14
|
|
|
7dd887 |
- IRQ: 16
|
|
|
7dd887 |
- Logical drives: 1
|
|
|
7dd887 |
- Current Q depth: 0
|
|
|
7dd887 |
- Current # commands on controller: 0
|
|
|
7dd887 |
- Max Q depth since init: 1
|
|
|
7dd887 |
- Max # commands on controller since init: 2
|
|
|
7dd887 |
- Max SG entries since init: 32
|
|
|
7dd887 |
- Sequential access devices: 0
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- cciss/c2d0: 36.38GB RAID 0
|
|
|
7dd887 |
-.fi
|
|
|
7dd887 |
-.SS Files in /sys
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/model
|
|
|
7dd887 |
-Displays the SCSI INQUIRY page 0 model for logical drive
|
|
|
7dd887 |
-.I Y
|
|
|
7dd887 |
-of controller
|
|
|
7dd887 |
-.IR X .
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/rev
|
|
|
7dd887 |
-Displays the SCSI INQUIRY page 0 revision for logical drive
|
|
|
7dd887 |
-.I Y
|
|
|
7dd887 |
-of controller
|
|
|
7dd887 |
-.IR X .
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/unique_id
|
|
|
7dd887 |
-Displays the SCSI INQUIRY page 83 serial number for logical drive
|
|
|
7dd887 |
-.I Y
|
|
|
7dd887 |
-of controller
|
|
|
7dd887 |
-.IR X .
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/vendor
|
|
|
7dd887 |
-Displays the SCSI INQUIRY page 0 vendor for logical drive
|
|
|
7dd887 |
-.I Y
|
|
|
7dd887 |
-of controller
|
|
|
7dd887 |
-.IR X .
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/block:cciss!cXdY
|
|
|
7dd887 |
-A symbolic link to
|
|
|
7dd887 |
-.IR /sys/block/cciss!cXdY .
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/rescan
|
|
|
7dd887 |
-When this file is written to, the driver rescans the controller
|
|
|
7dd887 |
-to discover any new, removed, or modified logical drives.
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/resettable
|
|
|
7dd887 |
-A value of 1 displayed in this file indicates that
|
|
|
7dd887 |
-the "reset_devices=1" kernel parameter (used by
|
|
|
7dd887 |
-.BR kdump )
|
|
|
7dd887 |
-is honored by this controller.
|
|
|
7dd887 |
-A value of 0 indicates that the
|
|
|
7dd887 |
-"reset_devices=1" kernel parameter will not be honored.
|
|
|
7dd887 |
-Some models of Smart Array are not able to honor this parameter.
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid
|
|
|
7dd887 |
-Displays the 8-byte LUN ID used to address logical drive
|
|
|
7dd887 |
-.I Y
|
|
|
7dd887 |
-of controller
|
|
|
7dd887 |
-.IR X .
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/raid_level
|
|
|
7dd887 |
-Displays the RAID level of logical drive
|
|
|
7dd887 |
-.I Y
|
|
|
7dd887 |
-of controller
|
|
|
7dd887 |
-.IR X .
|
|
|
7dd887 |
-.TP
|
|
|
7dd887 |
-.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/usage_count
|
|
|
7dd887 |
-Displays the usage count (number of opens) of logical drive
|
|
|
7dd887 |
-.I Y
|
|
|
7dd887 |
-of controller
|
|
|
7dd887 |
-.IR X .
|
|
|
7dd887 |
-.SS SCSI tape drive and medium changer support
|
|
|
7dd887 |
-SCSI sequential access devices and medium changer devices are supported and
|
|
|
7dd887 |
-appropriate device nodes are automatically created (e.g.,
|
|
|
7dd887 |
-.IR /dev/st0 ,
|
|
|
7dd887 |
-.IR /dev/st1 ,
|
|
|
7dd887 |
-etc.; see
|
|
|
7dd887 |
-.BR st (4)
|
|
|
7dd887 |
-for more details.)
|
|
|
7dd887 |
-You must enable "SCSI tape drive support for Smart Array 5xxx" and
|
|
|
7dd887 |
-"SCSI support" in your kernel configuration to be able to use SCSI
|
|
|
7dd887 |
-tape drives with your Smart Array 5xxx controller.
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-Additionally, note that the driver will not engage the SCSI core at
|
|
|
7dd887 |
-init time.
|
|
|
7dd887 |
-The driver must be directed to dynamically engage the SCSI core via
|
|
|
7dd887 |
-the /proc file-system entry,
|
|
|
7dd887 |
-which the "block" side of the driver creates as
|
|
|
7dd887 |
-.I /proc/driver/cciss/cciss*
|
|
|
7dd887 |
-at run time.
|
|
|
7dd887 |
-This is because at driver init time,
|
|
|
7dd887 |
-the SCSI core may not yet be initialized (because the driver is a block
|
|
|
7dd887 |
-driver) and attempting to register it with the SCSI core in such a case
|
|
|
7dd887 |
-would cause a hang.
|
|
|
7dd887 |
-This is best done via an initialization script
|
|
|
7dd887 |
-(typically in
|
|
|
7dd887 |
-.IR /etc/init.d ,
|
|
|
7dd887 |
-but could vary depending on distribution).
|
|
|
7dd887 |
-For example:
|
|
|
7dd887 |
-.nf
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- for x in /proc/driver/cciss/cciss[0-9]*
|
|
|
7dd887 |
- do
|
|
|
7dd887 |
- echo "engage scsi" > $x
|
|
|
7dd887 |
- done
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-.fi
|
|
|
7dd887 |
-Once the SCSI core is engaged by the driver, it cannot be disengaged
|
|
|
7dd887 |
-(except by unloading the driver, if it happens to be linked as a module.)
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-Note also that if no sequential access devices or medium changers are
|
|
|
7dd887 |
-detected, the SCSI core will not be engaged by the action of the above
|
|
|
7dd887 |
-script.
|
|
|
7dd887 |
-.SS Hot plug support for SCSI tape drives
|
|
|
7dd887 |
-Hot plugging of SCSI tape drives is supported, with some caveats.
|
|
|
7dd887 |
-The
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-driver must be informed that changes to the SCSI bus
|
|
|
7dd887 |
-have been made.
|
|
|
7dd887 |
-This may be done via the /proc file system.
|
|
|
7dd887 |
-For example:
|
|
|
7dd887 |
-
|
|
|
7dd887 |
- echo "rescan" > /proc/scsi/cciss0/1
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-This causes the driver to:
|
|
|
7dd887 |
-.RS
|
|
|
7dd887 |
-.IP 1. 3
|
|
|
7dd887 |
-query the adapter about changes to the
|
|
|
7dd887 |
-physical SCSI buses and/or fibre channel arbitrated loop, and
|
|
|
7dd887 |
-.IP 2.
|
|
|
7dd887 |
-make note of any new or removed sequential access devices
|
|
|
7dd887 |
-or medium changers.
|
|
|
7dd887 |
-.RE
|
|
|
7dd887 |
-.LP
|
|
|
7dd887 |
-The driver will output messages indicating which
|
|
|
7dd887 |
-devices have been added or removed and the controller, bus, target and
|
|
|
7dd887 |
-lun used to address each device.
|
|
|
7dd887 |
-The driver then notifies the SCSI midlayer
|
|
|
7dd887 |
-of these changes.
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-Note that the naming convention of the /proc file-system entries
|
|
|
7dd887 |
-contains a number in addition to the driver name
|
|
|
7dd887 |
-(e.g., "cciss0"
|
|
|
7dd887 |
-instead of just "cciss", which you might expect).
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-Note:
|
|
|
7dd887 |
-.I Only
|
|
|
7dd887 |
-sequential access devices and medium changers are presented
|
|
|
7dd887 |
-as SCSI devices to the SCSI midlayer by the
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-driver.
|
|
|
7dd887 |
-Specifically, physical SCSI disk drives are
|
|
|
7dd887 |
-.I not
|
|
|
7dd887 |
-presented to the SCSI midlayer.
|
|
|
7dd887 |
-The only disk devices that are presented to the kernel are logical
|
|
|
7dd887 |
-drives that the array controller constructs from regions on
|
|
|
7dd887 |
-the physical drives.
|
|
|
7dd887 |
-The logical drives are presented to the block layer
|
|
|
7dd887 |
-(not to the SCSI midlayer).
|
|
|
7dd887 |
-It is important for the driver to prevent the kernel from accessing the
|
|
|
7dd887 |
-physical drives directly, since these drives are used by the array
|
|
|
7dd887 |
-controller to construct the logical drives.
|
|
|
7dd887 |
-.SS SCSI error handling for tape drives and medium changers
|
|
|
7dd887 |
-The Linux SCSI midlayer provides an error-handling protocol that
|
|
|
7dd887 |
-is initiated whenever a SCSI command fails to complete within a
|
|
|
7dd887 |
-certain amount of time (which can vary depending on the command).
|
|
|
7dd887 |
-The
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-driver participates in this protocol to some extent.
|
|
|
7dd887 |
-The normal protocol is a four-step process:
|
|
|
7dd887 |
-.IP * 3
|
|
|
7dd887 |
-First, the device is told to abort the command.
|
|
|
7dd887 |
-.IP *
|
|
|
7dd887 |
-If that doesn't work, the device is reset.
|
|
|
7dd887 |
-.IP *
|
|
|
7dd887 |
-If that doesn't work, the SCSI bus is reset.
|
|
|
7dd887 |
-.IP *
|
|
|
7dd887 |
-If that doesn't work the host bus adapter is reset.
|
|
|
7dd887 |
-.LP
|
|
|
7dd887 |
-The
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-driver is a block
|
|
|
7dd887 |
-driver as well as a SCSI driver and only the tape drives and medium
|
|
|
7dd887 |
-changers are presented to the SCSI midlayer
|
|
|
7dd887 |
-Furthermore, unlike more
|
|
|
7dd887 |
-straightforward SCSI drivers, disk I/O continues through the block
|
|
|
7dd887 |
-side during the SCSI error-recovery process
|
|
|
7dd887 |
-Therefore, the
|
|
|
7dd887 |
-.B cciss
|
|
|
7dd887 |
-driver implements only the first two of these actions,
|
|
|
7dd887 |
-aborting the command, and resetting the device.
|
|
|
7dd887 |
-Note also that most tape drives will not oblige
|
|
|
7dd887 |
-in aborting commands, and sometimes it appears they will not even
|
|
|
7dd887 |
-obey a reset command, though in most circumstances they will.
|
|
|
7dd887 |
-If the command cannot be aborted and the device cannot be
|
|
|
7dd887 |
-reset, the device will be set offline.
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-In the event that the error-handling code is triggered and a tape drive is
|
|
|
7dd887 |
-successfully reset or the tardy command is successfully aborted, the
|
|
|
7dd887 |
-tape drive may still not allow I/O to continue until some command
|
|
|
7dd887 |
-is issued that positions the tape to a known position.
|
|
|
7dd887 |
-Typically you must rewind the tape (by issuing
|
|
|
7dd887 |
-.I "mt -f /dev/st0 rewind"
|
|
|
7dd887 |
-for example) before I/O can proceed again to a tape drive that was reset.
|
|
|
7dd887 |
+driver has been removed from RHEL-7.
|
|
|
7dd887 |
+Details can be found in RHEL-7.0 Release Notes.
|
|
|
7dd887 |
+Please use
|
|
|
7dd887 |
+.BR hpsa (4)
|
|
|
7dd887 |
+instead.
|
|
|
7dd887 |
.SH SEE ALSO
|
|
|
7dd887 |
.BR cciss_vol_status (8),
|
|
|
7dd887 |
.BR hpsa (4),
|
|
|
7dd887 |
.BR hpacucli (8),
|
|
|
7dd887 |
-.BR hpacuxe (8),
|
|
|
7dd887 |
-
|
|
|
7dd887 |
-.UR http://cciss.sf.net
|
|
|
7dd887 |
-.UE ,
|
|
|
7dd887 |
-and
|
|
|
7dd887 |
-.I Documentation/blockdev/cciss.txt
|
|
|
7dd887 |
-and
|
|
|
7dd887 |
-.I Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
|
|
|
7dd887 |
-in the Linux kernel source tree
|
|
|
7dd887 |
+.BR hpacuxe (8)
|
|
|
7dd887 |
.\" .SH AUTHORS
|
|
|
7dd887 |
.\" Don Brace, Steve Cameron, Chase Maupin, Mike Miller, Michael Ni,
|
|
|
7dd887 |
.\" Charles White, Francis Wiran
|
|
|
7dd887 |
--
|
|
|
7dd887 |
2.7.4
|
|
|
7dd887 |
|