![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1503867.1 : Configure and Mount NFS shares from SUN ZFS Storage 7320 for SPARC SuperCluster
How to configure and mount NFS shares from SUN ZFS Storage 7320 on SPARC SuperCluster In this Document
Applies to:Sun ZFS Storage 7320 - Version All Versions to All Versions [Release All Releases]SPARC SuperCluster T4-4 - Version All Versions to All Versions [Release All Releases] Information in this document applies to any platform. GoalSteps to configure and mount NFS shares from SUN ZFS Storage 7320 on SPARC SuperCluster domains SolutionYou can configure and mount NFS shares from SUN ZFS Storage 7320 using Command Line (CLI) or using Browser User Interface (BUI). Using CLI:1. Login into ZFS SA from one of the SPARC SuperCluster domain $ ssh root@sscsn1 sscsn1:> 2. Verify NFS services. sscsn1:>configuration services nfs> show If the service is disabled, enable using 'enable' command ssccn1:>configuration services nis> enable 3. Go to 'shares' menu sscsn1:> shares
4. Create a project 'ssc-shares' sscsn1:shares> project ssc-shares
sscsn1:shares ssc-shares (uncommitted)> commit 5. select project 'ssc-shares' sscsn1:shares> select ssc-shares
6. Create filesystem 'share1' sscsn1:shares ssc-shares> filesystem share1
7. set rw and sharenfs permissions for filesystem 'share1' sscsn1:shares ssc-shares/share1 (uncommitted)> set root_permissions=755
root_permissions = 755 (uncommitted) sscsn1:shares ssc-shares/share1 (uncommitted)> set sharenfs="sec=sys,rw,root=@host-ip-where-share-will-be-mounted/24" sharenfs = sec=sys,rw,root=@<host-ip>/24 (uncommitted) sscsn1:shares ssc-shares/share1 (uncommitted)> commit NOTE: Use IB network interface for accessing ZFS SA. For example the IP address in the above command will be 192.168.30.0.
8. Verify the NFS filesystem pproperties sscsn1:shares ssc-shares> select share1
sscsn1:shares ssc-shares/share1> show Properties: aclinherit = restricted (inherited) aclmode = discard (inherited) atime = true (inherited) casesensitivity = mixed checksum = fletcher4 (inherited) compression = off (inherited) dedup = false (inherited) compressratio = 100 copies = 1 (inherited) creation = Tue Nov 06 2012 06:54:24 GMT+0000 (UTC) logbias = latency (inherited) mountpoint = /export/share1 (inherited) normalization = none quota = 0 quota_snap = true readonly = false (inherited) recordsize = 128K (inherited) reservation = 0 reservation_snap = true rstchown = true (inherited) secondarycache = all (inherited) shadow = none nbmand = false (inherited) sharesmb = off (inherited) sharenfs = sec=sys,rw,root=@<host-ip>/24 snapdir = hidden (inherited) utf8only = false vscan = false (inherited) sharedav = off (inherited) shareftp = off (inherited) sharesftp = off (inherited) sharetftp = off (inherited) pool = zpool canonical_name = zpool/local/ssc-shares/share1 exported = true (inherited) nodestroy = false space_data = 31K space_unused_res = 0 space_snapshots = 0 space_available = 9.81T space_total = 31K root_group = other root_permissions = 755 root_user = nobody origin = Children: snapshots => Manage snapshots replication => Manage remote replication users => View per-user usage and manage user quotas groups => View per-group usage and manage group quotas sscsn1:shares ssc-shares/share1> exit Connection to sscsn1 closed. $ Using BUI:In BUI, go to Configuration:Services:NFS. If the service is disabled then enable the service by click the power icon Refer to section 8.5 Configure Custom Projects and section 8.6 Configure Custom Shares in Configuring the Sun ZFS Storage 7320 appliance documentation. NOTE: 'HELP' section can be accessed using the BUI, go to https://<ssccn1>:215/wiki/index.php/Shares:Shares
Once the shares are created then, mount the shares on the SSC domain. Login with root previlages on SSC domain where the share needs to be mounted. # mkdir /export/share1 # vi /etc/vfstab add the following line and save the file sscsn1-stor:/export/ssc-shares/share1 - /export/share1 nfs - yes rw,bg,hard,nointr,rsize=131072,wsize=131072,proto=tcp,vers=3 # mount -a
NOTE: The above suggested mount options do not override application specific mount options. User should follow the mount options as per their application requirements.
Community DiscussionsStill have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject. (Window is the live community not a screenshot) Click here to open in main browser window Attachments This solution has no attachment |
||||||||||||||||||||
|