Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TAPE DRIVE

Status
Not open for further replies.

johny2K

Technical User
Dec 19, 2001
184
CA
I just want to re-cover my tape drives. both are attached but for unknown reason, the system couldn't use it.

root@ola: /dev/ntape>hwmgr -show scsi

SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
62: 0 ola disk none 2 1 dsk0 [0/0/0]
63: 2 ola cdrom none 0 1 cdrom0 [3/0/0]
64: 1 ola tape none 0 1 (null)
65: 3 ola tape none 0 1 (null)

66: 4 ola disk none 2 1 dsk1 [7/0/0]
71: 7 oladisk none 2 1 dsk4 [7/0/3]

thanks in-advance.
 
Here is a brief extract from my notes:

Check special device files exist and can "see" the tape drives (these should be created automatically)
ls -al /dev/ntape/t*
file /dev/ntape/tape?
(NB check SCSI and LUN information is returned)

Scan and show the SCSI bus
hwmgr -scan scsi
hwmgr -show scsi [-full]
(NB optional -full will show devices with "stale" paths

Delete devices with "stale" paths
hwmgr -delete component-id <HWID-number>

Other useful show commands
hwmgr -view devices
hwmgr -view hierarchy


I hope that helps

Mike
 
i appreciate your help mike. i was able to cleanup "stale path".

the tape drives are still NOT showing up. usually, it's /dev/ntape/tape1 or /dev/ntape/tap2 for drive 1 and 2, respectively.

the system is telling me - no such device.

do i need to re-configure my system to scan and include attached device?
 
Have any hardware changes occured ? Is it possible their SCSI IDs have changed or be the same ? (Due to the replacement of a faulty drive). How about removing one tape drive to see whether the other one can be 'seen' by the system. The old scu commands from V4.0x days still work, so please try:
scu scan edt
scu show edt

and post the relevant part of the output.
Also make sure the special devices files are present with:
ls -lL /dev/ntape
ls -lL /dev/tape

and post the set(s) of devices present, (eg tape0 [_d0 to _d7] and tape1 [_d0 to _d7])

From memory you shouldn't need to re-configure the system (rebuild the kernel), provided the system hardware hasn't changed.

Just a thought, were the tape drives powered on and connect to the system via SCSI cables when the system was booted ?

I hope that helps.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top