Windows2008下搭建NFS实现windows空间提供linux使用
生活随笔
收集整理的這篇文章主要介紹了
Windows2008下搭建NFS实现windows空间提供linux使用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
我們既然是要把Windows 的硬盤給Linux使用 ?就需要在Windows上安裝NFS網絡文件系統 操作如下1.添加角色-----文件服務---勾選網絡文件服務
2.安裝完成后 我們需要把這30G空間給Linux用
創建一個文件夾 ?然后點擊管理NFS共享 共享使用默認
添加IP
為客戶端IP
然后登錄Linux掛載
首先創建一個掛載點
掛載
設置開機掛載vi /etc/fatab
[root@htuidc /]# vi /etc/rc.local?
設置完之后重啟就可以了
Linux mount掛載常見問題mount: wrong fs type, bad option, bad superblock on 125.64.41.244:/data/img,
?????? missing codepage or helper program, or other error
?????? (for several filesystems (e.g. nfs, cifs) you might
?????? need a /sbin/mount.<type> helper program)
?????? In some cases useful info is found in syslog - try
?????? dmesg | tail? or so
?
解決辦法:Linux沒有安裝nfs-utils ?[root@htuidc /]# yum -y install nfs-untils
2.遇到這個問題是沒開啟rpcbind服務# mount 42.51.153.157:/nfs /mnt
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
解決辦法:client:
# /etc/init.d/rpcbind start
?
來自為知筆記(Wiz)
2.安裝完成后 我們需要把這30G空間給Linux用
創建一個文件夾 ?然后點擊管理NFS共享 共享使用默認
添加IP
為客戶端IP
然后登錄Linux掛載
首先創建一個掛載點
掛載
設置開機掛載vi /etc/fatab
[root@htuidc /]# vi /etc/rc.local?
設置完之后重啟就可以了
Linux mount掛載常見問題mount: wrong fs type, bad option, bad superblock on 125.64.41.244:/data/img,
?????? missing codepage or helper program, or other error
?????? (for several filesystems (e.g. nfs, cifs) you might
?????? need a /sbin/mount.<type> helper program)
?????? In some cases useful info is found in syslog - try
?????? dmesg | tail? or so
?
解決辦法:Linux沒有安裝nfs-utils ?[root@htuidc /]# yum -y install nfs-untils
2.遇到這個問題是沒開啟rpcbind服務# mount 42.51.153.157:/nfs /mnt
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
解決辦法:client:
# /etc/init.d/rpcbind start
?
來自為知筆記(Wiz)
轉載于:https://www.cnblogs.com/yangxiaofei/p/4996731.html
總結
以上是生活随笔為你收集整理的Windows2008下搭建NFS实现windows空间提供linux使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 使用个推的时候出现Installatio
- 下一篇: Interface 的本质用处