Showing results for 
Search instead for 
Did you mean: 


Go to solution


could you please tell me how can I know what is the device assigned to a tape????

I mean, like ioscan for HP UX

I am using mt rewind command and the output is the following

pppp:root:> mt rewind
/dev/nrmt0h: No such device or address

I don´t know exactly if the drive has a tape, because I am working with a remote server!!
Steven Schweda
Honored Contributor

Re: ioscan

Does this question mean that you can close
the "mt" thread?

You might get something useful from:

/sbin/hwmgr -view devices

"/usr/sbin/sysman" can be helpful, too.

See also:

Ivan Ferreira
Honored Contributor

Re: ioscan

Combining your questions, I see that you want to use the mt to rewind the tape but you don't find the tape device.

To identify your tape device special file use:

hwmgr v d -cat tape

This will list the names of the tape special files, then use something like:

mt -f /dev/ntape/tape0c rewind
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vladimir Fabecic
Honored Contributor

Re: ioscan

pppp:root:> mt rewind
/dev/nrmt0h: No such device or address

Looks like your OS version is V4.X
In that case send output of these commands:
# scu show edt
# ls /dev/rmt*
# ls /dev/nrmt*
# file /dev/rmt*
# file /dev/nrmt*
In vino veritas, in VMS cluster