How to Create the Shared Hosts File

If you want to modify the host configuration of a shared file system outside of the browser interface, you can create the shared hosts file (hosts.family-set-name) for the file system and then edit the file manually with the new hosts. You might want to do this in order to add Linux clients to the shared file system.

To create the shared hosts file for a shared file system:

  1. Connect to the metadata server of the shared file system, and log in as root.
  2. Navigate to the /etc/opt/SUNWsamfs directory.
  3. Use the samsharefs(1M) -R command to create the shared hosts file:
    # samsharefs -R shared-file-system-name > hosts.family-set-name