Enable/disable nfs
来源:互联网 发布:北京软件外包公司 编辑:程序博客网 时间:2024/05/29 07:02
Solaris:
share -F nfs /dir
unshare /dir
Linux:
modify /etc/exports
add dirs you want to share
/dir *(ro, no_root_squash)
# there are more options for nfs, pls look into the nfs manual;
service portmap start
service nfs start
Solaris 10:
On Solaris 10, if we delete nfs/server from smf using svccfg, we need to import the nfs/server.xml back and then add a new entry into /etc/dfs/dfstab, finally enable nfs/server will be successful.
svccfg import /var/svc/manifest/network/nfs/server.xml
[root@vcsv245i 51]#>more /etc/dfs/dfstab
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command 'svcadm enable network/nfs/server' to
# run the NFS daemon processes and the share commands, after adding
# the very first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs /mnt
- Enable/disable nfs
- Enable/Disable/Validate/Novalidate
- Enable/Disable Linux mousekeys
- enable disable trigger
- disable/enable 程序控制网卡
- 索引unusable|disable|enable
- 索引unusable|disable|enable
- Disable & Enable xcode Indexing
- mysql DISABLE/ENABLE KEYS
- enable/disable ie proxy
- Enable & Disable Xcode Indexing
- 如何Enable/Disable菜单项
- Enable/Disable constraints, Linux copy
- 如何enable/disable菜单项
- enable or disable system services
- Android Multi-Core Enable/Disable
- 如何Enable/Disable菜单项
- Oracle 约束enable/disable novalidate
- 方法为什么---走出软件作坊:三五个人十来条枪 如何成为开发正规军(三十九)
- 文件的上传
- 写给刚工作的网站技术人员
- 虚拟串口实现
- 3秒钟后自动转到首页
- Enable/disable nfs
- IIS 5.0 和 6.0 的 ASP.NET 应用程序生命周期
- 解析分布式分区视图
- Emacs基本知识
- 蟑螂·魂编程思想之《单表无限分类》
- 疯狂的程序员67
- WinCE下的流驱动
- aspnet_wp.exe could not be started_asp.net技巧
- WinCVS客户端的输出信息的含义(转载于teamlet的文章)