=====================================取消======================================
- bash-3.00# umount /export/home/ddd
- bash-3.00# mount
- / on /dev/dsk/c0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980000 on Mon Jun 25 13:47:53 2012
- /devices on /devices read/write/setuid/devices/dev=4780000 on Mon Jun 25 13:47:39 2012
- /system/contract on ctfs read/write/setuid/devices/dev=47c0001 on Mon Jun 25 13:47:39 2012
- /proc on proc read/write/setuid/devices/dev=4800000 on Mon Jun 25 13:47:39 2012
- /etc/mnttab on mnttab read/write/setuid/devices/dev=4840001 on Mon Jun 25 13:47:39 2012
- /etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4880001 on Mon Jun 25 13:47:39 2012
- /system/object on objfs read/write/setuid/devices/dev=48c0001 on Mon Jun 25 13:47:39 2012
- /etc/dfs/sharetab on sharefs read/write/setuid/devices/dev=4900001 on Mon Jun 25 13:47:40 2012
- /lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/dev=1980000 on Mon Jun 25 13:47:49 2012
- /dev/fd on fd read/write/setuid/devices/dev=4a80001 on Mon Jun 25 13:47:53 2012
- /tmp on swap read/write/setuid/devices/xattr/dev=4880002 on Mon Jun 25 13:47:55 2012
- /var/run on swap read/write/setuid/devices/xattr/dev=4880003 on Mon Jun 25 13:47:55 2012
- /export/home on /dev/dsk/c0d0s7 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980007 on Mon Jun 25 13:48:56 2012
- /export/home/bbb on 192.168.205.140:/export/home/aaa remote/read/write/setuid/devices/xattr/dev=4b00006 on Mon Jun 25 14:46:42 2012
取消共享
- bash-3.00# share
- - /export/home/ccc rw ""
- - /export/home/aaa rw ""
- bash-3.00# unshare /export/home/ccc
- bash-3.00# share
- - /export/home/aaa rw ""
但是如果需要永久共享,应该屏蔽/etc/dfs/dfstab文件里面的共享信息
以上是solaris环境,RedHat可以类比
