Showing posts with label freenas. Show all posts
Showing posts with label freenas. Show all posts

Friday, March 28, 2014

FreeNAS basic guide

Basic guide to enable NFS sharing in FreeNAS

1. Create New Storage Volumes - ZFS Volume Manager

2.Create ZFS Dateset

3.Sharing - create NFS sharing

4.Enable NFS service

5.NFS server ready for sharing.

6. Check NFS server information from client (linux)
# showmount -e
# showmount -d
# showmount -a server.ip

7.Mount NFS directory from client (linux)
# mount -t nfs <IP NFS Server>:/<directory to mount> /<directory in client>
e.g. #mount -t nfs 10.1.0.248:/mnt/Data/Backup /mnt/nfs/

8.Check the mount directory, # df -h
.......
#/dev/mapper/turnkey-root 6.0G 1.6G 4.1G 28% /
#tmpfs 5.0M 0 5.0M 0% /run/lock
#tmpfs 196M 0 196M 0% /run/shm
#/dev/sda1 228M 17M 199M 8% /boot
#10.1.0.248:/mnt/Data/Backup 96G 115M 96G 1% /mnt/nfs
.......

9. Now can used the mount directory

Source: