On Sun, Aug 3, 2008 at 8:04 PM, Emmanuel De Paepe < emmanuel_depaepe at yahoo.com> wrote:
> I have currently one computer with OpenSolaris and a second with Solaris 10 > (ufs). > The first one is physically actually a server. How can I 'share' this > server's filesystem, so I can run for instance music files located on the > server? > > It is done via NFS On the server computer, you follow this procedure: 1. Decide the directory to be shared. Lets say /data 2. Edit /etc/dfs/dfstab and add a line to it, like this: share /data 3. Start the NFS server service, running a command like this: # svcadm enable nfs/server 4. Check it, running this command: # dfshares Now go to the Client computer. You need either the IP address or the server's name resolvable. I suggest that you put the server name into the /etc/hosts file to make sure it can always be resolved (unless its IP changes) Create a directory where you will access the remote computer, eg # mkdir /remote_data Connect to the remote machine # mount -F nfs -r server:/data /remote_data Note: In the above line, "server" is the name of the server, or you can use the IP-address, like os # mount -F nfs -r 192.168.1.1:/data /remote_data You will need to do this each time you reboot. TO make the change permanent, you can add an entry to /etc/vfstab, like this: 192.168.1.1:/data - /remote_data nfs - yes - Hope this helps! _J -- Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Afrikaanse Stap Website: http://www.bloukous.co.za My blog: http://initialprogramload.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20080803/37b683d3/attachment.html>
