→ Applies to: SynetoOS 4.x
Step 1. Login to SynetoOS GUI (replace <your_ip_address_or_hostname> with the correct ip/hostname)
https://<your_ip_address_or_hostname>
Step 2. Click on Datastores in the left menu
Step 3. Click on New datastore
Step 4. Create a New datastore and click on Create
Step 5. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 6 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)
un sh
Step 7. Get root privileges
sudo su -
Step 8. List datastores
zfs list
EXAMPLE OUTPUT
NAME USED AVAIL REFER MOUNTPOINT flash 24.2G 13.6G 27.5K /flash flash/datastores 24.1G 13.6G 51.5K /flash/datastores hybrid/backups/xyzwi/LinuxVM 194K 18.9G 24K /hybrid/backups/xyzwi/LinuxVM
Step 9. Share NFS (replace <datastore_path>, <IP_ESXI> and <CIDR> with the correct information)
zfs set sharenfs=rw=@<IP_ESXI>/<CIDR>,root=@<IP_ESXI>/<CIDR> <datastore_path>
EXAMPLE
zfs set sharenfs=rw=@159.149.3.94/32,root=@159.149.3.94/32,rw=@192.168.32.0/24,root=@192.168.32.0/24 flash/datastores/Demo
In sharenfs there must be all the IPs of the ESXIs with which you want to share the datastore
Step 10. Connect to VMware ESXi CLI (via SSH)
Step 11. Mount the datastore (replace <synetoOS_IP>,<datastore_path> and <datastore_name> with the correct information)
esxcli storage nfs add -H <synetoOS_IP> -s <datastore_path> -v <datastore_name>
Step 12. List the filesystem to ensure the datastore is mounted
esxcli storage filesystem list