4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows 10 Home edition で NFSClient を使い NFS をマウントする

Last updated at Posted at 2019-04-19

背景

  • 普段は Linux 環境で NFS を使っている(NFS サーバがすでにある. NFS v3)
  • Windows 10 で NFS をマウントしたいときもある
  • Windows 10 Home edition では NFS client が Windows 標準機能として使えない
    • WSL で mount.nfs もだめでした.

NFSClient

を使い NFS ボリュームにアクセスできるのを確認しました(x64).

ビルドには Visual Studio 2017 + C# が必要です. ビルドしておきます. C# なのでビルドは爆速です.

マウントした NFS を Explorer からアクセスする.

そのままでは GUI だけからのアクセスになります.

いくつか方法はあるようですが, ここでは NFSClient で備わっている Dokan 経由でマウントできるようにします.
現状の NFSClient でサポートしているのは Dokan 0.7.4 です. それより新しい 1.x バージョンでは動作しませんでした(NFSClient のコードをいじればいけるかも)

Dokan 0.7.4 をインストール(必要に応じて VC 2013 dist をインストール)したのち, NFSClientZ:¥ のボタンを押すと explorer で z:¥ にマウントされます.

nfsclient.PNG

Voala! Explorer でアクセスできるようになりました.

TODO

  • WSL でも見れるようにしたい
    • Windows 10 2019 夏のアップデートで WSL から Windows/WSL のファイルシステムが透過的にアクセスできるようになるのでそれで解決かも?
  • サービスとして登録して Windows 起動したら自動で NFS マウントしたい
  • Dokan の仕組みを極め, Dokan 1.x を使うようにしたい.
  • NFS を SMB 経由でアクセスできなかな?
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?