Yanor.net/
Wiki
Blog
GitHub
Sandbox
開始行:
* NFSクライアント [#keabffbe]
** 前提 [#v0d570a1]
- OSはLinux CentOS6.3とする。
- nfsは標準パッケージを利用する。
- NFSサーバ192.168.1.100は/var/export/share01ディレクトリ...
- NFSクライアントは/var/mnt/share01に上の公開ディレクトリ...
** nfsパッケージのインストール [#sdc7528c]
yum install nfs-utils
yum install autofs
** マウントポイント作成 [#hc97534f]
mkdir -p /var/mnt/share01
** マウントする [#w015e4ec]
mount -t nfs 192.168.1.100:/var/export/share01 /var/mnt/...
** 起動時に自動的にマウントする1 - /etc/fstab [#eb52ae26]
192.168.1.100:/var/export/share01 /var/mnt/share01 ...
- defaultsはrw, suid, dev, exec, auto, nouser, asyncと等...
- fstabの記述の詳細はman fstabを参照する。
The fifth field (fs_freq).
This field is used for these filesystems by the d...
field is not present, a value of zero is returned...
The sixth field (fs_passno).
This field is used by the fsck(8) program t...
filesystem should be specified with a fs_passno o...
drive will be checked sequentially, but file...
available in the hardware. If the sixth field is...
filesystem does not need to be checked.
*** 参考 [#i392ead1]
- NFS クライアントの設定 https://access.redhat.com/site/d...
** 起動時に自動的にマウントする2 - autofs [#v515b37b]
*** /etc/auto.master [#y571fd48]
/var/mnt /etc/auto.var.mnt
- auto.masterファイルにマウントポイントの親になるディレク...
*** /etc/auto.var.mnt [#l4a53768]
share01 -fstype=nfs 192.168.1.100:/var/export/share01
- 指定したauto.var.mntファイルにマウントポイントになるデ...
- これで、cd /var/mnt/share01 とすると、/var/mnt/share01...
*** 参考 [#g904291e]
- autofs https://access.redhat.com/site/documentation/ja-...
終了行:
* NFSクライアント [#keabffbe]
** 前提 [#v0d570a1]
- OSはLinux CentOS6.3とする。
- nfsは標準パッケージを利用する。
- NFSサーバ192.168.1.100は/var/export/share01ディレクトリ...
- NFSクライアントは/var/mnt/share01に上の公開ディレクトリ...
** nfsパッケージのインストール [#sdc7528c]
yum install nfs-utils
yum install autofs
** マウントポイント作成 [#hc97534f]
mkdir -p /var/mnt/share01
** マウントする [#w015e4ec]
mount -t nfs 192.168.1.100:/var/export/share01 /var/mnt/...
** 起動時に自動的にマウントする1 - /etc/fstab [#eb52ae26]
192.168.1.100:/var/export/share01 /var/mnt/share01 ...
- defaultsはrw, suid, dev, exec, auto, nouser, asyncと等...
- fstabの記述の詳細はman fstabを参照する。
The fifth field (fs_freq).
This field is used for these filesystems by the d...
field is not present, a value of zero is returned...
The sixth field (fs_passno).
This field is used by the fsck(8) program t...
filesystem should be specified with a fs_passno o...
drive will be checked sequentially, but file...
available in the hardware. If the sixth field is...
filesystem does not need to be checked.
*** 参考 [#i392ead1]
- NFS クライアントの設定 https://access.redhat.com/site/d...
** 起動時に自動的にマウントする2 - autofs [#v515b37b]
*** /etc/auto.master [#y571fd48]
/var/mnt /etc/auto.var.mnt
- auto.masterファイルにマウントポイントの親になるディレク...
*** /etc/auto.var.mnt [#l4a53768]
share01 -fstype=nfs 192.168.1.100:/var/export/share01
- 指定したauto.var.mntファイルにマウントポイントになるデ...
- これで、cd /var/mnt/share01 とすると、/var/mnt/share01...
*** 参考 [#g904291e]
- autofs https://access.redhat.com/site/documentation/ja-...
ページ名: