User Tools

Site Tools


linux:linuxppc_devices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:linuxppc_devices [2025/04/28 16:42]
manu
linux:linuxppc_devices [2025/04/28 17:01] (current)
manu [Device not found]
Line 352: Line 352:
 <cli prompt='#'>​ <cli prompt='#'>​
 for i in $(ls /​sys/​class/​scsi_host/​host*/​scan);​ do echo "- - -" > $i; done for i in $(ls /​sys/​class/​scsi_host/​host*/​scan);​ do echo "- - -" > $i; done
 +</​cli>​
 +
 +==== Connections to VIOS ====
 +
 +<cli prompt='#'>​
 +[root@lnx001 /​root/​scripts]$ systool -c scsi_host -v
 +Class = "​scsi_host"​
 +
 +  Class Device = "​host0"​
 +  Class Device path = "/​sys/​devices/​vio/​30000002/​host0/​scsi_host/​host0"​
 +    active_mode ​        = "​Initiator"​
 +    can_queue ​          = "​100"​
 +    cmd_per_lun ​        = "​16"​
 +    config ​             =
 +    eh_deadline ​        = "​off"​
 +    host_busy ​          = "​0"​
 +    host_reset ​         = <store method only>
 +    mad_version ​        = "​1"​
 +    nr_hw_queues ​       = "​1"​
 +    os_type ​            = "​3"​
 +    partition_name ​     = "​VIOS01"​
 +    partition_number ​   = "​2"​
 +    proc_name ​          = "​ibmvscsi"​
 +    prot_capabilities ​  = "​0"​
 +    prot_guard_type ​    = "​0"​
 +    scan                = <store method only>
 +    sg_prot_tablesize ​  = "​0"​
 +    sg_tablesize ​       = "​128"​
 +    srp_version ​        = "​16.a"​
 +    state               = "​running"​
 +    supported_mode ​     = "​Initiator"​
 +    uevent ​             =
 +    unchecked_isa_dma ​  = "​0"​
 +    unique_id ​          = "​0"​
 +    use_blk_mq ​         = "​1"​
 +    vhost_loc ​          = "​U9009.22G.xxxxxxx-V20-C2-T1"​
 +    vhost_name ​         = "​vhost13"​
 +
 +    Device = "​host0"​
 +    Device path = "/​sys/​devices/​vio/​30000002/​host0"​
 +      uevent ​             = "​DEVTYPE=scsi_host"​
 +
 +
 +  Class Device = "​host1"​
 +  Class Device path = "/​sys/​devices/​vio/​30000003/​host1/​scsi_host/​host1"​
 +    active_mode ​        = "​Initiator"​
 +    can_queue ​          = "​100"​
 +    capabilities ​       = "​105d"​
 +    cmd_per_lun ​        = "​16"​
 +    device_name ​        = "​vfchost21"​
 +    drc_name ​           = "​U9009.22G.78D0270-V2-C38"​
 +    eh_deadline ​        = "​off"​
 +    host_busy ​          = "​0"​
 +    host_reset ​         = <store method only>
 +    log_level ​          = "​2"​
 +    npiv_version ​       = "​2"​
 +    nr_hw_queues ​       = "​1"​
 +    nr_scsi_channels ​   = "​1"​
 +    partition_name ​     = "​VIOS01"​
 +    port_loc_code ​      = "​U78D3.001.xxxxxxx-P1-C10-T2"​
 +    proc_name ​          = "​ibmvfc"​
 +    prot_capabilities ​  = "​0"​
 +    prot_guard_type ​    = "​0"​
 +    scan                = <store method only>
 +    sg_prot_tablesize ​  = "​0"​
 +    sg_tablesize ​       = "​128"​
 +    state               = "​running"​
 +    supported_mode ​     = "​Initiator"​
 +    trace               = "​▒G{e"​
 +    uevent ​             =
 +    unchecked_isa_dma ​  = "​0"​
 +    unique_id ​          = "​1"​
 +    use_blk_mq ​         = "​1"​
 +
 +    Device = "​host1"​
 +    Device path = "/​sys/​devices/​vio/​30000003/​host1"​
 +      uevent ​             = "​DEVTYPE=scsi_host"​
 </​cli>​ </​cli>​
  
linux/linuxppc_devices.1745851337.txt.gz · Last modified: 2025/04/28 16:42 by manu