Forum Discussion

wannawin's avatar
wannawin
Level 6
11 years ago

Tape drives confusion

Hello Team,

The st drivers is the OS driver that create drive entries in /dev/rmt . There are 149 device entries under /dev/rmt but when i ran sgscan command then it shows 32 tape deivce entries only.

if /dev/rmt shows 149 device entries then there must be 149 tape drives configured at nbu end but it shows only 32 tape devices.

Secondly, if i want to rebuild the tape drives then what is the maximum number of target and luns i have to mention.

 

 

 

  • @wannawin

    Are you 100% sure that this large number of devices actually exist?

    It seems to be an aweful lot to be attached to a single host.

    When there is no Persistent Binding in place, the target numbers may change when the server is rebooted. The tape drives could then be added with new device addresses, while old entries are left in the /dev/rmt tree.

    Please do the following (procedure is safe because we are only working with symbolic links).

    # cd /dev/rmt
    # rm *
    # devfsadm -C -c tape
    # ls -l *cbn
    # ls -l *cbn |wc -l

22 Replies