Tuesday, February 3, 2015

Isilon | How to setup SMB and NFS shares








Managing SMB and NFS service on Isilon array


Also read Isilon storage provisioning


SMB Service


Create new SMB share

# isi smb shares create SHARENAME --path=/ifs/data/SHARENAME --create-path --browsable=true --description="SHARENAME"  

Where --create-path option is used to create the path /ifs/data/SHARENAME, don't use it if it is already existing.

While you can give individual user level permission to a share so that specific user can access it but it is not recommended; instead always try to give access to via active directory groups because it is easy to manage a list AD groups instead of hundreds/thousands of users.

Share Permission

isi smb shares permission create SHARENAME --group "domain\domain users" --permission-type allow --permission full --zone <zone name>

List the permissions

# isi smb share permission list SHARENAME --zone=<zone name> 

Modify SMB shares path

isi smb shares modify SHARENAME  --path=<new path>  --zone=<zone name>

Delete SMB share

# isi smb shares delete SHARENAME --zone=<zone name> 



NFS Service



To check the global settings and service status

# isi nfs settings global view 

Output:

NFSv3 Enabled: Yes
NFSv4 Enabled: No
NFS Service Enabled: Yes

Command to enable or disable the service

isi nfs settings global modify --nfsv3-enabled <no/yes> 

To check the current exports

# isi nfs exports list

To check any specific exportfs entry

# isi nfs exports view <number>

Create NFS export

# isi nfs exports create --clients=<IP/Server name> --root-clients=<IP/Server name> --description="useful comment" --paths=<path> --security-flavors=unix

Check for NFS export error

# isi nfs exports check

Modify the export entry

# isi nfs exports modify <export number --add-read-write-clients <IP/Server name>

To delete the export entry 

# isi nfs exports delete <export number>

use --force option for deleting forcefully

Below are the commands to create, modify,delete and list NFS aliases

# isi nfs aliases create /<alias name> /<share path> --zone <zone name>
# isi nfs aliases modify /<alias name> --zone <zone name> --name /<new alias name> 
# isi nfs aliases delete /<alias name> --zone <zone name> 
# isi nfs aliases list 


View an NFS alias

# isi nfs aliases view /<alias name> --zone <zone name> --check



Happy Learning!

2 comments:

  1. i having an issue with deleting and modifying a nfs alias. Do you have any feedback or input on how get that fixed? thank you.

    ReplyDelete
  2. it won't let me delete nor modify a nfs alias. any clue on how to get to the root cause and fix?

    ReplyDelete