Sponsored Content
Operating Systems HP-UX Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16) Post 302971766 by anuragr on Monday 25th of April 2016 10:12:57 AM
Old 04-25-2016
Hi,
I did manual ejection of tape and also did a restart to tape drive. Tomorrow i am planning to give the syatem a reboot if no solution found. Any suggestion while rebooting the system with respect to tape.
@ joeyg .. i will make sure to eject tape while reboot.
@vbe .. i will try to make it offline before reboot but is it possible to make it online via cmd or physical intervention required.

Any help will highly appreciated.
 

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Dummies Questions & Answers

mt command shows /dev/tape: inappropriate ioctl for device

Hello guys, on my Red Hat machine the /bin/mt status command gives the output dev/tape: inappropriate ioctl for device. This messages comes up after the Server has been rebooted. Anybody an idea? Thx masterofdesaster (8 Replies)
Discussion started by: masterofdesaste
8 Replies

3. UNIX Desktop Questions & Answers

cygwin /dev/ttyS2: Device or resource busy

Ciao a tutti!!! il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni: xterm & Sul primo scrivo cat /dev/ttyS2 ... (0 Replies)
Discussion started by: blianna
0 Replies

4. UNIX and Linux Applications

/dev/ttyS2 device or resource busy

Ciao a tutti!!! il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni: xterm & Sul primo scrivo cat /dev/ttyS2 ... (1 Reply)
Discussion started by: blianna
1 Replies

5. SuSE

Tape Loader Device /dev/sgN is altering after each reboot

Dear all, we are running SLES 11 where an iscsi tape library is attached. To load the tape in a slot we are using for instance the command #mtx -f /dev/sg1 load 2 which is doing very well. But after a server's reboot the device name of the loader is now /dev/sg4 or /dev/sg5 I mean it is... (1 Reply)
Discussion started by: xunil321
1 Replies

6. 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

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

8. Solaris

/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... (5 Replies)
Discussion started by: vickyingle5
5 Replies

9. Hardware

/dev/ttyS0: Device or resource busy

hello to everybody I have Ubuntu Lucid 10.04 installed on my Desktop and I have a PCI serial card in my computer and it has only one serial port. Actually I want to use this serial port for the serial communication and for that I executed this command : $ setserial -g /dev/ttyS and I... (0 Replies)
Discussion started by: piyush011
0 Replies

10. UNIX for Advanced & Expert Users

lvm swapon failed Device or resource busy

Is there a trick to mounting swap in n a lvm? I can't get it to work. # swapon -va swapon on /dev/mapper/VG-lv_swap swapon: /dev/mapper/VG-lv_swap: found swap signature: version 1, page-size 4, same byte order swapon: /dev/mapper/VG-lv_swap: pagesize=4096, swapsize=4294967296,... (1 Reply)
Discussion started by: cokedude
1 Replies
MT(1)							    BSD General Commands Manual 						     MT(1)

NAME
mt -- magnetic tape manipulation SYNOPSIS
mt [-f tapename] command [count] DESCRIPTION
The mt program is used to give commands to a magnetic tape drive. By default mt performs the requested operation once. Operations may be performed multiple times by specifying count. Note that tapename must reference a raw (not block) tape device. If tapename is of the form "host:tapename", or "user@host:tapename", mt writes to the named tape device on the remote host using rmt(8). The rmt(8) process on the remote host is typically initiated via rsh(1), although an alternate method such as ssh(1) can be specified via the RCMD_CMD environment variable. The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. asf Move forward count files from the beginning of the tape. This is accomplished by a rewind followed by fsf count. eof, weof Write count end-of-file marks at the current position on the tape. fsf Forward space count files. fsr Forward space count records. bsf Back space count files. bsr Back space count records. rewind Rewind the tape. (The count is ignored.) offline, rewoffl Rewind the tape and place the tape unit off-line. Where supported, this ejects the tape. (The count is ignored.) status Print status information about the tape unit. (The count is ignored.) retension Retensions the tape. Not all tape drives support this feature. (The count is ignored.) erase Erases the tape Not all tape drives support this feature. (The count is ignored.) eew Enable or disable early warning EOM behaviour. Set count to nonzero to enable, zero to disable. eom Forward space to the end of recorded media. (The count is ignored.) blocksize, setblk Set the tape blocksize to count bytes. A count of zero sets variable blocksize. density, setdensity Set the tape density code to count as specified in the SCSI-3 specification. See the DENSITY CODES section for a list of codes for commonly used media types. rdspos Read the logical block position of the tape. Not all tape drives support this feature. (The count is ignored.) rdhpos Read the hardware block position of the tape. Not all tape drives support this feature. (The count is ignored.) setspos Set the logical block position of the tape to count. Not all tape drives support this feature. sethpos Set the hardware block position of the tape to count. Not all tape drives support this feature. compress If count is zero, disable compression. Otherwise enable compression. Not all tape drives support this feature. If a tape name is not specified, and the environment variable TAPE is not set, then mt uses the device /dev/nrst0. ENVIRONMENT
If the following environment variables exist, they are used by mt. TAPE mt uses device filename given in the TAPE environment variable if the tapename argument is not given. RCMD_CMD mt will use RCMD_CMD rather than /usr/bin/rsh to invoke rmt(8) on a remote machine. The full path name must be specified. FILES
/dev/rst* Raw SCSI tape device /dev/rmt* Raw magnetic tape device EXIT STATUS
mt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed. DENSITY CODES
The SCSI-3 specification defines a number of density codes for various tape media, some of which are listed here. Note that many tape drive vendors also define model-specific codes. Code Format 0 Device default 1 1/2" 800 bpi 2 1/2" 1600 bpi 3 1/2" 6250 bpi 4 QIC-11 5 QIC-24 15 QIC-120 16 QIC-150 17 QIC-320/525 18 QIC-1320/1350 19 DDS 28 QIC-385M 29 QIC-410M 30 QIC-1000C 31 QIC-2100C 32 QIC-6GB 33 QIC-20GB 34 QIC-2GB 35 QIC-875M 36 DDS-2 37 DDS-3 38 DDS-4 SEE ALSO
dd(1), ioctl(2), mtio(4), st(4), environ(7) HISTORY
The mt utility appeared in 4.3BSD. BSD
March 9, 2008 BSD
All times are GMT -4. The time now is 02:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy