8
6

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.

VagrantのNFS設定でexportsのエラー解消

8
Posted at

Vagrantでnfsを使うと、/etc/exportsに設定が追加されます。
複数のプロジェクトでvagrantを使っているときなどに、公開先のipなどが重複して、起動時に

exports:2: path contains non-directory or non-existent components:

のようなエラーが発生することがありました。

解消するために、

vagrant halt
# viで不要なを消すでもいいかも
rm -rf /etc/exports
touch /etc/exports
vagrant up

などして不要な設定たちを一旦削除してあげることで解消しました。

8
6
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
8
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?