Failing to write retrieve script for tape to disk conversion
I have the below script which has been written to retrieve files from tape drive i.e. TSM server. Now i have to write the script using UNIX commands for retrieve operation but I am not able to proceed. The script is:
Please advise and let me know in case you need any information.
Last edited by Yogesh Sawant; 07-21-2009 at 07:31 AM..
Reason: added code tags
Hi!
We have an Oracle db export that was compressed and written to DLT tape directly!- This is from box1
The next step is to restore the contents of the tape into the database on box2. The problem is that there is no DLT tape drive attached to box2. There is a box3 that has the tape drive... (1 Reply)
Hi all,
I need to write on a tape drive with AIX5.3.
How to know the name of this tape and what is the procedure to write on this tape?
Regards,
Tovo (1 Reply)
Hi:
I am a trying to write a script using a loop i guess. What I need to do is write a script that can allow my users to load a tape and copy a range of files from a tape to the hard disk. By range I mean, I would like the users to pick a range of numbers like files 3 - 8 and the script will... (0 Replies)
Hi,
I use tar to backup the following programs:
tar -cvf /dev/rmt0.1 u04/devdb/log/arch
tar -cvf /dev/rmt0.1 u01/app/oracle/product/10.2.0.2/dbs
tar -cvf /dev/rmt0 u01/app/oracle/product/10.2.0.2/network/admin
when I want to retrieve the tape content list with:
tar -tvf /dev/rmt0
it... (1 Reply)
Hi all
I had started to learn how to backup disk to disk to tape method
Firstly I had backup to my NAS
tar czvf /MyNetworkStorge/backup.tar /home
Secondly I using dd command to copy the tar to tape
dd if=/MyNetworkStorge/backup.tar of=/dev/tape0
But the tape drive always hang.... (5 Replies)
Firstly, system setup -
HP900 K460, 3 internal hard drives that make up the system volume group(vg00) no software mirroring
HP-ux version 11.00
2 Nike 20 raid arrays attached, fully populated with 40 4gb hot swap drives(All used in production environment)
I have 3 disks that make up my... (0 Replies)
Hi Guys,
I have a failing 4gb (c0t5d0) drive that contains lvol4 -8 on hp-ux. It's not the boot disk but is part of VG00 volume group. Within that group, I have a disk (c0t4d0) of the same size that has 1 lvol on it for swap(4gb) I also have a seperate 1.5 gb swap volume on another physical disk... (1 Reply)
All,
I am trying to unzip a file, when i doing i am seeing the below error. I have more than enough memory space in the directory where i am unziping. Can you please help me to find out the issue
I dont know why i am getting disk full error. I have more space in /pa01 directory
... (2 Replies)
HP rp5450 (L2000)
running HP-UX 11.11B
Using DLT 7000 and DLT 4000 tape drives for nightly full backups
Backup jobs created by SAM
DLT 7000 cron entry is as follows:
00 2 * * 1-6 /usr/sam/lbin/br_backup DLT FULL Y /dev/rmt/0m /var/sam/graphLCAa17036 root Y 1 N > /var/sam/SAM_br_msgs 2>&1... (1 Reply)
Hello, AIX 7.1 - several NetApp disks already running. Trying to install a new one. Storage folks provision it. I run cfgmgr - nothing. no new disks show up in "lsdev", "sanlun lun show" shows no new device. No errors, just nothing. Storage guys disconnect it and attaches to another aix server -... (5 Replies)
Discussion started by: sid
5 Replies
LEARN ABOUT BSD
tm
TM(4) Kernel Interfaces Manual TM(4)NAME
tm - TM-11/TE-10 magtape interface
SYNOPSIS
/sys/conf/SYSTEM:
# Setting AVIVTM configures the TM driver for the AVIV 800/1600/6250
# controller. For more details, see /sys/pdpuba/tm.c.
NTM tm_drives # TM11
AVIVTM YES # AVIV 800/1600/6250 controller
/etc/dtab:
#Name Unit# Addr Vector Br Handler(s) # Comments
tm ? 172520 224 5 tmintr # tm11 driver
major device number(s):
raw: 7
block: 1
minor device encoding:
bits 0003 specify TS drive
bit 0004 specifies no-rewind operation
bits 0030 specify recording density:
0000: 800BPI
0010: 1600BPI (AVIVTM and some other controllers)
0020: 6250BPI (AVIVTM only)
DESCRIPTION
The tm-11/te-10 combination provides a standard tape drive interface as described in mtio(4). The standard DEC tm-11 operates only at 800
bpi. Other controllers of this type may also allow operation at 1600 bpi, under software control or by switching manually.
FILES
/dev/MAKEDEV script to create special files
/dev/MAKEDEV.local script to localize special files
SEE ALSO mt(1), tar(1), tp(1), mtio(4), ht(4), ts(4), mt(4), dtab(5), autoconfig(8)DIAGNOSTICS
te%d: no write ring. An attempt was made to write on the tape drive when no write ring was present; this message is written on the termi-
nal of the user who tried to access the tape.
te%d: not online. An attempt was made to access the tape while it was offline; this message is written on the terminal of the user who
tried to access the tape.
te%d: can't change density in mid-tape. An attempt was made to write on a tape at a different density than is already recorded on the
tape. This message is written on the terminal of the user who tried to switch the density.
te%d: hard error bn%d er=%b. A tape error occurred at block bn; the tm error register is printed in octal with the bits symbolically
decoded. Any error is fatal on non-raw tape; when possible the driver will have retried the operation which failed several times before
reporting the error.
te%d: lost interrupt. A tape operation did not complete within a reasonable time, most likely because the tape was taken off-line during
rewind or lost vacuum. The controller should, but does not, give an interrupt in these cases. The device will be made available again
after this message, but any current open reference to the device will return an error as the operation in progress aborts.
BUGS
If any non-data error is encountered on non-raw tape, it refuses to do anything more until closed.
3rd Berkeley Distribution January 28, 1988 TM(4)