Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1382700.1
Update Date:2012-06-27
Keywords:

Solution Type  Technical Instruction Sure

Solution  1382700.1 :   Sun Storage 7000 Unified Storage System: Temporary disabling access to cifs / smb shares  


Related Items
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun Storage 7720 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Sun ZFS Storage 7320
  •  
  • Sun ZFS Storage 7420
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>NAS>SN-DK: 7xxx NAS
  •  
  • .Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
  •  



In this Document
Goal
Fix
 1. Disable at Project level
 2. Disable at Share level
References


Created from <SR 3-4932654371>

Applies to:

Sun Storage 7410 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7310 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7110 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun ZFS Storage 7120 - Version Not Applicable to Not Applicable [Release N/A]
Sun ZFS Storage 7320 - Version Not Applicable to Not Applicable [Release N/A]
7000 Appliance OS (Fishworks)

Goal

When having to temporarily disallow access to smb shares on a 7x10 or 7x20 unified storage system the mistake is often made to disable smbd with unexpected results as imapd generating lots of errors making the system almost unusable.
This document describes the preferred way to temporary disable user access to selected smb / cifs shares when the systems administrator wants to. It also describes how to re-enable access.

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - 7000 Series ZFS Appliances

 

Fix

In order to disable smb / cifs access to the shares one should not disable smbd since that may cause unwanted side effects like related processes going into a state where they generate lots of errors which consumes lots of system resources.

The preferred way of temporarily disabling access to smb / cifs shares is to set the parameter "smbshare" to "off".

This can be achieved in the BUI in two ways:

1. Disable at Project level

Select
Shares > Projects > Protocols
There the Project Resource Name should be changed to "off" which causes the smbshares to be no longer shared.

When one wants to re-enable smb sharing the Project Resource Name parameter should be set back to it's original value. Setting it to "on" will also re-enable sharing, but the resource will use it's filesystem name as the resource name then.

2. Disable at Share level

Select
Shares > Projects
There choose the share you want to modify by hitting the pencil icon at the right side. In the new screen select the Protocols tab. There you find the "Resource Name" in the SMB parameters section. You can change the name to "off" if you don't want to share this resource.

If you want to re-enable sharing you should change the Resource Name parameter back to it's original value or to "on".

It may be necessary to uncheck the "Inherit from Project" parameter in order to allow modification of the parameter at share level.
See also the online help of your system
https://<ip-address-of-your-unified-storage-system>:215/wiki/index.php/Shares:Projects:Protocols#SMB

 

Back to <Document 1408716.1> Sun Storage 7000 Unified Storage System: How to Troubleshoot SMB (CIFS) Problems.

References

<NOTE:1408716.1> - Sun Storage 7000 Unified Storage System: How to Troubleshoot SMB (CIFS) problems

Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback