Sharing file systems using CIFS and NFS protocols
|Article:HOWTO60102|||||Created: 2011-10-20|||||Updated: 2012-04-04|||||Article URL http://www.symantec.com/docs/HOWTO60102|
FileStore provides support for multi-protocol file sharing, where the same file system can be exported to both Windows and UNIX users using the CIFS and NFS (Network File System) protocols. The result is an efficient use of storage by sharing a single data set across multi-application platforms.
Figure: Exporting files systems shows how file system sharing for the two protocols works.
It is recommended that you disable the oplocks option when the following occurs:
To export a file system to Windows and UNIX users
NFS> share add ro /vx/fs1 Exporting *:/vx/fs1 with options ro ..Success.
NFS> share show /vx/fs1 *(ro)
CIFS> show Name Value ---- ----- netbios name mycluster netbios aliases ntlm auth yes allow trusted domains no homedirfs aio size 1024 idmap backend rid:10000-1000000 workgroup SYMANTECDOMAIN security ads Domain SYMANTECDOMAIN.COM Domain user administrator Domain Controller SYMSERVER Clustering Mode normal CIFS> share add fs1 share1 rw SFS cifs WARNING V-288-0 Filesystem (fs1) is already shared over NFS with 'ro' permission. Do you want to proceed (y/n): y Exporting CIFS filesystem : share1 .. CIFS> share show ShareName FileSystem ShareOptions share1 fs1 owner=root,group=root,rw Note: In the FileStore 5.7 P1 release, CIFS> netbios aliases were deprecated in both the FileStore CLI as well as the FileStore GUI.
When the file system in CIFS is set to homedirfs, the FileStore software assumes that the file system is exported to CIFS users in read and write mode. FileStore does not allow you to export the same file system as an CIFS share and a home directory file system (homedirfs). For example, if the file system fs1 is already exported as a CIFS share, then you cannot set it as homedirfs.
To export a file system set as homedirfs
CIFS> share show ShareName FileSystem ShareOptions share1 fs1 owner=root,group=root,rw CIFS> set homedirfs fs1 SFS cifs ERROR V-288-615 Filesystem (fs1) is already exported by another CIFS share.
Article URL http://www.symantec.com/docs/HOWTO60102