04-13-2009
tape device files constantly being recreated
Hi,
We've been having problems with our NetWorker Silo servers (running HP-UX) concerning the tape device files under /dev/rmt. For some reason they are constantly being removed/recreated (up to a couple of times per hour):
crw-rw-rw- 1 bin bin 205 0x240300 Apr 5 19:07 c36t0d3BEST
crw-rw-rw- 1 bin bin 205 0x240380 Apr 5 19:07 c36t0d3BESTb
crw-rw-rw- 1 bin bin 205 0x240340 Apr 5 19:07 c36t0d3BESTn
crw-rw-rw- 1 bin bin 205 0x2403c0 Apr 13 03:08 c36t0d3BESTnb
As you can see the original file is from April 5th and the new one was created today.
Periodically the device file will fail to be recreated and errors such as this will appear in the syslog:
Apr 9 08:21:08 lgtobk2 vmunix: 0/4/2/0: Inquiry failed on FCP device with device id 0x7e0202
Would anyone have an idea of what is occurring here? I'm by no means an expert on how NetWorker/Legato works so I dunno if this problem would be on the OS side or EMC's side. Thanks!
UPDATE:
Would the fact that the IBM devices are using the stape instead of the IBM atdd driver be causing this?
ioscan...
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 0 0/1/1/1.1.0 stape CLAIMED DEVICE HP C5683A
tape 11 0/2/1/0.111.9.2.0.0.0 stape CLAIMED DEVICE IBM ULTRIUM-TD2
tape 18 0/2/1/0.111.9.2.0.0.1 stape CLAIMED DEVICE IBM ULTRIUM-TD2
tape 19 0/2/1/0.111.9.2.0.0.2 stape CLAIMED DEVICE IBM ULTRIUM-TD2
tape 20 0/2/1/0.111.9.2.0.0.3 stape CLAIMED DEVICE IBM ULTRIUM-TD2
tape 30 0/2/1/0.111.9.2.0.0.4 stape CLAIMED DEVICE IBM ULTRIUM-TD2
tape 31 0/2/1/0.111.9.2.0.0.5 stape CLAIMED DEVICE IBM ULTRIUM-TD2
tape 55 0/2/1/0.111.9.2.0.0.6 stape CLAIMED DEVICE IBM ULTRIUM-TD2
tape 56 0/2/1/0.111.9.2.0.0.7 stape CLAIMED DEVICE IBM ULTRIUM-TD2
Last edited by piper28; 04-13-2009 at 12:02 PM..
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I have problem detecting my tape drive.
In SAM, once I click on the either Automated Backups or Interactive Backup and Recovery icon, the screen will prompt searching for device and ..... nothing appears in the list.
In the end, I have the kill the SAM process and reboot the system and... (1 Reply)
Discussion started by: jennifer
1 Replies
2. UNIX for Dummies Questions & Answers
Eh... what the title says. :) (8 Replies)
Discussion started by: PSC
8 Replies
3. UNIX for Advanced & Expert Users
Hi,
1- how can I find my tape device on my server ?
2-I have a backup of a data base distributed on several file system. How using tar -x can I extract from tape to each apropriate file system ? For exemple the data base was on /d1 ; /d2 ; and /d3. Now I cd to which /dn and use tar -xvf /dev/nm0... (0 Replies)
Discussion started by: big123456
0 Replies
4. Solaris
Hi,
Someone knows hot to create a flash archive to a remote tape device?
Here is my try:
$flarcreate -n nereus -S -t lisdev:/dev/rmt/1n
WARNING: hash generation disabled when using tape (-t)
current filter settings
Creating the archive...
ERROR: Unable to work archive.
Regards (4 Replies)
Discussion started by: spacewalker
4 Replies
5. Solaris
Hi to all,
I´m recovering a Solaris box trough jumpstart with restore of a flash archive on tape. The tape device is recognized by OBP in probe-scsi-all and by the operating system that is instaled on that box where i want to restore flar as /dev/rmt/2. But when a i boot with " (0) ok boot net -... (0 Replies)
Discussion started by: spacewalker
0 Replies
6. UNIX for Dummies Questions & Answers
I disconected external device which was configured as rmt0. When I connect it again and run cfgmgr device name has changed (internal drive which was rmt1 is now rmt0 and external drive was rmt0 and is rmt1) and I dont know how to back it out. The thing is that for all backups I use new modell... (2 Replies)
Discussion started by: fraydey
2 Replies
7. Solaris
After we upgraded one PW450 machine from (networker 7.2 & solaris 9) to (networker 7.4 and solaris 10) through scratch installation
Only one of two HP tape drives is shown in inquire command
And we are getting strange logs in messages file (attached)
For 2nd drive 1cbn character specific file... (4 Replies)
Discussion started by: kashif_islam
4 Replies
8. AIX
Hi All,
After (by accident) closing a session that ran a restore command I can not access the tape drive anymore.
I get the following error:
# tctl -f /dev/rmt0 rewind
/dev/rmt0: Resource temporarily unavailable
But I cannot find any processes associated with the tape device:
# ps... (2 Replies)
Discussion started by: petervg
2 Replies
9. AIX
Hi all
The situation is as follows:
We need to take an mksysb image from an AIX 6.1 server. From some reason (irrelevant to this discussion) this server does not have access to a local CD-ROM or a tape drive. We do have another server with AIX 6.1 (but different technology level) which got access... (1 Reply)
Discussion started by: abohmeed
1 Replies
10. HP-UX
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
mt(1) General Commands Manual mt(1)
Name
mt - magnetic tape manipulating program
Syntax
mt [-f tapename] command [count]
Description
The command permits the operation of a magnetic tape drive.
Options
The -f flag option uses the specified tape device (next argument) in place of either that tape device defined by your TAPE environment
variable (.login or .profile) or /dev/nrmt0h.
Some operations may be performed multiple times by specifying count. By default, performs the requested operation once.
The command argument defines the operation to be performed. Only as many characters as are required to uniquely identify a command need be
specified.
The following is a list of commands:
bsf Backspace count files.
bsr Backspace count records.
cache Allows to use the cache buffer on a tape drive that has the cache buffer feature.
clhrdsf Clear hardware/software problem. Works with tape drives which use the TMSCP tape controller interface This command is
restricted to root access only.
clserex Clear serious exception. Works with tape drives which use the TMSCP tape controller interface
clsub Clear subsystem. Works with tape drives which use the TMSCP tape controller interface This command is restricted to
root access only.
eof, weof Write count end-of-file marks at the current position on the tape.
eotdis Disable end-of-tape detection. When the end of tape is reached, the tape will run off the reel. Only the superuser
can issue this command. The command remains in effect for the device until end-of-tape detection is enabled with the
eoten command.
eoten Enable end-of-tape detection. When the end-of-tape markers are reached, the tape is halted on the reel, between the
two end-of-tape markers. Only the superuser can issue this command. The command remains in effect for the device
until end-of-tape detection is disabled with the eotdis command. This is the default mode after a system boot.
fsf Forward-space count files.
fsr Forward-space count records.
nocache Disables the use of the cache buffer for any tape drive that has the cache buffer feature.
offline, rewoffl Rewind the tape and place the tape unit off-line.
retension Retensions the tape. Retension means moving the tape one complete pass between EOT and BOT.
rewind Rewind the tape.
status Print status information about the tape unit.
Examples
This example shows how to rewind the tape
mt -f /dev/rmt0l rewind
This example shows how to backspace the tape nmt1h three files:
mt -f /dev/nrmt1h bsf 3
This example shows how to write two end-of-file marks at the current position on tape nmt6h:
mt -f /dev/nrmt6h eof 2
Return Values
In shell scripts, returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation
failed.
Files
/dev/rmt?h or /dev/rmt?l
Raw magnetic tape interface with rewind when closed
/dev/nmt?h or /dev/nmt?l
Raw magnetic tape interface with no rewind when closed
See Also
dd(1), tar(1), ioctl(2), mtio(4), tms(4), environ(7)
mt(1)