Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an equivalent to:

luxadm disp *disk*

for Red Hat? I need to check that all the device address to the SAN are ONLINE for a certain disk.

share|improve this question
up vote 1 down vote accepted

The command

systool -b scsi -v

Device = "1:0:0:2"
Device path = "/sys/devices/pci0000:00/0000:00:07.0/0000:06:00.1/host1/rport-1:0-0/target1:0:0/1:0:0:2"
delete              = <store method only>
device_blocked      = "0"
dh_state            = "detached"
iocounterbits       = "32"
iodone_cnt          = "0x6b8e2e"
ioerr_cnt           = "0x0"
iorequest_cnt       = "0x6b8e2e"
model               = "OPEN-V          "
queue_depth         = "32"
queue_type          = "none"
rescan              = <store method only>
rev                 = "6008"
scsi_level          = "4"
state               = "running"
timeout             = "60"
type                = "0"
uevent              = <store method only>
vendor              = "HP      "

does exatcly what I need.

share|improve this answer

lsscsi, see: http://linux.die.net/man/8/lsscsi, may be what you're looking for.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.