日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

Windows2008下搭建NFS实现windows空间提供linux使用

發布時間:2025/4/16 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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)

轉載于:https://www.cnblogs.com/yangxiaofei/p/4996731.html

總結

以上是生活随笔為你收集整理的Windows2008下搭建NFS实现windows空间提供linux使用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。