Need help with DDS data tape


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Need help with DDS data tape
# 1  
Old 08-05-2008
Need help with DDS data tape

Hi all

I have BIG headache with an old unix server I have and I need some help and ideas how to solve them effectively. Thanks in advance

***Story***
I have an OLD SCO OpenServer 5 release 5 server with DDS4 tape device.
I also have a box full of DDS4 tapes with data inside. I don't even know whats the name of the tape.... It says here, DDS4. Its a very small cassette tape.

I need to catalog all these tapes and extract a lot of specific files from them. e.g. backup31012008 .... backup28022008

This is how I do it, according to some of the files the previous guy left behind...

Code:
   To list the files...
  cpio -itcvB < /dev/nrct0
  
  To copy a file out
  cpio -icvdBum filename < /dev/nrct0

The problem with listing of files is that I have to keep using the command to list all the file until it reaches the end of tape. Sometimes it will hit some messages and i have to press enter to clear the message and repeat the command again. It seems that the tape is divided into blocks and i have to access each block one at a time. Thus the multiple times to list the file.

I am manually entering the command to catalog the files and it is taking 6+hrs to list all the files in a tape!!!

Code:
 cpio -itcvB < /dev/nrct0 | grep backup >> list.txt

I haven't even started extracting the files.....
Another headache is that the old server does not have much free space left.


***What I need to do***

1) I need to catalog the tapes
2) I need to extract a lot of specific files e.g. backup*running number*
problem is my old server has VERY LIMITED free space. At most can only hold 2 of the extracted files.
3) and transfer the extracted file through ftp to another place

How can I list the contents of the tape, without me issuing the command again and again, so that it can automatically move to the next block when it reach the end of a block.

How can i extract a file from the tape and transfer it straight over ftp to another server without putting it on my old server.
# 2  
Old 08-05-2008
For the space problem you could share some space from another server via NFS. For the tape issue I have no clue, sorry.
# 3  
Old 08-05-2008
Quote:
Originally Posted by zaxxon
For the space problem you could share some space from another server via NFS. For the tape issue I have no clue, sorry.
I'm sorry but that's impossible for me.
# 4  
Old 08-05-2008
To navigate the tape try the unix "mt" command on the no-rewind device.
See "man mt" (in particular the "fsf" parameter).
If your tape drive does not rewind the tape on loading you can rewind the tape with an "mt "command.


Please post the error message(s) from cpio. Do you have some incomplete or maybe some non-cpio archives on the tape?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Testing the dds tape drive on AIX

Hi I need to make some restore tapes for our old AIX systems I have purchased some DDS2 tapes and cleaning tapes The tape drive is rmt0 what commands can I enter to run the cleaning tape through the drive and are the any commands I can enter to test these drives prior to using... (2 Replies)
Discussion started by: madmacher
2 Replies

2. AIX

Cleaning tape frequence for DDS

Hi All, Are there recommendations about the use of cleaning tapes in DDS devices? Should I clean the tape only when the drive indicates cleaning? Should I clean it once a month, week, even every day? Is it harmful to clean the tape every day? Thanks for your insights. --Peter (4 Replies)
Discussion started by: petervg
4 Replies

3. UNIX for Advanced & Expert Users

How to erase tape data in unix V4.0 D?

hi! my computer is... System: Digital Personal Workstation 433a Processor: Digital Alpha 21164, 433 MHz Memory: 64 MB OS: Digital Unix Console (SRM), Digital Unix V4.0D how to erase tape data? I tried with mt erase but no success. My tape is 120m. So, how can i erase tape? ... (5 Replies)
Discussion started by: akz
5 Replies

4. UNIX for Dummies Questions & Answers

HP Unix 10.20 DDS Tape Driver Corruption

Dear Experts and Advanced User, I encounter a rare problem as mentioned above. I am not able to read the tape cartridge using the following command: #dd if=/dev/rmt/0mnb ibs=16k | tar tvf - It will prompt me with the message saying DD I/O error, broken pipe; everytime the above command... (1 Reply)
Discussion started by: stufftiger
1 Replies

5. UNIX for Dummies Questions & Answers

how to extract data from tape.

i have try tar -xvf command but it returns following error. tar: 0511-164 There is a media read or write block size error i have also try to copy data from tape to disk uisng tcopy command , it was succesful but still i am unable to extract data from that file on my disk. one thing to add... (1 Reply)
Discussion started by: djahmed
1 Replies

6. UNIX for Dummies Questions & Answers

Backup Data to tape

Hi everyone!!! I have a question on incremental backup`s and full backup`s? We currently use the Round-Robin schema to do full backup`s on a daily basis but want to change that as our data is increasing. I would like to imply the Grandfather-father-Son policy taking a full backup on the 1st of... (1 Reply)
Discussion started by: donovan
1 Replies

7. Solaris

Copy Tape Drive DDS-01.

Hello, I am trying to copy a boot tape DDS-01 with miniroot, but i donīt get this copy. i have already used the command dd, but donīt work. There are other way to get it. (0 Replies)
Discussion started by: carelias
0 Replies

8. UNIX for Dummies Questions & Answers

DDS-2 Sun tape drive

Hey guys, I'm trying to mount a SUN DDS-2 tape drive on a SUN Ultra 80 machine running Solaris 9. I had the SCSI drive connected at time of install, I'm very new to Solaris so I don't know if Solaris would detect the drive like that and install some form of device driver. But, what im posting... (2 Replies)
Discussion started by: kingdbag
2 Replies

9. UNIX for Dummies Questions & Answers

DDS Tape Drives

How do I find if a server contains a DDS3 or a DDS2 drive remotely ? I checked in SMIT and I noticed the description field according to tape drives, but is there another more thorough way? Thanks, Luke (0 Replies)
Discussion started by: Skywlkr235
0 Replies

10. Shell Programming and Scripting

from dos dir a: to similar to a dds tape?

is it possible to see what is in a dds tape? like in dos, we can write dir a: to see the contents of it? thanks PS : actually, i came from a DOS background. so most of the time, i will try to relate unix to dos. of course, dos never came close to unix. but unix is like many instances of dos... (3 Replies)
Discussion started by: yls177
3 Replies
Login or Register to Ask a Question