/dev/rmt/0mn: write protected or reserved


 
Thread Tools Search this Thread
Operating Systems Solaris /dev/rmt/0mn: write protected or reserved
# 1  
Old 04-08-2010
/dev/rmt/0mn: write protected or reserved

# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0


mt -f /dev/rmt/0mn erase
/dev/rmt/0mn: write protected or reserved.

Getting error while ufsdump ....

--- Dumping / to /dev/rmt/0mn ---
DUMP: Date of this level 0 dump: Fri Apr 02 04:04:16 2010
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/md/rdsk/d0 /) to /dev/rmt/0mn.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 32 Kilobyte records
DUMP: Estimated 1594010 blocks (778.33MB).
DUMP: NEEDS ATTENTION: Cannot open `/dev/rmt/0mn'. Do you want to retry the open?: ("yes" or "no") YES

DUMP: NEEDS ATTENTION: Cannot open `/dev/rmt/0mn'. Do you want to retry the open?: ("yes" or "no") YES

DUMP: NEEDS ATTENTION: Cannot open `/dev/rmt/0mn'. Do you want to retry the open?: ("yes" or "no") YES

DUMP: NEEDS ATTENTION: Cannot open `/dev/rmt/0mn'. Do you want to retry the open?: ("yes" or "no") YES

---------- Post updated at 05:32 AM ---------- Previous update was at 04:28 AM ----------

The tape drive is connected on a sparc machine
# 2  
Old 04-08-2010
check if the tape is write protected..
# 3  
Old 04-09-2010
Yes please physically check the tape wethet it is write protected or not.
There will be a sliding door on the tape.That should be open.

Smilie
# 4  
Old 04-09-2010
Hi,

check the status of the tape drive with below command befor proceed

# mt -f /dev/rmt/n status
# 5  
Old 04-09-2010
Status is already showing "tape inside the drive"
Please check first post..

# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
# 6  
Old 04-12-2010
Some more checks:
Check that physical tape is DDS4 (not DDS3 or a Cleaning Tape).

Run unix "fuser" on all the /dev/rmt/0m* devices. Are there any stuck processes holding on to the device?

Have you run off the end of the tape?
All your commands use the "no-rewind" device and there is no "mt rewind" command posted.
Should an "mt erase" actually be using the "no-rewind" device?
Some devices don't allow "mt erase" - has this worked before?
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. AIX

/dev/rmt devices are missing

Hello, I attached a tape drive to one of my partitions but i cannot find the device. I run the command lsdev|grep rmt but i dont get anything in return. When i run lsslot -c slot i can see the slot number and the device that belongs to the tape drive but i cannot find any rmt files in /dev.... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

3. Hardware

/dev/rmt/0mn: write protected or reserved

# mt stat HP DDS-4 DAT (Sun) tape drive: sense key(0x0)= No Additional Sense residual= 0 retries= 0 file no= 0 block no= 0 mt -f /dev/rmt/0mn erase /dev/rmt/0mn: write protected or reserved. Getting error while ufsdump .... --- Dumping / to /dev/rmt/0mn --- DUMP: Date... (1 Reply)
Discussion started by: vickyingle5
1 Replies

4. Solaris

/dev/rmt is empty - Trying to make Tape Drive Functional

I have an HP Proliant DL380 with Intel Processors that I recently loaded Solaris 10 with latest patches on it. I'm trying to do a ufsdump to an HP DAT 40 tape drive via SCSI, but I can't get it to do anything because /dev/rmt is empty. I've tried the following with luck: touch /reconfigure,... (7 Replies)
Discussion started by: cvaughn
7 Replies

5. AIX

How to prevent /dev/rmt* re-assignments

Hi all, Sometimes, when I reboot my AIX server, my tape drive /dev/rmt# assignments change. This creates some tedious TSM work prior to and after a reboot of the server. Is there a way to ensure that the /dev/rmt# assignments come up the same every time? Thanks (5 Replies)
Discussion started by: jwholey
5 Replies

6. Solaris

Empty /dev/rmt

Hi Guys, I a newbie in Unix environment. I need a help to detect my external SCSI tape drive. I tried with command drvconfig;devlinks;tapes.. but when I go to /dev/rmt/, the directory is still empty. I also tried with add_drv -v st but I'm getting this message # add_drv -v st exit... (8 Replies)
Discussion started by: akuslive
8 Replies

7. AIX

dev/rmt 0.1 block size is 0; variable; must be 1024 fixed.

Hi. After the shutdown for SWIFT Alliance Server, tape backup process will be done. Unfortunately, I encountered this error message when I performed the database tape backup. The error was "/dev/rmt 0.1 block size is 0; variable; must be 1024 fixed. Consider reconfiguration through 'chdev'... (2 Replies)
Discussion started by: MariaLuisa
2 Replies

8. UNIX for Dummies Questions & Answers

"/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....... :confused: (4 Replies)
Discussion started by: shorty
4 Replies

9. Solaris

/dev/rmt empty

hi all , i have just installed solris 9 on a sun 280R ,and i have appleid the recommended patches . after the installation i have found that /dev/rmt/ directory is empty , i thought that was normal , so i attached my DDS4 external tape drive and treid : devfsadm -C devfsadm -v reboot --... (1 Reply)
Discussion started by: ppass
1 Replies

10. UNIX for Dummies Questions & Answers

/dev/rmt/0cn

Following the below info: ---------------------------------------------------------------------------------- # SYNTAX: /dev/rmt/<unit number><density> · Density: l, m, h, u/c (low, medium, high, ultra/compressed, respectively) · BSD behavior: (optional) b · no rewind: (optional) n · For... (5 Replies)
Discussion started by: guest100
5 Replies
Login or Register to Ask a Question