Sponsored Content
Operating Systems HP-UX Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16) Post 302971762 by vbe on Monday 25th of April 2016 09:36:22 AM
Old 04-25-2016
Looks like you have to go and see on the server if there are no flashing led on the drive also, and take a cleaning tape with you I think it needs a feew passes of cleaning tape...

did you try offl option of mt to kick the tape out? As I suspect it will not give you back the tape... But if it works - quick give a clean, and check the drive, and be prepared to call HP support...
 

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)								   User Commands							     mt(1)

NAME
mt - magnetic tape control SYNOPSIS
mt [-f tapename] command... [count] DESCRIPTION
The mt utility sends commands to a magnetic tape drive. If -f tapename is not specified, the environment variable TAPE is used. If TAPE does not exist, mt uses the device /dev/rmt/0n. OPTIONS
The following option is supported: -f tapename Specifies the raw tape device. OPERANDS
The following operands are supported: count The number of times that the requested operation is to be performed. By default, mt performs command once. Multiple opera- tions of command may be performed by specifying count. command Available commands that can be sent to a magnetic tape drive. Only as many characters as are required to uniquely identify a command need be specified. eof Writes count EOF marks at the current position on the tape. weof fsf Forward spaces over count EOF marks. The tape is positioned on the first block of the file. fsr Forward spaces count records. bsf Back spaces over count EOF marks. The tape is positioned on the beginning-of-tape side of the EOF mark. bsr Back spaces count records. nbsf Back spaces count files. The tape is positioned on the first block of the file. This is equivalent to count+1 bsf's followed by one fsf. asf Specifies absolute space to count file number. This is equivalent to a rewind followed by a fsf count. If count is specified with any of the following commands, the count is ignored and the command is performed only once. eom Spaces to the end of recorded media on the tape. This is useful for appending files onto previously written tapes. rewind Rewinds the tape. offline Rewinds the tape and, if appropriate, takes the drive unit off-line by unloading the tape. rewoffl status Prints status information about the tape unit. retension Rewinds the cartridge tape completely, then winds it forward to the end of the reel and back to beginning- of-tape to smooth out tape tension. reserve Allows the tape drive to remain reserved after closing the device. The drive must then be explicitly released. release Re-establishes the default behavior of releasing at close. forcereserve Breaks the reservation of the tape drive held by another host and then reserves the tape drive. This com- mand can be executed only with super-user privileges. erase Erases the entire tape. Caution: Some tape drives have option settings where only portions of the tape may be erased. Be sure to select the correct setting to erase the whole tape. Erasing a tape may take a long time depending on the device and/or tape. Refer to the device specific manual for time details. config Reads the drives current configuration from the driver and displays it in st.conf format. See st(7D) for definition of fields and there meanings. EXIT STATUS
0 All operations were successful. 1 Command was unrecognized or mt was unable to open the specified tape drive. 2 An operation failed. FILES
/dev/rmt/* magnetic tape interface ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
tar(1), tcopy(1), ar.h(3HEAD), environ(4), attributes(5), mtio( 7I), st(7D) BUGS
Not all devices support all options. Some options are hardware-dependent. Refer to the corresponding device manual page. mt is architecture sensitive. Heterogeneous operation (that is, SPARC to x86 or the reverse) is not supported. SunOS 5.10 1 Sep 2004 mt(1)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy