windows 搭建NFS服务器

Win7除了旗舰版和企业版其他版本没有NFS客户端,windows2000,windowsXP,windows2003有个sfu(windows services for unix)工具貌似比较强大,由于一直用win7而且这个软件不支持win7所以不做描述。win7自带客户端的详细使用方法在这里。公司里的电脑用的专业版,只能用windows作为服务端了,用这个软件就能满足我的要求,结尾有下载地址 继续阅读

强制 umount nfs文件系统


[root@bswin ~]# umount /work2/xiep/wwwroot
umount.nfs: /home/work2/xiep/wwwroot: device is busy
umount.nfs: /home/work2/xiep/wwwroot: device is busy
[root@bswin ~]# fuser -km /work2/xiep/wwwroot
/work2/xiep/wwwroot: 16616c
[root@bswin ~]# umount /work2/xiep/wwwroot
[root@bswin ~]# fuser --help
Usage: fuser [ -a ¦ -s ¦ -c ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
             [ - ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
       fuser -l
       fuser -V
Show which processes use the named files, sockets, or filesystems.

    -a        display unused files too
    -c        mounted FS
    -f        silently ignored (for POSIX compatibility)
    -i        ask before killing (ignored without -k)
    -k        kill processes accessing the named file
    -l        list available signal names
    -m        show all processes using the named filesystems
    -n SPACE  search in this name space (file, udp, or tcp)
    -s        silent operation
    -SIGNAL   send this signal instead of SIGKILL
    -u        display user IDs
    -v        verbose output
    -V        display version information
    -4        search IPv4 sockets only
    -6        search IPv6 sockets only
    -         reset options

  udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]]


[root@bswin xiep]# mount -o soft,timeo=1 /work2/xiep/wwwroot/

Linux Network Administrators Guide,Chapter 14. The NetworkFile System (可能需要代理) 上有一些说明。