Re: [expert] mounting a tape!

2001-10-04 Thread Ben Pearre

Tapes are not random-access devices.  Unless there's something new and
exciting, you can't NFS mount them (only block devices, not
character).

You might want to check out rmt (section 8 in your manual).

-Ben

-- 
[EMAIL PROTECTED]http://hebb.mit.edu/~ben



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] mounting a tape!

2001-06-20 Thread Ric Tibbetts

Rusty Carruth wrote:

 Laurent CREPET [EMAIL PROTECTED] wrote:
 
On Fri, Jun 15, 2001 at 06:02:32PM +0300, Turgut Kalfaoglu wrote:

Did anyone succeed in NFS sharing a tape and mounting that share from
another machine? I'm trying to make a backup from a machine that doesnt
have a tape drive to another, that does. I have the tape in EXPORTS,
but I get not a directory blurb when I try to mount it; it seems I need
to first mount that tape locally on the machine that has the tape; but it
refuses to be mounted as well :)  any ideas how?
Thanks, -turgut


Tape ? You mean something like DAT ou DLT ?! You can't use such a device
like a hard disk or a floppy/cdrom. I've never seen someone that has
managed to mount a tape as a filesystem. I doesn't work like Windows
software like Direct-CD or equivalent one for tape...

 
 Um, lets see.  Somewhere I've run across a package that would do remote
 tape - not nfs, but something else.  I glanced at the tar man page,
 in case it was there, but it does not appear to be there.


Tar will handle that. You will need the r commands enabled (rlogin, 
rsh, etc), and a valid .rhosts

Then you can issue:

tar -cvf tapehost:/dev/st0 /local/directory

To tar up the contents of a local directory onto a remote tape drive.

Ric






Re: [expert] mounting a tape!

2001-06-16 Thread Laurent CREPET

On Fri, Jun 15, 2001 at 06:02:32PM +0300, Turgut Kalfaoglu wrote:
 
 Did anyone succeed in NFS sharing a tape and mounting that share from
 another machine? I'm trying to make a backup from a machine that doesnt
 have a tape drive to another, that does. I have the tape in EXPORTS,
 but I get not a directory blurb when I try to mount it; it seems I need
 to first mount that tape locally on the machine that has the tape; but it
 refuses to be mounted as well :)  any ideas how?
 Thanks, -turgut
 

Tape ? You mean something like DAT ou DLT ?! You can't use such a device
like a hard disk or a floppy/cdrom. I've never seen someone that has
managed to mount a tape as a filesystem. I doesn't work like Windows
software like Direct-CD or equivalent one for tape...

You use tar/cpio/dump to backup/ restore you filesytem to/from the tape.

If you want to backup different machines with only one tape, export
what you need to backup on each machine, and mount every exported
filesystems/directories on the server...

Or use the machine with the tape as a backup server: it will export
some directories. On each machine, mount one from the backup server,
copy the data you need to backup to the backup server exported filesystem.
Finally, run a backup on the backup server.

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/




[expert] mounting a tape!

2001-06-15 Thread Turgut Kalfaoglu


Did anyone succeed in NFS sharing a tape and mounting that share from
another machine? I'm trying to make a backup from a machine that doesnt
have a tape drive to another, that does. I have the tape in EXPORTS,
but I get not a directory blurb when I try to mount it; it seems I need
to first mount that tape locally on the machine that has the tape; but it
refuses to be mounted as well :)  any ideas how?
Thanks, -turgut


-
Turgut Kalfaoglu:  http://www.kalfaoglu.com
EgeNet Internet Services: http://www.egenet.com.tr
All of Turkey Online: http://find.egenet.com.tr





Re: [expert] mounting a tape!

2001-06-15 Thread Ric Tibbetts

REgret to inform you: You cannot export, and mount, a tape device like 
that. It's a block device, not a character device.
There are however utilities out there that will allow you to acces the 
drive on a remote server. Most any of the better distributed back-up 
agents will alow this (Amanda comes to mind).

If you're desperate, try accessing it via tar:

tar -cvf tape_host:/dev/sd0 /home

(assuming /dev/sd0 to be the tape device, and /home being the directory 
to be backed up.

If you want to do regular backups, look into the backup agents. You set 
them up on all the workstations, set up the server, and then just 
remember to change the tapes on a regular basis.

Ric



Turgut Kalfaoglu wrote:

 Did anyone succeed in NFS sharing a tape and mounting that share from
 another machine? I'm trying to make a backup from a machine that doesnt
 have a tape drive to another, that does. I have the tape in EXPORTS,
 but I get not a directory blurb when I try to mount it; it seems I need
 to first mount that tape locally on the machine that has the tape; but it
 refuses to be mounted as well :)  any ideas how?
 Thanks, -turgut
 
 
 -
 Turgut Kalfaoglu:  http://www.kalfaoglu.com
 EgeNet Internet Services: http://www.egenet.com.tr
 All of Turkey Online: http://find.egenet.com.tr