I have a SSD where I store my OS and I have a 1 TB hard-drive where I store my files (mounted at /media/karhu/EYE_BACKUP/). I want to share my files. I can share my SSD (such as /home/karhu/spot2) using NFS but if I try to do the same for my 1 TB hard-drive (/media/karhu/EYE-BACKUP/), I get access denied error when I try to mount it on the client.
Here are some shots of my LINUX /etc/exports and one of my mount attempt on the remote SGI work station (client applying to share the files)
"not in host database" means it cannot resolve the given hostname to an IP address.
Either you map the hostname to an IP address in /etc/hosts (that is the "file" host database), or you use the IP address in the mount command.
My problem seems to be with my Linux PC: when I attach my storage drive ( called FILMOUT) it appears on the task bar, just as computer files home page does (called files). I can export a folder in the computer files window and mount it on may SGI.
However, when I launch FILMOUT it comes up in a separate window and has a path address simply media/karhu/FILMOUT
Hi
According to these capture it seem that you made an error mounting those points like the first field just after the first “slash” after the “IP address “ doesn’t have to be there. But To give you better advices, I will ask you those action:
SERVER SIDE:
1: full path of disk you want to export
2:do “getfacl (disk_path)” to get the permissions on the disk you want to share
3:a screenshot of the “exports” file with the entry of the disk you want to export
4:the ip address of the server which export the disk
CLIENT SIDE:
1: full path of the mountpoint
2:do “getfacl (mountpoint_path)” to get the permissions on the mountpoint
3:do “showmount -e (server_ip) “ to see if the client side is able to see the exported disk from the server
4:the IP address of the client
5:a screenshot of the “/etc/hosts” file to seen the name server list
Many thanks for the advice, and commands for server & client sides. Unfortunately I am away from the workstation today, but will resume tomorrow. Hopefully I'll make progress then with these tips ...
so here are two further screen shots, with no progress. When I try to mount the storage drive FILMOUT on the client SGI the cursor does not return the shell. I wonder what is preventing this task? Should I try to nest the storage drive in the home folder of the server? Is the storage drive still missing a mount point? Sorry for my lack of understanding.
The mount will time-out after some time, maybe after 1-2 hours. You can interrupt with Ctrl-C
Of course you should get a sucessful mount or at least a "permission denied" message after some seconds.
You did not answer our question to show the effective NFS exports:
On the NFS server:
Sorry for the delay, and all responses are very helpful.
Before inputing the command you suggest, I took the worksation back home where the IP is different, and more annoying the default Gateway. It was 172.23.23.1 but now at home it is 192.168.0.1
What would be the easiest way to change this? When the SGI powers up it does not register the new gateway and dispalys the old one.
Once this is resolved I'll run the command you suggest, first thing!
ping has packet loss??
On the other hand, the remote queries showmount -e and rpcinfo -p look good; a mount should succeed.
A mount does a kind of rpcinfo -p and then uses the highest supported mountd version, and I guess that udp will be used.
When mounted, an access on the mounted share will use the highest supported nfs version (3) and tcp.
I could try the ping again this evening, yes a bit of a mystery - the packet loss of ping.
but in short there was a successful mount of the server's home folder on the client, but still unsuccessful with the server's storage drive .
My understanding is that I must mount the server's storage drive on a different folder in the client's home page. For example I have mounted the a folder in the server's hompage on a folder titled workflow which is in the client's hompage. I would therefore mount the server's storage in a different folder in the client's homepage titled, for example workflow2.
Will the stroage drive not mount in this folder because I am exporting the whole drive as opposed to a folder in the drive?
in other words export iscurrently server_linuxpc/media/user/storage_drive
when it should be server_linuxpc/media/user/storage_drive/home_folder