Unix questions - Retrieving DDS2 Tape Data

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > August 2006 > Retrieving DDS2 Tape Data





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Retrieving DDS2 Tape Data
JJ

2006-08-16, 1:25 pm

Knoppix, latest distribution is what I am using.

I have a DDS2 tape drive. Recognised in Windows, etc.

Cannot see it in UX/Lux.

* How do I mount it?
* How do I copy the data from the tape to another partition?
* What I need to do is transfer the contents of the DDS2 tape onto
DVD.
Simple. Or so Simon says.


Normally, Knoppix is excellent for picking up devices - but it just
will not see the tape drive.

Help please!

Thanks,

JJ

Rainer Temme

2006-08-16, 1:25 pm

JJ wrote:
> Knoppix, latest distribution is what I am using.
>
> I have a DDS2 tape drive. Recognised in Windows, etc.
>
> Cannot see it in UX/Lux.
>
> * How do I mount it?
> * How do I copy the data from the tape to another partition?
> * What I need to do is transfer the contents of the DDS2 tape onto
> DVD.


JJ,

haven't worked with tapes for quite a while, but their handling
certainly hasen't changed since.

You don't need to 'mount' a tape.

You can copy its content to a file if you know
the device-name of the tapedrive.

do a
ls -l /dev/*tape*

if devices show up,
insert a tape into the drive and try a
dd if=/dev/yourdevice of=/dev/null bs=1024 count=1
to see which of the devices is the correct one.

if dd reports a block being written with one of the devices,
copy the complete tape with
dd if=/dev/tape of=somefile bs=102400
note, that a blocksize of 100 Kbyte might not be the optimum
for copyspeed.

The result will be a file. What type of file that is, depends
completely on how the tape was written. (There might even be
more than one sessions on the tape ... in that case you need to
use the no-rewind-device ... usually the one with an 'n' in its name
and repeat the dd-command with different outputfiles)

Rainer
Michael Paoli

2006-08-27, 1:22 am

JJ wrote:
> Knoppix, latest distribution is what I am using.
> I have a DDS2 tape drive. Recognised in Windows, etc.
> Cannot see it in UX/Lux.
> * How do I mount it?
> * How do I copy the data from the tape to another partition?
> * What I need to do is transfer the contents of the DDS2 tape onto
> DVD.
> Simple. Or so Simon says.
> Normally, Knoppix is excellent for picking up devices - but it just
> will not see the tape drive.


In LINUX, if it's SCSI, the device is likely /dev/st0 (for the first
SCSI tape). You typically don't mount a tape, but you can generally
read and write it.

# dd if=/dev/st0 of=your_other_partition
# dd if=/dev/st0 | DVD_burning_application_that_takes_data_
from_STDIN

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com