I had the task to share a folder on a Solaris 7 machine so the files could be accessed from a modern day linux box. After some major research on over half a dozen sites, I found that I would need to add the following line in bold to a file called dfstab in the /etc/dfs/ directory of Solaris 7.
share -F nfs -o ro,root=[IP ADDRESS] [SOLARIS7 DIRECTORY]
[IP ADDRESS] = I used the address 10.10.10.10 mainly because the machine with IP address 10.10.10.10 needed to have root access to all files and folders in the directory. This effectively wipes out set permissions currently applied to files and folders.
[SOLARIS7 DIRECTORY] = I used /export/directory, as this is the directory of the folder I wanted to share on the Solaris machine.
After saving the dfstab file, you just need to restart the nfs server. From the command prompt, type the following in this order:
- /etc/init.d/nfs.server stop
- /etc/init.d/nfs.server start
At this point, the folder can be mounted from another linux box, via the /etc/fstab file for example!
RSS Feed
Posted in
Tags: 
