Sharing file systems using CIFS and NFS protocols
|Article:HOWTO39767|||||Created: 2011-01-07|||||Updated: 2011-01-07|||||Article URL http://www.symantec.com/docs/HOWTO39767|
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
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/HOWTO39767