The sjirelem program tests the SJIRELEM command on SJI-compliant autochangers. The SJIRELEM command reads media presence and origin data from an autochanger. The following example shows the correct usage for the sjirelem program:
sjirelem device-name |
The device-name option used with the sjirelem program represents any device name that can be used to reach an SJI-compliant autochanger driven by the system, typically in the form b.t.l, where b is the logical SCSI bus, t is the SCSI target, and l is the SCSI lun on that target (for example, scsidev@0.4.0).
The following example represents typical output from the SJIRELEM command:
Element Data for 0.4.0, Element Type DATA TRANSPORT: Elem[001]: pres_val=1 med_pres=1 med_side=0 Origin: type STORAGE, address 5 Element Data for 0.4.0, Element Type STORAGE: Elem[001]: pres_val=1 med_pres=1 med_side=0 Elem[002]: pres_val=1 med_pres=1 med_side=0 Elem[003]: pres_val=1 med_pres=1 med_side=0 Elem[004]: pres_val=1 med_pres=1 med_side=0 Elem[005]: pres_val=1 med_pres=0 med_side=0 Elem[006]: pres_val=1 med_pres=1 med_side=0 Elem[007]: pres_val=1 med_pres=1 med_side=0 Element Data for 0.4.0, Element Type MEDIA TRANSPORT: Elem[001]: pres_val=1 med_pres=0 med_side=0 |