NFS only mounting as read-only?
#9
RE: NFS only mounting as read-only?
(05-26-2019, 06:10 PM)mzry Wrote:  Hey guys,

I've been trawling the internet to try and find answers but everything I try doesn't work, so I'll ask here! It might be a quirk of Irix. I can mount the folder but it is read only, I just get 'permission denied' when trying to write from my Linux machine.

I am trying to:
* Share /Desktop/Downloads on my Octane via NFS
* Mount the SGI /Desktop/Downloads on my Arch Linux machine
The IP of my Linux: 192.168.0.77
The IP of my SGI: 192.168.0.72

Here is my /etc/exports for Irix:
/Desktop/Downloads -rw=192.168.0.77

Here is my /etc/fstab for Linux:
192.168.0.72:/Desktop/Downloads   /mnt/sgi   nfs   defaults,rw,timeo=900,retrans=5,_netdev    0 0

When accessing /mnt/sgi on my Linux machine, the contents do show up, but I cannot write or make files/folders. When checking permissions they say root/root in the terminal.

showmount -e 192.168.0.72
Export list for 192.168.0.72:
/export/opt/       (everyone)
/Desktop/Downloads (everyone)
^ when checking with the showmount command on Linux


Any ideas out there? Thanks Smile

Hi Mzry,
Gratz for the Octane, I love mine too, don't use it lately as I'm renovating part of the home so stored it away.

I noticed something when you try to share NFS from your octane, you mount /Desktop/Download on the linux.
On the Octane who owns the directory /Desktop/Download, is it root ?
On the linux side when you mount it, can you check the mount option from either the mount command or the /proc/mounts, it might give indication on what is the issue.
The last thing that comes to mind is that by default the export is "root_squash", this means that root on the server (octane) is not equivalent (or same user) on the client (linux), you might have to export using a "no_root_squash" flag on the octane but I don't remember the irix syntax and can't really check for it.

Hopefully you found a way.
Personally I use the same home directory on the 3 unix/linux machines, the solaris machine serves it, the other two (including the octane) mount my user home directory using NFS, this way I have the same files whether I'm on irix, solaris or linux.
sancho
O2

Trade Count: (0)
Posts: 6
Threads: 1
Joined: Dec 2018
Find Reply
05-28-2019, 10:04 PM


Messages In This Thread
NFS only mounting as read-only? - by stormy - 05-26-2019, 06:10 PM
RE: NFS only mounting as read-only? - by Jacques - 05-26-2019, 06:23 PM
RE: NFS only mounting as read-only? - by stormy - 05-26-2019, 06:35 PM
RE: NFS only mounting as read-only? - by eudatux23 - 05-27-2019, 05:22 AM
RE: NFS only mounting as read-only? - by Trippynet - 05-26-2019, 07:00 PM
RE: NFS only mounting as read-only? - by stormy - 05-26-2019, 07:25 PM
RE: NFS only mounting as read-only? - by Jacques - 05-26-2019, 07:35 PM
RE: NFS only mounting as read-only? - by stormy - 05-26-2019, 08:40 PM
RE: NFS only mounting as read-only? - by sancho - 05-28-2019, 10:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)