Operating System - HP-UX
1748195 Members
2688 Online
108759 Solutions
New Discussion юеВ

Re: /dev/rmt/0mn: No such device or address

 
Sac77
Advisor

/dev/rmt/0mn: No such device or address

Hi Guys,

Could anyone please help me out...
I've to perform Ignite backup but whenever i try to access tape drive it prompt me an error - /dev/rmt/0mn: No such device or address.

Here are the logs which might help you -

ov[/dev/rmt]ll
total 0
crw-rw-rw- 2 bin bin 205 0x000000 Nov 6 2005 0m
crw-rw-rw- 2 bin bin 205 0x000080 Aug 10 2001 0mb
crw-rw-rw- 2 bin bin 205 0x000040 Aug 10 2001 0mn
crw-rw-rw- 2 bin bin 205 0x0000c0 Aug 10 2001 0mnb
crw-rw-rw- 2 bin bin 205 0x000000 Nov 6 2005 c0t0d0BEST
crw-rw-rw- 2 bin bin 205 0x000080 Aug 10 2001 c0t0d0BESTb
crw-rw-rw- 2 bin bin 205 0x000040 Aug 10 2001 c0t0d0BESTn
crw-rw-rw- 2 bin bin 205 0x0000c0 Aug 10 2001 c0t0d0BESTnb
crw-rw-rw- 1 bin bin 205 0x000001 Aug 10 2001 c0t0d0DDS
crw-rw-rw- 1 bin bin 205 0x000081 Aug 10 2001 c0t0d0DDSb
crw-rw-rw- 1 bin bin 205 0x000041 Aug 10 2001 c0t0d0DDSn
crw-rw-rw- 1 bin bin 205 0x0000c1 Aug 10 2001 c0t0d0DDSnb
crw-r--r-- 1 bin bin 205 0xfffffe Aug 10 2001 stape_config
ov[/dev/rmt]mt rew
/dev/rmt/0mnb: No such device or address
ov[/dev/rmt]ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c0t0d0BESTn /dev/rmt/c0t0d0DDSb
/dev/rmt/0mb /dev/rmt/c0t0d0BEST /dev/rmt/c0t0d0BESTnb /dev/rmt/c0t0d0DDSn
/dev/rmt/0mn /dev/rmt/c0t0d0BESTb /dev/rmt/c0t0d0DDS /dev/rmt/c0t0d0DDSnb
ov[/dev/rmt]mt -f /dev/rmt/0mn status
Drive: HP C1537A
Format:
Status: [0]
File: 0
Block: 0
ov[/dev/rmt]mt -f /dev/rmt/0m status
Drive: HP C1537A
Format:
Status: [0]
File: 0
Block: 0
ov[/dev/rmt]mt -f /dev/rmt/0mn rew
/dev/rmt/0mn: No such device or address
ov[/dev/rmt]mt -f /dev/rmt/0mn fsf 1
/dev/rmt/0mn: No such device or address
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: /dev/rmt/0mn: No such device or address

Shalom,

rmsf or delete the device file

insf -e

or reboot

Try again.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ganesan R
Honored Contributor

Re: /dev/rmt/0mn: No such device or address

Hi,

Try this,

#mv /dev/rmt/* /tmp/tape
#ioscan -fn
#insf -ev
Best wishes,

Ganesh.
Sac77
Advisor

Re: /dev/rmt/0mn: No such device or address

Hi Ganeshan,

I've tried your commands but some how i am still reciving the same mesg.

ov[/dev/rmt]ll
total 0
crw-rw-rw- 2 bin bin 205 0x000000 Nov 6 2005 0m
crw-rw-rw- 2 bin bin 205 0x000080 Aug 10 2001 0mb
crw-rw-rw- 2 bin bin 205 0x000040 Aug 10 2001 0mn
crw-rw-rw- 2 bin bin 205 0x0000c0 Aug 10 2001 0mnb
crw-rw-rw- 2 bin bin 205 0x000000 Nov 6 2005 c0t0d0BEST
crw-rw-rw- 2 bin bin 205 0x000080 Aug 10 2001 c0t0d0BESTb
crw-rw-rw- 2 bin bin 205 0x000040 Aug 10 2001 c0t0d0BESTn
crw-rw-rw- 2 bin bin 205 0x0000c0 Aug 10 2001 c0t0d0BESTnb
crw-rw-rw- 1 bin bin 205 0x000001 Aug 10 2001 c0t0d0DDS
crw-rw-rw- 1 bin bin 205 0x000081 Aug 10 2001 c0t0d0DDSb
crw-rw-rw- 1 bin bin 205 0x000041 Aug 10 2001 c0t0d0DDSn
crw-rw-rw- 1 bin bin 205 0x0000c1 Aug 10 2001 c0t0d0DDSnb
crw-r--r-- 1 bin bin 205 0xfffffe Aug 10 2001 stape_config
ov[/dev/rmt]mkdir /tmp/tape
ov[/dev/rmt]ll /tmp/tape
total 0
ov[/dev/rmt]mv /dev/rmt/* /tmp/tape
ov[/dev/rmt]ll /tmp/tape
total 0
crw-rw-rw- 1 bin bin 205 0x000000 Nov 6 2005 0m
crw-rw-rw- 1 bin bin 205 0x000080 Aug 10 2001 0mb
crw-rw-rw- 1 bin bin 205 0x000040 Aug 10 2001 0mn
crw-rw-rw- 1 bin bin 205 0x0000c0 Aug 10 2001 0mnb
crw-rw-rw- 1 bin bin 205 0x000000 Nov 6 2005 c0t0d0BEST
crw-rw-rw- 1 bin bin 205 0x000080 Aug 10 2001 c0t0d0BESTb
crw-rw-rw- 1 bin bin 205 0x000040 Aug 10 2001 c0t0d0BESTn
crw-rw-rw- 1 bin bin 205 0x0000c0 Aug 10 2001 c0t0d0BESTnb
crw-rw-rw- 1 bin bin 205 0x000001 Aug 10 2001 c0t0d0DDS
crw-rw-rw- 1 bin bin 205 0x000081 Aug 10 2001 c0t0d0DDSb
crw-rw-rw- 1 bin bin 205 0x000041 Aug 10 2001 c0t0d0DDSn
crw-rw-rw- 1 bin bin 205 0x0000c1 Aug 10 2001 c0t0d0DDSnb
crw-r--r-- 1 bin bin 205 0xfffffe Aug 10 2001 stape_config
ov[/dev/rmt]ll
total 0
ov[/dev/rmt]ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.0.0 stape CLAIMED DEVICE HP C1537A
ov[/dev/rmt]insf -ev
insf: Installing special files for btlan3 instance 0 address 0/0/0/0
insf: Installing special files for stape instance 0 address 0/0/1/0.0.0
making rmt/stape_config c 205 0xfffffe
making rmt/c0t0d0BEST c 205 0x000000
making rmt/c0t0d0BESTn c 205 0x000040
making rmt/c0t0d0BESTb c 205 0x000080
making rmt/c0t0d0BESTnb c 205 0x0000c0
making rmt/c0t0d0DDS c 205 0x000001
making rmt/c0t0d0DDSn c 205 0x000041
making rmt/c0t0d0DDSb c 205 0x000081
making rmt/c0t0d0DDSnb c 205 0x0000c1
insf: Installing special files for sctl instance 0 address 0/0/1/0.7.0
insf: Installing special files for sdisk instance 0 address 0/0/1/1.2.0
insf: Installing special files for sctl instance 1 address 0/0/1/1.7.0
insf: Installing special files for sdisk instance 1 address 0/0/2/0.2.0
insf: Installing special files for sctl instance 2 address 0/0/2/0.7.0
insf: Installing special files for sdisk instance 2 address 0/0/2/1.2.0
insf: Installing special files for sctl instance 3 address 0/0/2/1.7.0
insf: Installing special files for asio0 instance 0 address 0/0/4/0
insf: Installing special files for asio0 instance 1 address 0/0/5/0
insf: Installing special files for hub instance 0 address 0/7/0/0.1
insf: Installing special files for hid instance 0 address 0/7/0/0.1.2
insf: Installing special files for hid instance 1 address 0/7/0/0.1.3
insf: Installing special files for pseudo driver cn
insf: Installing special files for pseudo driver mm
insf: Installing special files for pseudo driver ptym
insf: Installing special files for pseudo driver ptys
insf: Installing special files for pseudo driver ip
insf: Installing special files for pseudo driver arp
insf: Installing special files for pseudo driver rawip
insf: Installing special files for pseudo driver tcp
insf: Installing special files for pseudo driver udp
insf: Installing special files for pseudo driver stcpmap
insf: Installing special files for pseudo driver nuls
insf: Installing special files for pseudo driver netqa
insf: Installing special files for pseudo driver dmem
insf: Installing special files for pseudo driver diag0
insf: Installing special files for pseudo driver telm
insf: Installing special files for pseudo driver tels
insf: Installing special files for pseudo driver tlclts
insf: Installing special files for pseudo driver tlcots
insf: Installing special files for pseudo driver tlcotsod
insf: Installing special files for pseudo driver dev_config
insf: Installing special files for pseudo driver strlog
insf: Installing special files for pseudo driver sad
insf: Installing special files for pseudo driver echo
insf: Installing special files for pseudo driver dlpi
insf: Installing special files for pseudo driver ptm
insf: Installing special files for pseudo driver pts
insf: Installing special files for pseudo driver beep
insf: Installing special files for pseudo driver framebuf
linking crt to crt0
linking ocrt to ocrt0
insf: Installing special files for pseudo driver diag1
insf: Installing special files for pseudo driver klog
insf: Installing special files for pseudo driver sy
insf: Installing special files for pseudo driver kepd
insf: Installing special files for pseudo driver diag2
insf: Installing special files for pseudo driver root
making rroot c 255 0xffffff
making root b 255 0xffffff
ov[/dev/rmt]ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c0t0d0BESTn /dev/rmt/c0t0d0DDSb
/dev/rmt/0mb /dev/rmt/c0t0d0BEST /dev/rmt/c0t0d0BESTnb /dev/rmt/c0t0d0DDSn
/dev/rmt/0mn /dev/rmt/c0t0d0BESTb /dev/rmt/c0t0d0DDS /dev/rmt/c0t0d0DDSnb
ov[/dev/rmt]mt -f /dev/rmt/0m rew
/dev/rmt/0m: No such device or address
ov[/dev/rmt]ll
total 0
crw-rw-rw- 2 bin bin 205 0x000000 Mar 30 23:00 0m
crw-rw-rw- 2 bin bin 205 0x000080 Mar 30 23:00 0mb
crw-rw-rw- 2 bin bin 205 0x000040 Mar 30 23:00 0mn
crw-rw-rw- 2 bin bin 205 0x0000c0 Mar 30 23:00 0mnb
crw-rw-rw- 2 bin bin 205 0x000000 Mar 30 23:00 c0t0d0BEST
crw-rw-rw- 2 bin bin 205 0x000080 Mar 30 23:00 c0t0d0BESTb
crw-rw-rw- 2 bin bin 205 0x000040 Mar 30 23:00 c0t0d0BESTn
crw-rw-rw- 2 bin bin 205 0x0000c0 Mar 30 23:00 c0t0d0BESTnb
crw-rw-rw- 1 bin bin 205 0x000001 Mar 30 23:00 c0t0d0DDS
crw-rw-rw- 1 bin bin 205 0x000081 Mar 30 23:00 c0t0d0DDSb
crw-rw-rw- 1 bin bin 205 0x000041 Mar 30 23:00 c0t0d0DDSn
crw-rw-rw- 1 bin bin 205 0x0000c1 Mar 30 23:00 c0t0d0DDSnb
crw-r--r-- 1 bin bin 205 0xfffffe Mar 30 23:00 stape_config
ov[/dev/rmt]
Ganesan R
Honored Contributor

Re: /dev/rmt/0mn: No such device or address

Hi,

Now you put a new media into the drive and try to access it.
Best wishes,

Ganesh.
Roland Piette
Regular Advisor

Re: /dev/rmt/0mn: No such device or address

Hi,

You get this kind of message when no tape is in the tape drive.

1) Be sure that a tape is push in, or eject it and re-introduce it.

2) Try with another tape.

3) You can also have and HW detection defect.

Regards
Sac77
Advisor

Re: /dev/rmt/0mn: No such device or address

Still reciving the same message -

ov[/dev/rmt]mt -f /dev/rmt/0m rew
/dev/rmt/0m: No such device or address
Roland Piette
Regular Advisor

Re: /dev/rmt/0mn: No such device or address

Did you try to change de tape drive ?
Regards
Torsten.
Acclaimed Contributor

Re: /dev/rmt/0mn: No such device or address

This looks like there is no or no valid tape loaded:

ov[/dev/rmt]mt -f /dev/rmt/0m status
Drive: HP C1537A
Format:
Status: [0]
File: 0
Block: 0


Your drive is a DDS3, what tapes are you using?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
S.Rider
Regular Advisor

Re: /dev/rmt/0mn: No such device or address

Try tar'ing to the drive - I'm seen that straighten out that problem with Ignite not working. If tar works, the drive and tape are okay.
Ride Boldly Ride, but watch out for El Dorado's