Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   offline /sys/class/scsi_device/*/device/state (http://www.linux-archive.org/red-hat-linux/596134-offline-sys-class-scsi_device-device-state.html)

Yong Huang 11-08-2011 11:01 PM

offline /sys/class/scsi_device/*/device/state
 
This is Red Hat 4. We use IBM's sdd (Subsystem Device Driver) for device
multipath. Note the degrade state below:

# datapath query adapter

Active Adapters :2

Adpt# Name State Mode Select Errors Paths Active
0 Host0Channel0 DEGRAD ACTIVE 1065540982 30 28 23
1 Host1Channel0 DEGRAD ACTIVE 1021183874 30 28 22

and some SCSI devices' state is offline:

# find /sys/class/scsi_device/*/device/state -exec grep offline {} /dev/null ;
/sys/class/scsi_device/0:0:1:11/device/state:offline
/sys/class/scsi_device/0:0:1:12/device/state:offline
/sys/class/scsi_device/0:0:1:13/device/state:offline
/sys/class/scsi_device/1:0:0:10/device/state:offline
/sys/class/scsi_device/1:0:0:11/device/state:offline
/sys/class/scsi_device/1:0:0:12/device/state:offline
/sys/class/scsi_device/1:0:0:13/device/state:offline

Storage is provided by HP. Running commands `hp_rescan -a' followed by
`cfgcpath' made no difference.

Fortunately, the software running on the box, i.e. Oracle database, has
no problem. But I wonder if something is wrong and potentially can cause
issues. Thanks.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 05:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.