01-30-2007
tar problems using Sony AIT drive
Recently we brought up a Spectralogic 2K Tape Library that had been out of service for about 3 years to replace a DDS-4 tape drive unit as our main backup device.
Everything seemed to go fine but now I have run into a little problem.
System details:
FBSD 6.1
SpectraLogic 2K library with a Sony SDX-300 SE tape drive.
Tapes: Sony SDX 1-35C -- 35GB native capacity.
No compression.
I can write and read tapes without a problem as long as I am using a new tape. Since we have only been using this unit for a couple of months almost all of my tapes are new.
Last week I returned a tape into the rotation for the first time and wound up being unable to write all of the files required for the backup -- 22GB of data.
The tape was prepared by running mt -f /dev/sa0 erase and the mt -f /dev/sa0 rewind.
I believe this device automatically rewinds the tape when a tar completes but since I received an error code I was not sure what the tape status would be so I performed the rewind.
Here is my first pass at writing 16 files, ~22 GB, to tape:
troll2[431]# tar -f /dev/sa0 -cvv 26/
a 26
a 26/yoda.2007.01.26.07.45.23.cksum.bz2
a 26/yoda.2007.01.26.07.45.23.tar.bz2
a 26/chewy.2007.01.26.07.43.32.cksum.bz2
a 26/chewy.2007.01.26.07.43.32.tar.bz2
a 26/wssview.2007.01.26.00.10.00.tar.bz2
a 26/vpnauth.2007.01.26.00.10.00.tar.bz2
a 26/util.2007.01.26.00.10.00.tar.bz2
a 26/tdhs_main.2007.01.26.tar.bz2
a 26/siteinformer.2007.01.26.00.10.00.tar.bz2
a 26/ordersys.2007.01.26.00.10.00.tar.bz2: Write error: Operation not permittedWrite error: Operation not permittedtroll2[432]#
I thought that maybe the tape was not fully rewound so I again did
mt -f /dev/sa0 erase and
mt -f /dev/sa0 rewind.
Below is the screenshot of my second pass:
troll2[434]# tar -f /dev/sa0 -cvv 26/
a 26
a 26/yoda.2007.01.26.07.45.23.cksum.bz2
a 26/yoda.2007.01.26.07.45.23.tar.bz2
a 26/chewy.2007.01.26.07.43.32.cksum.bz2: Write error: Operation not supportedWrite error: Operation not supportedtroll2[435]#
At this point I selected a new tape, ran the backup with no problem during the write and tested the tape by performing a full read.
I again mounted the suspect tape and tried to write the files and the result was
troll2[434]# tar -f /dev/sa0 -cvv 26/
a 26
a 26/yoda.2007.01.26.07.45.23.cksum.bz2
a 26/yoda.2007.01.26.07.45.23.tar.bz2
a 26/chewy.2007.01.26.07.43.32.cksum.bz2: Write error: Operation not supportedWrite error: Operation not supportedtroll2[435]#
I have tried this a couple of more times with the same result. (What is that saying about trying the same thing over and over and expecting different results.)
I had a tape that was used to test the tape drive with when we first got the unit so I tried it. The results were identical to those posted above.
Google did not provide any help and I am now officially lost.
Can anyone point to the error of my ways?
Thanks
thumper
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Sun Ultra 80 ...
had to connect an additional drive. connect it according to hardware manual
The problem is when i try to power on the system , it dosent start, .. like the system is dead. :(
So i remove the new drive and voila ... power starts up .
Can anyone pinpoint wats goin on here. ... (7 Replies)
Discussion started by: DPAI
7 Replies
2. Solaris
hello guys,
am trying to save a file file1 to a remote tape drive using tar and i get a permission denied error as shown below:
server1%tar cvf - file1 | rsh server2 dd of=/dev/rmt/1m conv=sync
a file1 1883905K
permission denied
since server2 requires login username and password, i see in... (3 Replies)
Discussion started by: nom
3 Replies
3. Solaris
Hi all,
I would like to know what would happen if the tape (media) is not placed on the drive and a tar command is executed to backup on the tape.
My problem is that tar command hanged for multiple days instead of throwing the error,
Is it valid behaviour?
I was unable to test the... (4 Replies)
Discussion started by: jmsathish
4 Replies
4. Solaris
Recently we had a problem with a CPU card on our SunFire V880 which has Solaris 9 OS. we removed the card and there was also a problem with our usr which was accidentally deleted. We able to restore the usr but now we having a problem with our tape drive.
Previously we could write to the with
... (5 Replies)
Discussion started by: rahmantanko
5 Replies
5. SCO
I am trying to install an HP StorageWorks DAT40 Tape drive at SC0 5.0.7. The tape drive is not functional.
When I run #sconf -v this is what I get;
Sdsk ad160 0 0 0 0
Sdsk ad160 0 0 1 0
Stp ad160 0 0 3 0
But when... (2 Replies)
Discussion started by: RicardoM
2 Replies
6. UNIX for Advanced & Expert Users
I want to use this command to tar to tape:
tar cf - DIR | compress > `hostname`_`date +%m-%d-%y`.DIR.tar.Z
this of course goes to the FS.
How do I modify this to go directly to tape?
My tape device is /dev/rmt/0
thanks.
Having so many posts you should be familiar using code tags.... (7 Replies)
Discussion started by: djehresmann
7 Replies
7. HP-UX
I'm a technician who has been called upon to troubleshoot an ancient HP9000 K260, running HP UX 11.11.
After a power sag/crash/restart FSCK gave multiple error/warning messages about logical volumes and groups. I have some modest experience with Unix servers, but not on such an old and... (2 Replies)
Discussion started by: patrick.scalia
2 Replies
8. UNIX for Advanced & Expert Users
I'm trying to compress a directory structure on an external hard drive, connected by eSATA cable to my linux (Ubuntu 10.04) desktop. The total volume is 500Gb with half a million files, ranging from Kb to Mb in size. The drive is 2Tb, with 0.8Tb free space before compression.
running "tar -pcf... (10 Replies)
Discussion started by: omnisppot
10 Replies