Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mount a remote file system

Status
Not open for further replies.

RufusBuddy

Technical User
Mar 1, 2002
6
CA
Hi...

I am trying to mount a remote file system. This is what I have done so far:
- On the remote Server, I shared a file system
share -F nfs -o rw /dev/dsk/c0t1d0s1

- On the local Server, I mounted the file system to a local directory
mount <REMOTE IP ADDRESS>:/dev/dsk/c0t1d0s1 /Karen

Now here is the problem. Before I mounted the remote file system, the rights on /Karen were drwxr-xr-x and after I mounted, the rights become brw-r and I cannot open the directory.

Should I have specified more rights when I shared or mounted?

Thank You
 
What does share command return on your server ?
When i try this on my station, the share returns the name of the physical device.

Why do you want to share a partition instead of the mount point directory ? I'd like to know :)

Serge.
 
Thank you for your help. I started thinking about what you said and of course it made sense :eek:)

Anyways, this is what I did and everything is perfect now:
On the Remote Server A:
1 - mount partition on a directory on Server A.
2 - share the new directory on Server A to allow root access for my local server B.

cd /
mkdir KarenA
mount /dev/dsk/c0t1d0s1 /KarenA
share -F nfs -o root=<SERVER B's IP> /KarenA

On the Local Server B:
1 - mount the directory from Server A onto a directory on Server B

cd /
mkdir /KarenB
mount <SERVER A's IP>:/KarenA /KarenB

I know you already know this but I put it in here just in case there is someone else out there that is as new to this as I am.

Thanks again for your help.
Karen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top