"/dev/rmt/0: No such device or address" when using mt command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers "/dev/rmt/0: No such device or address" when using mt command
# 1  
Old 10-11-2006
"/dev/rmt/0: No such device or address" when using mt command

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

I get this when I do a "mt -f /dev/rmt/0 rewind"

This is on a Solaris 7 system.
I tried

devfsadm -c tape

and

drvconfig ; tape

and both didn't work.

Help please....... Smilie
# 2  
Old 10-11-2006
What is listed in /dev/rmt ? If you have a tape drive on the server, and you run the commands you did or do a reboot with reconfigure, it will see the tape drive and give it a new number...try the last/largest number versus 0.
# 3  
Old 10-11-2006
I tried 0-9 but still nothing. Here is the /dev/rmt........

0 0hn 0u 1cn 1mb 2bn 2lb 2ubn 3hb 3mn 4cb 4ln
0b 0l 0ub 1h 1mbn 2c 2lbn 2un 3hbn 3n 4cbn 4m
0bn 0lb 0ubn 1hb 1mn 2cb 2ln 3 3hn 3u 4cn 4mb
0c 0lbn 0un 1hbn 1n 2cbn 2m 3b 3l 3ub 4h 4mbn
0cb 0ln 1 1hn 1u 2cn 2mb 3bn 3lb 3ubn 4hb 4mn
0cbn 0m 1b 1l 1ub 2h 2mbn 3c 3lbn 3un 4hbn 4n
0cn 0mb 1bn 1lb 1ubn 2hb 2mn 3cb 3ln 4 4hn 4u
0h 0mbn 1c 1lbn 1un 2hbn 2n 3cbn 3m 4b 4l 4ub
0hb 0mn 1cb 1ln 2 2hn 2u 3cn 3mb 4bn 4lb 4ubn
0hbn 0n 1cbn 1m 2b 2l 2ub 3h 3mbn 4c 4lbn 4un
# 4  
Old 10-11-2006
Check the connections from the server to the tape - more than likely you should be using /dev/rmt/4. You might want to just remove /dev/rmt/* and then try getting it to see the tape drive again (making it /dev/rmt/0 ). Are you sure it's a good tape drive? Got the scsi terminator on or is it self terminating?
# 5  
Old 10-12-2006
#rm /dev/rmt/*
#drvconfig -i st
#tapes

Then

#mt status (should find /dev/rmt/0)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

3. UNIX for Dummies Questions & Answers

Finding e-mail address using "find" command

any useful command to find and e-mail address hardcoded into a cfg file on an specific server? I already tried with:: find . -type f | xargs grep -l "nobody@foundstone.com" Thanks!! (1 Reply)
Discussion started by: JLo5621
1 Replies

4. Shell Programming and Scripting

tcsh - understanding difference between "echo string" and "echo string > /dev/stdout"

I came across and unexpected behavior with redirections in tcsh. I know, csh is not best for redirections, but I'd like to understand what is happening here. I have following script (called out_to_streams.csh): #!/bin/tcsh -f echo Redirected to STDOUT > /dev/stdout echo Redirected to... (2 Replies)
Discussion started by: marcink
2 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Emergency UNIX and Linux Support

Mapping between "Pseudo name" and "Logical device ID" in powerpath with SVM changed....

Dear All, I was having powerpath 5.2 on SUN server with SVM connected to CLARIION box.Please find the following output : root # powermt display dev=all Pseudo name=emcpower3a CLARiiON ID=CK200073400372 Logical device ID=60060160685D1E004DD97FB647BFDC11 state=alive; policy=CLAROpt;... (1 Reply)
Discussion started by: Reboot
1 Replies

7. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

8. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

9. HP-UX

Problems with "show device" command

I have a DS25 and when i run "show device" don't appear my 'dka.....' and 'dkb....' devices, but i know they must be there, where could be the error? what can i do to see them? (3 Replies)
Discussion started by: Lestat
3 Replies

10. UNIX for Advanced & Expert Users

Problems with "show device" command

I have a DS25 and when i run "show device" don't appear my 'dka.....' and 'dkb....' devices, but i know they must be there, where could be the error? what can i do to see them? I'm using Tru64 PD: Im so sorry if i repeat this Q but i really need an answer and i dunno where to ask... (6 Replies)
Discussion started by: Lestat
6 Replies
Login or Register to Ask a Question