cancel
Showing results for 
Search instead for 
Did you mean: 

ioscan

SOLVED
Go to solution

ioscan

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!!
3 REPLIES
Steven Schweda
Honored Contributor
Solution

Re: ioscan

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

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1088215

You might get something useful from:

/sbin/hwmgr -view devices

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

See also:

http://h30097.www3.hp.com/docs/

http://h30097.www3.hp.com/docs/pub_page/doc_list.html

[...]
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