Help! How to dump to networked tape drive?

Help! How to dump to networked tape drive?

Post by Greg Herle » Sat, 13 Apr 1996 04:00:00



[ Article crossposted from comp.os.linux.networking ]
[ Author was Greg Herlein ]
[ Posted on 12 Apr 1996 13:54:22 -0700 ]

: Can a Linux box dump to an Exabyte tape drive attached to a Sun on
: a network? Linux doesn't appear to have anything resembling the
: command "dump".

: Gavin

I want to know this too - anyone got any ideas?

--
Greg Herlein

http://www.crl.com/www/users/gh/gherlein (under construction, but there!)
Vallejo, CA

--
Greg Herlein

http://www.crl.com/www/users/gh/gherlein (under construction, but there!)
Vallejo, CA

 
 
 

Help! How to dump to networked tape drive?

Post by Henry Y » Sun, 14 Apr 1996 04:00:00



>[ Article crossposted from comp.os.linux.networking ]
>[ Author was Greg Herlein ]
>[ Posted on 12 Apr 1996 13:54:22 -0700 ]


>: Can a Linux box dump to an Exabyte tape drive attached to a Sun on
>: a network? Linux doesn't appear to have anything resembling the
>: command "dump".

>I want to know this too - anyone got any ideas?

we do a backup across the network using GNU tar -- it allows specification

filename, but i never got into that). what this does is spawn (using
rexec or rsh) a "/etc/rmt" program on the remote host (the one owning
the tape drive) and passes the backup data to it. it's not swift,
but it's usable in a pinch. example: exabyte 8200sx drive attached
to main machine (BIG). ethernet-attached backup-ee would type:
  tar --exclude /proc --exclude /var/spool/news cvf big:/dev/st0 /
if you've gnu tar on your sun box (specifically the /etc/rmt or
whatever path it's compiled to run from, piece), perhaps you could
make this work.
--
Henry Yen
Hicksville, NY  (yes, there really is a "Hicksville"...)

 
 
 

Help! How to dump to networked tape drive?

Post by Martin C. Glanvi » Tue, 16 Apr 1996 04:00:00


->[ Article crossposted from comp.os.linux.networking ]
->[ Author was Greg Herlein ]
->[ Posted on 12 Apr 1996 13:54:22 -0700 ]
->
->: Can a Linux box dump to an Exabyte tape drive attached to a Sun on
->: a network? Linux doesn't appear to have anything resembling the
->: command "dump".
->
->: Gavin
->
->I want to know this too - anyone got any ideas?
->

#!/bin/sh
exec tar --block-compress --gzip -b 126 -cvf -  <stuff>  2> /tmp/tape_back.log | rsh <machine> <user>  dd of=/dev/rmt/0 obs=126b
                     ^^^^^^^^^^    
                     scsi tape device under solaris 2.4
--
                     _______.+= From Martin Glanvill =+._______
                    /  __    i486-DX4 100 Linux 1.3.76        /\
                   /  / /\    __   .___   __  __   __  __    / /
                  /  / /_/_  / /\ / .. \ / /_/ /\ / / / /\  / /
                 /  /_____/\/_/ //_/ /_/\*___.` /.`.+`_` ` / /
                /   \_____\/\_\/ \_\/\_\/\___\.` \_\/\_\/ / /
               /__/ Maths Dept, University of Waikato /__/ /
               \__\/ Private Bag 3105, Hamilton, N.Z. \__\/

 
 
 

1. Help with dump/restore ("Tape is not a dump tape")

Hi,

I have performed dump of several partitions on a type in a Mammoth
drive. Then I tried to look at them by "restore", and I could access the
first partition. After that I ran "restore" once again, and I expected
that I would see the list of the files in the second partition. Instead,
all I got was the message "Tape is not a dump tape". When I ran "mt
status", it showed that I still am at the file 0. I also could not
advance by "mt fsf" - it exits immediately, and the status is the same.

I tried to backup two small directories, and I had no trouble restoring
them later. But when I backup whole partitions, I keep getting this
error.

I have Redhat 6.1.

Any ideas what's going on?

Thanks,
Simon
--
 _________    

| y = e   |                                    (current address)
|_________|   Life is file...          
http://www.simonf.com                    

Disclaimer: This is not me.                    (lifetime address)
This is just my mailer talking to your mailer...

2. Intel 740 Express 3D

3. Can't do a dump tape to local tape drive as root

4. Threading Architecture

5. Stupid Questions: Sun 8mm dump tape =>AIX 8mm dump tape

6. Solstice

7. dump on one 8mm tape drive not readable by another 8mm drive ?

8. floppy drive and volume manager

9. Help getting a tape drive/mt/dump working?

10. using 14gb 8mm tape drive to write tapes for 2gb tape drive

11. Help! Using a tape drive through network

12. Write to 4Gig 4mm tape drive, read from 2Gig tape drive

13. Tape Drive Support: HP c1533A DDS-2 SCSI TAPE DRIVE