Visit Our UNIX and Linux User Community


/dev/rmt0 pointed to from an NFS of another server ?


 
Thread Tools Search this Thread
Operating Systems AIX /dev/rmt0 pointed to from an NFS of another server ?
# 1  
Old 07-21-2009
/dev/rmt0 pointed to from an NFS of another server ?

I only about the principle of filesystems from the very basics on Linux and Windows. But I want to know if it is possible on an AIX 4.2 to create one NFS on a server which is pointing to a tape drive (/dev/rmt0) of another server ?

This is because we several backups to do on a 5 servers that need to be done at the same time but we are limited in the amount of tape drivers (one per server). So if there was a way to write directly to the tape drives of other servers, it would cut down on how long it takes to do them all.

So I was wondering if it is possible to use a tape drive as an NFS from another server.
- we are limited in the amount of free space
- the only compress tool we have is 'compress'
- we have only one processor (CPU) per server

p.s.: I am currently looking on how to compress pipe to the tape driver directly but need to look at other alternatives in case it does not work
# 2  
Old 07-21-2009
You cannot use NFS to make a tape drive available to another machine, what you can do is use something like rsh to send the data from your machine to the tape drive on another machine, look for mentions of rsh in the manpage for tar on your system, an example from: Unix tape archiver (Tar) is:
Code:
tar cvfb - 20 * | rsh boson dd of=/dev/rmt0 obs=20


where boson is the name of the remote machine with the tape drive attached.

For Solaris systems I would add a "c" to the end of the tape device name to denote using tape drive compression, not sure what one would do on AIX.
# 3  
Old 07-21-2009
I am already looking at using DD to dump to tape but I am having problems. It is in another forum thread of mine.

But if what you are suggesting works on my client's AIX 4.2, then I have to figure out how to fix that DD problem of mine. It would be great if I could us this method.

By the way, what would by the bandwidth needed for this ? I have workstations with 10gb and others with 100Gb connections. Would it slow down traffic using the 10Gb ones with this method ?
# 4  
Old 07-21-2009
AIX 4.2 with a 10Gb or 100Gb connection.....no!
Think again and post what you really have, 10Mb and 100Mb by any chance?
# 5  
Old 07-22-2009
You can also think to use the /etc/hosts.equiv to grant other hosts access to the server that has the tape file. You'll have to enable remote root access. I did that with HP-UX and it worked fine, so in AIX that should not be an issue
# 6  
Old 07-26-2009
The top data rate (and therefore bandwidth) will depend on the type of tape and tape drive you are using, it could potentially exceed 10 Megabits per second but I doubt if it would exceed 10 Megabits per second.

Previous Thread | Next Thread
Test Your Knowledge in Computers #134
Difficulty: Easy
Linus Torvalds is known for disagreeing with other developers strongly and calls himself a 'really unpleasant person'.
True or False?

9 More Discussions You Might Find Interesting

1. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

2. AIX

"Please mount volume 2 on /dev/rmt0.1" message during mksysb restore

Dear all First of all, my English not so good. We have p52a (production server) and p52a (test server). Tape drives are VXA2. When both servers were AIX 5.3, mksysb on production server and restoring to test server was OK. The production server was AIX 5.3 and recently upgraded to... (3 Replies)
Discussion started by: fifa15pc
3 Replies

3. Shell Programming and Scripting

Sftp script for dev server to client server

hi, i am new to unix, cuold u send some sftp acripts to send files to dev server to clint server, (1 Reply)
Discussion started by: Koti.annam
1 Replies

4. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

5. AIX

aix 4.2 : using dd of=/dev/rmt0 producing error

I want to compress backup files to tape using compress on our AIX 4.2 - Our TAR does not have compression. - I do not want to use local storage to compress as most of the filesystems are pretty full. - the only compressing tool we have is 'compress' - tapes are 5Gb 8mm I am trying this... (10 Replies)
Discussion started by: Browser_ice
10 Replies

6. AIX

Piping to /dev/rmt0 tape ?

I am trying to find a way to do the following on an AIX 4.2 with Korn: tar cvfpdl - . | compress > /dev/rmt0 The /dev/rmt0 is the device we use when we tar directly to it. I want to compress a folder's content to tape. Our current TAR does not have compression at all. We only have... (5 Replies)
Discussion started by: Browser_ice
5 Replies

7. UNIX for Advanced & Expert Users

execute a script on test server from dev server

I need to execute a script from dev server which is located on Test server.I can use ftp to connect to dev server and from there how can i execute a command on test server. Thanks (5 Replies)
Discussion started by: ukatru
5 Replies

8. UNIX Desktop Questions & Answers

Active windows when pointed.

Ok now is one is a reall dummy question...:rolleyes: I'm using KDE 3.3 and I want to know if there are any way to set the option where when I point(a cursor) to a window that window becomes active. Juust as you have in Solaris. Thanks & regards, (1 Reply)
Discussion started by: rimser9
1 Replies

9. AIX

mt -f /dev/rmt0.1 status

Hello all, Anyboby knows what is the reason by which the ouput of the command mt -f /dev/rmt0.1 status on AIX does not show the same information that in the rest of platforms UNIX (Solaris, HP-UX, ...)? Then, what command of AIX is similar to mt- f /dev/rmt0.1 status of Solaris? We need it to... (0 Replies)
Discussion started by: smoraprosol
0 Replies

Featured Tech Videos