SUMMARY: Exporting 4mm DAT Drive

From: Tim Thompson (TThompson@mail.ci.lubbock.tx.us)
Date: Wed Feb 05 1997 - 22:11:35 CST


Many thanks for the professional replies.

Original problem was:

I am having difficulty exporting my "Sun" 4mm DAT drive that is attached
to my Ultra1 Sparc...

I have found documentation and have no problems exporting regular
filesystems for NFS, but have been unsuccessful exporting this drive to
another Unix (Linux) box.

When I try to issue a rsh ls -l /dev/rmt/0 command it says that permission
is denied.

Can anyone point me in the correct direction or give me some instructions
on how to do this.

----------------------------------------------------------
The fix is as follows:

As was pointed out in every return...Devices can not be exported via
NFS. It was suggested that RFS may be able to handle this, but that is
left to your discretion...

The work around is found by creating a /.rhosts and editing the
/etc/hosts.equiv files on the Sun (DAT attached) with the following
syntax:

Linux.box.name root

thanks:
matthew.stier@mci.com
satish@lvision.com
poffen@san-jose.ate.slb.com
bobp@nabdpf01.ci.winston-salem.nc.us
bbyoung@amoco.com
jayl@latticesemi.com
baldma@aur.alcatel.com
james.e.coby.jr@cdc.com
ahill@lanser.net

this which makes the user root trusted on the Sun box. (for more info on
this see man .rhosts & man hosts.equiv)

after you have created this file you can use tar/dump/etc... which are
designed to work across a network.

uses are:

linux.box# tar cvf - /<dir> | (rsh Sun.box; dd of=/dev/rmt/0)
(thanks jafar@finance.capital.ge.com)

or

linux.box# tar cvfb -20 files | rsh Sun.box dd of=/dev/rmt/0 obs=20b
(thanks john@starinc.com)

once again, thanks for the help.

------------------------------------
Tim Thompson
System Administrator/ Chemist
Water Resources Center/ Texas Tech University
------------------------------------
Chemists wash their hands BEFORE they go to the bathroom.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:44 CDT