|
|
|
|
|
|
| Author |
Message |
Michael Vilain *nix forums Guru
Joined: 21 Feb 2005
Posts: 565
|
Posted: Thu Jul 20, 2006 5:05 pm Post subject:
Re: tape drive sharing
|
|
|
In article <1153403577.799218.159750@p79g2000cwp.googlegroups.com>,
squeakymaus@gmail.com wrote:
| Quote: | Please verify that I understand correctly your situation and request.
Machine A has a tape drive. Machine B has data that you want to write
to tape. Machine A is connected to Machine B via a LAN or other
high-speed network. You would like to sit at the console of B and write
to A's tape drive.
Unfortunately, a tape drive cannot be directly shared out across an NFS
or similar network, because to use a tape drive, you need raw access to
the drive and NFS shares at a higher layer of abstraction.
To achieve the results you want, on B, share out the portion of the
filesystem tree that you want to back up. Go to the console of A or
telnet/ssh to A. From A, NFS mount the share from B. From A, use the
ufsdump, tar and mt commands to write the data from the share to tape.
For better results, you may want to copy this to a local buffer before
writing it to tape, so that you can check for file integrity, compress
a copy of hte data that is not expected to be in service and so that
you do not have to worry about transient network fucktivity causing
your tape to have to back up and rescribble the data.
If I have made a mistake on this, please correct me.
rinku sharma wrote:
hi all,
i am working on sparc machines(all r in network). one machine has a
tape drive and i want to dump data from another machine on this tape
drive. what should i do? is there any thing in command line itself to
achieve this ?
|
I didn't think you could ufsdump a volume that's an NFS mount except on
the machine that's serving it. Has that changed? If not, that
precludes using ufsdump on A.
But you could use ufsdump or tar on B to dump to A if you're willing to
use the "r utilities" which require .rhost access for root on A for all
machines that are going to try to access it's tape drive. There used to
be examples of this in the ufsdump and tar man pages.
It's insecure but I've never tried to do any of this with ssh pipes, so
don't know if that works just like rsh.
Another thing to consider is if you have a system disk outage on B, you
won't be able to restore it over the net. You'll have to move the tape
to B, do the restore from tape, then move it back to A, causing an
outage when you do the moves. You could do a full re-install or
jumpstart of B, then restore the data over the net.
Yet another thing to consider is the load on the network. Depending on
the traffic and topology of your LAN, your network person may be very
unhappy with you if you do this anytime other than the dead of night.
If you use a dedicated hub and "backup" network (100BaseT should be
fine), this problem goes away.
--
DeeDee, don't press that button! DeeDee! NO! Dee... |
|
| Back to top |
|
 |
Huge *nix forums Guru Wannabe
Joined: 22 Feb 2005
Posts: 188
|
Posted: Thu Jul 20, 2006 4:47 pm Post subject:
Re: tape drive sharing
|
|
|
On 2006-07-20, squeakymaus@gmail.com <squeakymaus@gmail.com> wrote:
| Quote: |
Huge wrote:
On 2006-07-20, squeakymaus@gmail.com <squeakymaus@gmail.com> wrote:
[snip]
If I have made a mistake on this, please correct me.
Well, firstly you top posted, which is very wrong.
And secondly, you failed to "man rmt" which would have told you
what you needed to know.
Thank you for setting me straight on both fronts.
|
You are, of course, most welcome.
| Quote: | I had forgotten about
the taboo against top-posting (easier to post, harder to follow the
thread);
|
You customarily read books from the back page? Your newspaper from the
bottom up?
(Rhetorical questions, you need not answer. Top posting got started
because Microsoft's programmers are stupid and ignorant and the users
of their software are lazy and ignorant and sadly it is now all too
common. I note it is creeping into groups such as these where it might
be expected that people know what they are doing. The battle is already
lost in the MS groups, but who would want to go there?)
--
"Other people are not your property."
[email me at huge [at] huge [dot] org [dot] uk] |
|
| Back to top |
|
 |
squeakymaus@gmail.com *nix forums beginner
Joined: 20 Jul 2006
Posts: 3
|
Posted: Thu Jul 20, 2006 4:27 pm Post subject:
Re: tape drive sharing
|
|
|
Huge wrote:
[snip]
| Quote: | If I have made a mistake on this, please correct me.
Well, firstly you top posted, which is very wrong.
And secondly, you failed to "man rmt" which would have told you
what you needed to know.
|
Thank you for setting me straight on both fronts. I had forgotten about
the taboo against top-posting (easier to post, harder to follow the
thread); my excuse is that I have been away from usenet for a couple of
years. rmt looks much easier and better than my solution.
| Quote: |
rinku sharma wrote:
hi all,
i am working on sparc machines(all r in network). one machine has a
tape drive and i want to dump data from another machine on this tape
drive. what should i do? is there any thing in command line itself to
achieve this ?
--
"Other people are not your property."
[email me at huge [at] huge [dot] org [dot] uk] |
|
|
| Back to top |
|
 |
Huge *nix forums Guru Wannabe
Joined: 22 Feb 2005
Posts: 188
|
Posted: Thu Jul 20, 2006 2:19 pm Post subject:
Re: tape drive sharing
|
|
|
On 2006-07-20, squeakymaus@gmail.com <squeakymaus@gmail.com> wrote:
| Quote: |
Please verify that I understand correctly your situation and request.
Machine A has a tape drive. Machine B has data that you want to write
to tape. Machine A is connected to Machine B via a LAN or other
high-speed network. You would like to sit at the console of B and write
to A's tape drive.
Unfortunately, a tape drive cannot be directly shared out across an NFS
or similar network, because to use a tape drive, you need raw access to
the drive and NFS shares at a higher layer of abstraction.
To achieve the results you want, on B, share out the portion of the
filesystem tree that you want to back up. Go to the console of A or
telnet/ssh to A. From A, NFS mount the share from B. From A, use the
ufsdump, tar and mt commands to write the data from the share to tape.
For better results, you may want to copy this to a local buffer before
writing it to tape, so that you can check for file integrity, compress
a copy of hte data that is not expected to be in service and so that
you do not have to worry about transient network fucktivity causing
your tape to have to back up and rescribble the data.
If I have made a mistake on this, please correct me.
|
Well, firstly you top posted, which is very wrong.
And secondly, you failed to "man rmt" which would have told you
what you needed to know.
| Quote: |
rinku sharma wrote:
hi all,
i am working on sparc machines(all r in network). one machine has a
tape drive and i want to dump data from another machine on this tape
drive. what should i do? is there any thing in command line itself to
achieve this ?
|
--
"Other people are not your property."
[email me at huge [at] huge [dot] org [dot] uk] |
|
| Back to top |
|
 |
squeakymaus@gmail.com *nix forums beginner
Joined: 20 Jul 2006
Posts: 3
|
Posted: Thu Jul 20, 2006 1:52 pm Post subject:
Re: tape drive sharing
|
|
|
Please verify that I understand correctly your situation and request.
Machine A has a tape drive. Machine B has data that you want to write
to tape. Machine A is connected to Machine B via a LAN or other
high-speed network. You would like to sit at the console of B and write
to A's tape drive.
Unfortunately, a tape drive cannot be directly shared out across an NFS
or similar network, because to use a tape drive, you need raw access to
the drive and NFS shares at a higher layer of abstraction.
To achieve the results you want, on B, share out the portion of the
filesystem tree that you want to back up. Go to the console of A or
telnet/ssh to A. From A, NFS mount the share from B. From A, use the
ufsdump, tar and mt commands to write the data from the share to tape.
For better results, you may want to copy this to a local buffer before
writing it to tape, so that you can check for file integrity, compress
a copy of hte data that is not expected to be in service and so that
you do not have to worry about transient network fucktivity causing
your tape to have to back up and rescribble the data.
If I have made a mistake on this, please correct me.
rinku sharma wrote:
| Quote: | hi all,
i am working on sparc machines(all r in network). one machine has a
tape drive and i want to dump data from another machine on this tape
drive. what should i do? is there any thing in command line itself to
achieve this ? |
|
|
| Back to top |
|
 |
Thommy M. Malmström *nix forums beginner
Joined: 26 Apr 2006
Posts: 49
|
Posted: Thu Jul 20, 2006 10:44 am Post subject:
Re: tape drive sharing
|
|
|
rinku sharma wrote:
| Quote: | hi all,
i am working on sparc machines(all r in network). one machine has a
tape drive and i want to dump data from another machine on this tape
drive. what should i do? is there any thing in command line itself to
achieve this ?
man ufsdump |
man tar |
|
| Back to top |
|
 |
shuklameeta@yahoo.co.in *nix forums beginner
Joined: 16 May 2006
Posts: 2
|
Posted: Thu Jul 20, 2006 10:32 am Post subject:
tape drive sharing
|
|
|
hi all,
i am working on sparc machines(all r in network). one machine has a
tape drive and i want to dump data from another machine on this tape
drive. what should i do? is there any thing in command line itself to
achieve this ? |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Dec 04, 2008 1:30 am | All times are GMT
|
|
Bad Credit Loan | Cell Phones | Budapest | Mobile Phones | Facebook Proxy
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|