By dougm on Apr 09, 2007
There are a number of enhancements planned for the future of sharemgr. These enhancements fall into four distinct areas:
- bugs fixes and performance improvements
- better ZFS integration
- additional protocol support
The first three are relatively straightforward while the last (usability) is a bit more subjective and will be based, to a large extent, on user feedback.
The next ZFS integration point is to have the "zfs" command use the sharemgr internal API to enable/disable shares. This will improve performance, especially on very large configurations, when setting the "sharenfs" property. The current implementation is calling the share/unshare commands which are slow to startup on large configurations. This fix/enhancement is currently in test.
For additional protocol support, we are looking at what changes to sharemgr are required to potentially support non-NFS protocols such as CIFS. CIFS has some requirements that are quite different from NFS, but for the most part is pretty much the same. One area where CIFS differs significantly is in how shares are named. NFS uses the shared path and CIFS uses a "share name" (there can be multiple share names per path). In sharemgr we are looking at extending the current notion of resource names to provide the naming that CIFS requires. For NFS, resource names will be aliases for the path. For CIFS, they will likely represent the CIFS share name. We are still working out all of the details. Suggestions on other enhancements, or where there are differences between NFS and other file sharing protocols, are always welcome. We want sharemgr to be ready in the event someone wants to integrate another protocol into the sharemgr facility.
As mentioned above, user input is taken into account for future usability enhancements. One area that needs some enhancement is output of the "show" subcommand. We should have an option similar to the "zfs" -o option that allows the user to specify what gets displayed.
Discussion of sharemgr can take place on the OpenSolaris "nfs" community discussion. Bugs and RFEs should be filed under category "utility" and subcategory "filesystem". Anyone interested in making enhancements should start a discussion in the "nfs" discussion area.