そもそもマウントとかメンドイな、勝手にやってくれよ!
と思うのだが、手動かつ、つっこんだ部分のメリットもあるのでは?ではでは?
とか。
★[maint01@RHEL-4-6-test01 etc]$ vi /etc/exports
なんも書かれていない。
共有ディレクトリと公開先と条件を記述するとよいらしい。
設定後はサービス再起動で読み込ませる
★# service nfs restart
-------------------------------
現状
★[maint01@RHEL-4-6-test01 etc]$ /sbin/chkconfig --list |grep nfs
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
起動設定されていない。
onの仕方わすれた
参考URL:
http://d.hatena.ne.jp/perlcodesample/20081230/1230644961
[maint01@RHEL-4-6-test01 etc]$ /sbin/chkconfig --level 35 nfs on
シンボリックリンク /etc/rc3.d/S60nfs をつくるのに失敗しました: 許可がありません
シンボリックリンク /etc/rc5.d/S60nfs をつくるのに失敗しました: 許可がありません
[maint01@RHEL-4-6-test01 etc]$ su
Password:
★[root@RHEL-4-6-test01 etc]# /sbin/chkconfig --level 35 nfs on
★[root@RHEL-4-6-test01 etc]# /sbin/chkconfig --list nfs
nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
[root@RHEL-4-6-test01 etc]#
onにした。
[root@RHEL-4-6-test01 etc]# /etc/rc.d/init.d/nfs status
rpc.mountd は停止しています
nfsd は停止しています
rpc.rquotad は停止しています
[root@RHEL-4-6-test01 etc]# /etc/rc.d/init.d/nfs status start
rpc.mountd は停止しています
nfsd は停止しています
rpc.rquotad は停止しています
[root@RHEL-4-6-test01 etc]#
[root@RHEL-4-6-test01 etc]# /etc/rc.d/init.d/nfs status status
rpc.mountd は停止しています
nfsd は停止しています
rpc.rquotad は停止しています
起動しない。。
言われたとおりやってみる
-------------------------------
参考URL:
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/367usenfs.html
https://www.google.co.jp/search?q=nfs+mount&aq=0&oq=nfs+mount&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8
自動マウント系の話。。は関係ないみたい。
-------------------------------
自動マウント系
// auto.misc
[maint01@RHEL-4-6-test01 etc]$ cat auto.misc
#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
// auto.masterこいつがタイムアウト値と関連?
ここいら?
#/misc /etc/auto.misc --timeout=60
[maint01@RHEL-4-6-test01 etc]$ cat auto.master
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc /etc/auto.misc --timeout=60
#/misc /etc/auto.misc
#/net /etc/auto.net
[maint01@RHEL-4-6-test01 etc]$
-------------------------------
★[root@RHEL-4-6-test01 etc]# /sbin/service nfs status
rpc.mountd は停止しています
nfsd は停止しています
rpc.rquotad は停止しています
★[root@RHEL-4-6-test01 etc]# /sbin/service nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@RHEL-4-6-test01 etc]#
起動した
[root@RHEL-4-6-test01 etc]# /etc/rc.d/init.d/nfs status
rpc.mountd (pid 28378) を実行中...
nfsd (pid 28372 28371 28370 28369 28368 28367 28366 28365) を実行中...
rpc.rquotad (pid 28356) を実行中...
うーんサービスとrc.d系と違いとかよくわからない。
まだ/etc/exportsになんも書いていないが、軽く動きをチラミ。。
-------------------------------
てかnfs lockってなに?
https://www.google.co.jp/webhp#hl=ja&safe=off&sclient=psy-ab&q=nfs+lock&oq=nfs+lock&gs_l=hp.3..0l3j0i30l5.452.6078.0.6314.15.13.2.0.0.0.273.1324.7j4j1.12.0...0.0...1c.1j4.wLC2yglWkKA&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=1541a14e599660d&bpcl=37189454&biw=1745&bih=864
-------------------------------
SambaとNFSとかよーわからん
てかたしかSambaだとWINDOWSと親和性が高いとかなんとかな共有だとかレベル。
http://cgi.samba.gr.jp/mailman/archives/samba-jp/2008-July/001505.html
http://thinkit.co.jp/free/article/0612/6/2?page=0,3
https://www.google.co.jp/search?q=samba+nfs&aq=f&oq=samba+nfs&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8
-------------------------------
なんか話が派生してきた。
Tomcat Apacheとかに似てるめんどくて広くて、
環境とかバージョンで色々メンドクテ。
設定とか物理とかNW系とうんたらなにおい。。
で、さらにアプリとアプリの振る舞い如何でうーたらな臭がしますな。
参考URL:
http://thinkit.co.jp/free/article/0612/6/2?page=0,3
-------------------------------
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28378
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 28378/rpc.mountd off (0.00/0/0)
udp 0 0 0.0.0.0:992 0.0.0.0:* 28378/rpc.mountd off (0.00/0/0)
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28372
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28371
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28370
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28369
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28368
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28367
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28366
[root@RHEL-4-6-test01 etc]# netstat -anop |grep 28365
[root@RHEL-4-6-test01 etc]# /etc/rc.d/init.d/nts status
bash: /etc/rc.d/init.d/nts: そのようなファイルやディレクトリはありません
[root@RHEL-4-6-test01 etc]# /etc/rc.d/init.d/nfs status
rpc.mountd (pid 28378) を実行中...
nfsd (pid 28372 28371 28370 28369 28368 28367 28366 28365) を実行中...
rpc.rquotad (pid 28356) を実行中...
[root@RHEL-4-6-test01 etc]#
UDPで992でrpc.mountd
TCP995でrpc.mountd
(毎回違う)
[root@RHEL-4-6-test01 ~]# netstat -anop |grep 28998
tcp 0 0 0.0.0.0:769 0.0.0.0:* LISTEN 28998/rpc.mountd off (0.00/0/0)
udp 0 0 0.0.0.0:766 0.0.0.0:* 28998/rpc.mountd off (0.00/0/0)
残りはなんぞね。。
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28378
root 28378 1 0 13:17 ? 00:00:00 rpc.mountd
root 28483 28179 0 13:55 pts/3 00:00:00 grep 28378
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28372
root 28372 1 0 13:17 ? 00:00:00 [nfsd]
root 28485 28179 0 13:55 pts/3 00:00:00 grep 28372
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28371
root 28371 1 0 13:17 ? 00:00:00 [nfsd]
root 28487 28179 0 13:55 pts/3 00:00:00 grep 28371
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28370
root 28370 1 0 13:17 ? 00:00:00 [nfsd]
root 28489 28179 0 13:55 pts/3 00:00:00 grep 28370
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28369
root 28369 1 0 13:17 ? 00:00:00 [nfsd]
root 28491 28179 0 13:55 pts/3 00:00:00 grep 28369
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28368
root 28368 1 0 13:17 ? 00:00:00 [nfsd]
root 28493 28179 0 13:55 pts/3 00:00:00 grep 28368
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28367
root 28367 1 0 13:17 ? 00:00:00 [nfsd]
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28366
root 28366 1 0 13:17 ? 00:00:00 [nfsd]
root 28497 28179 0 13:55 pts/3 00:00:00 grep 28366
[root@RHEL-4-6-test01 etc]# ps -ef |grep 28365
root 28365 1 0 13:17 ? 00:00:00 [nfsd]
root 28499 28179 0 13:55 pts/3 00:00:00 grep 28365
[root@RHEL-4-6-test01 etc]# ps -ef |grep nfsd
root 28365 1 0 13:17 ? 00:00:00 [nfsd]
root 28366 1 0 13:17 ? 00:00:00 [nfsd]
root 28367 1 0 13:17 ? 00:00:00 [nfsd]
root 28368 1 0 13:17 ? 00:00:00 [nfsd]
root 28369 1 0 13:17 ? 00:00:00 [nfsd]
root 28370 1 0 13:17 ? 00:00:00 [nfsd]
root 28371 1 0 13:17 ? 00:00:00 [nfsd]
root 28372 1 0 13:17 ? 00:00:00 [nfsd]
root 28501 28179 0 13:55 pts/3 00:00:00
nfsdが8匹常駐
-------------------------------
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
たぶん8匹はデーモン?
サービスはなんとなしに創造付くが。
クオートとmountdが不明風味
-------------------------------
バージョンは?
nfs バージョン 確認 linux
参考URL:
https://www.google.co.jp/webhp#hl=ja&safe=off&sclient=psy-ab&q=nfs+%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3+%E7%A2%BA%E8%AA%8D+linux&oq=nfs+%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3+&gs_l=hp.1.1.0l4j0i5.0.0.1.12695.0.0.0.0.0.0.0.0..0.0...0.0...1c.Dx7UzHSE410&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=1541a14e599660d&bpcl=37189454&biw=1745&bih=864
http://d.hatena.ne.jp/yohei-a/20101202/1291251382
http://blog.livedoor.jp/tsutaken/archives/1305830.html
http://typea.info/tips/wiki.cgi?page=Linux+NFS%A4%F2%B9%BD%C0%AE%A4%B9%A4%EB
http://landisk.kororo.jp/diary/26_nfs.php
うーん出てこない
nfsstat -mしたいが。。
[root@RHEL-4-6-test01 etc]# find / -name nfs*
/lib/modules/2.6.9-67.EL/kernel/fs/nfs
/lib/modules/2.6.9-67.EL/kernel/fs/nfs/nfs.ko
/lib/modules/2.6.9-67.EL/kernel/fs/nfs_common
/lib/modules/2.6.9-67.EL/kernel/fs/nfs_common/nfs_acl.ko
/lib/modules/2.6.9-67.EL/kernel/fs/nfsd
/lib/modules/2.6.9-67.EL/kernel/fs/nfsd/nfsd.ko
/proc/fs/nfs
/proc/fs/nfsd
/proc/fs/nfsd/nfsv4leasetime
/proc/sys/sunrpc/nfsd_debug
/proc/sys/sunrpc/nfs_debug
/proc/net/rpc/nfs4.nametoid
/proc/net/rpc/nfs4.idtoname
/proc/net/rpc/nfsd.fh
/proc/net/rpc/nfsd.export
/proc/net/rpc/nfsd
/sys/module/nfsd
/sys/module/nfs_acl
/usr/lib/python2.3/site-packages/sos/plugins/nfsserver.py
/usr/lib/python2.3/site-packages/sos/plugins/nfsserver.pyo
/usr/lib/python2.3/site-packages/sos/plugins/nfsserver.pyc
/usr/lib/x86_64-redhat-linux3E/include/rpcsvc/nfs_prot.h
/usr/lib/x86_64-redhat-linux3E/include/rpcsvc/nfs_prot.x
/usr/lib/x86_64-redhat-linux3E/include/nfs
/usr/lib/x86_64-redhat-linux3E/include/nfs/nfs.h
/usr/sbin/nfsstat
/usr/share/services/nfs.protocol
/usr/share/doc/HTML/ru/kioslave/nfs.docbook
/usr/share/doc/HTML/uk/kioslave/nfs.docbook
/usr/share/doc/HTML/pt/kioslave/nfs.docbook
/usr/share/doc/HTML/it/kioslave/nfs.docbook
/usr/share/doc/HTML/nl/kioslave/nfs.docbook
/usr/share/doc/HTML/sk/kioslave/nfs.docbook
/usr/share/doc/HTML/de/kioslave/nfs.docbook
/usr/share/doc/HTML/fr/kioslave/nfs.docbook
/usr/share/doc/HTML/sl/kioslave/nfs.docbook
/usr/share/doc/HTML/et/kioslave/nfs.docbook
/usr/share/doc/HTML/sv/kioslave/nfs.docbook
/usr/share/doc/HTML/es/kioslave/nfs.docbook
/usr/share/doc/HTML/pt_BR/kioslave/nfs.docbook
/usr/share/doc/HTML/hu/kioslave/nfs.docbook
/usr/share/doc/HTML/en_GB/kioslave/nfs.docbook
/usr/share/doc/HTML/tr/kioslave/nfs.docbook
/usr/share/doc/HTML/da/kioslave/nfs.docbook
/usr/share/doc/HTML/en/kioslave/nfs.docbook
/usr/share/doc/man-pages-ja-20050215/translation_lists/nfs-utils.translation_list
/usr/share/doc/man-pages-ja-20050215/translation_lists/nfs-server.translation_list
/usr/share/doc/kernel-doc-2.6.9/Documentation/nfsroot.txt
/usr/share/doc/system-config-nfs-1.2.8/figs/nfs-add.png
/usr/share/doc/dovecot-0.99.11/nfs.txt
/usr/share/systemtap/tapset/nfs_proc.stp
/usr/share/systemtap/tapset/nfs.stp
/usr/share/systemtap/tapset/nfsd.stp
/usr/share/systemtap/tapset/LKET/nfs_proc.stp
/usr/share/systemtap/tapset/LKET/nfs.stp
/usr/share/systemtap/tapset/LKET/nfsd.stp
/usr/share/icons/slick/16x16/devices/nfs_mount.png
/usr/share/icons/slick/16x16/devices/nfs_unmount.png
/usr/share/icons/slick/64x64/devices/nfs_mount.png
/usr/share/icons/slick/64x64/devices/nfs.png
/usr/share/icons/slick/64x64/devices/nfs_unmount.png
/usr/share/icons/slick/22x22/devices/nfs_mount.png
/usr/share/icons/slick/22x22/devices/nfs_unmount.png
/usr/share/icons/slick/32x32/devices/nfs_mount.png
/usr/share/icons/slick/32x32/devices/nfs_unmount.png
/usr/share/icons/slick/48x48/devices/nfs_mount.png
/usr/share/icons/slick/48x48/devices/nfs_unmount.png
/usr/share/icons/kids/16x16/devices/nfs_unmount.png
/usr/share/icons/kids/64x64/devices/nfs_unmount.png
/usr/share/icons/kids/22x22/devices/nfs_unmount.png
/usr/share/icons/kids/32x32/devices/nfs_unmount.png
/usr/share/icons/kids/48x48/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/16x16/devices/nfs_mount.png
/usr/share/icons/crystalsvg/16x16/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/scalable/devices/nfs_unmount.svgz
/usr/share/icons/crystalsvg/scalable/devices/nfs_mount.svgz
/usr/share/icons/crystalsvg/scalable/devices/nfs_umount.svgz
/usr/share/icons/crystalsvg/64x64/devices/nfs_mount.png
/usr/share/icons/crystalsvg/64x64/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/32x32/devices/nfs_mount.png
/usr/share/icons/crystalsvg/32x32/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/48x48/devices/nfs_mount.png
/usr/share/icons/crystalsvg/48x48/devices/nfs_unmount.png
/usr/share/icons/kdeclassic/16x16/devices/nfs_mount.png
/usr/share/icons/kdeclassic/16x16/devices/nfs_unmount.png
/usr/share/icons/kdeclassic/32x32/devices/nfs_mount.png
/usr/share/icons/kdeclassic/32x32/devices/nfs_unmount.png
/usr/share/icons/kdeclassic/48x48/devices/nfs_mount.png
/usr/share/icons/kdeclassic/48x48/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/24x24/apps/nfs_mount.png
/usr/share/icons/Bluecurve/24x24/devices/nfs_mount.png
/usr/share/icons/Bluecurve/24x24/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/16x16/apps/nfs_mount.png
/usr/share/icons/Bluecurve/16x16/devices/nfs_mount.png
/usr/share/icons/Bluecurve/16x16/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/36x36/apps/nfs_mount.png
/usr/share/icons/Bluecurve/96x96/devices/nfs_mount.png
/usr/share/icons/Bluecurve/96x96/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/32x32/apps/nfs_mount.png
/usr/share/icons/Bluecurve/48x48/apps/nfs_mount.png
/usr/share/icons/Bluecurve/48x48/devices/nfs_mount.png
/usr/share/icons/Bluecurve/48x48/devices/nfs_unmount.png
/usr/share/apps/konqueror/servicemenus/nfs_mounted_konqy.desktop
/usr/share/man/man8/nfsd.8.gz
/usr/share/man/man8/nfsstat.8.gz
/usr/share/man/it/man8/nfsd.8.gz
/usr/share/man/it/man5/nfs.5.gz
/usr/share/man/man5/nfs.5.gz
/usr/share/man/man7/nfsd.7.gz
/usr/share/man/de/man5/nfs.5.gz
/usr/share/man/fr/man8/nfsd.8.gz
/usr/share/man/fr/man8/nfsstat.8.gz
/usr/share/man/fr/man5/nfs.5.gz
/usr/share/man/fr/man2/nfsservctl.2.gz
/usr/share/man/man3/nfs4_uid_to_name.3.gz
/usr/share/man/ko/man5/nfs.5.gz
/usr/share/man/ko/man2/nfsservctl.2.gz
/usr/share/man/es/man2/nfsservctl.2.gz
/usr/share/man/pl/man8/nfsd.8.gz
/usr/share/man/pl/man5/nfs.5.gz
/usr/share/man/pl/man2/nfsservctl.2.gz
/usr/share/man/ja/man8/nfsd.8.gz
/usr/share/man/ja/man8/nfsstat.8.gz
/usr/share/man/ja/man5/nfs.5.gz
/usr/share/man/ja/man2/nfsservctl.2.gz
/usr/share/man/man2/nfsservctl.2.gz
/usr/share/pixmaps/comps/nfs-server.png
/usr/share/texmf/tex/latex/base/nfssfont.tex
/usr/share/system-config-nfs/nfsData.py
/usr/share/system-config-nfs/nfs-export.pyc
/usr/share/system-config-nfs/nfsToken.py
/usr/share/system-config-nfs/nfs-export.py
/usr/share/system-config-nfs/nfsBackend.py
/usr/share/system-config-nfs/nfsBackend.pyc
/usr/share/system-config-nfs/nfsData.pyc
/usr/share/system-config-nfs/nfsToken.pyc
/usr/share/mimelnk/kdedevice/nfs_unmounted.desktop
/usr/share/mimelnk/kdedevice/nfs_mounted.desktop
/usr/include/linux/nfs_xdr.h
/usr/include/linux/nfs_fs_sb.h
/usr/include/linux/nfs_fs_i.h
/usr/include/linux/nfs.h
/usr/include/linux/nfs2.h
/usr/include/linux/nfs3.h
/usr/include/linux/nfs_fs.h
/usr/include/linux/nfs_mount.h
/usr/include/linux/nfsd
/usr/include/linux/nfsd/nfsd.h
/usr/include/rpcsvc/nfs_prot.h
/usr/include/rpcsvc/nfs_prot.x
/usr/include/nfsidmap.h
/usr/include/nfs
/usr/include/nfs/nfs.h
/usr/bin/nfs-export
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/fs/nfsd
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/fs/nfsd
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-x86_64/fs/nfsd
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/fs/nfsd
/usr/lib64/python2.3/Demo/rpc/nfsclient.py
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs2.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_fs.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_mount.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs3.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_fs_sb.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_fs_i.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_xdr.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfsd
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfsd/nfsd.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/rpcsvc/nfs_prot.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/nfs
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/nfs/nfs.ph
/etc/rc.d/init.d/nfs
/etc/rc.d/init.d/nfslock
/etc/selinux/targeted/src/policy/types/nfs.te
/var/lib/nfs
/var/lib/nfs/rpc_pipefs/nfs
/var/lock/subsys/nfs
/var/lock/subsys/nfslock
[root@RHEL-4-6-test01 etc]#
いないみたい。
あ、クライアント側からとか書いてある。。
おいおい。。立ててからでないと確認できないのか。・。
設定書いてないけどとりあえずランレベル3.5で起動出来るようにしてる。
設定書くか。動かさんとバージョンもわからんし。
-------------------------------
ディレクトリ作ってみる、権限とかよくわからんし
[maint01@RHEL-4-6-test01 ~]$ mkdir nfstest
[maint01@RHEL-4-6-test01 ~]$ ls -ltr
合計 20
drwxr-xr-x 2 maint01 maint01 4096 4月 17 2012 Desktop
-rw-r--r-- 1 maint01 maint01 11153 7月 21 03:50 file is edited by fstab-sync - see man fstab-sync for details
drwxrwxr-x 2 maint01 maint01 4096 11月 3 14:23 nfstest
[maint01@RHEL-4-6-test01 ~]$
-------------------------------
★ [root@RHEL-4-6-test01 etc]# vi /etc/exports
設定記述、設定色々ありそうげ
★ /home/maint01/nfstest 10.201.11.0/255.255.255.0(rw)
★参考URL:
http://linux.kororo.jp/cont/server/nfs.php
https://www.google.co.jp/search?q=%2Fetc%2Fexports&oq=%2Fetc%2Fexports&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8
http://webcache.googleusercontent.com/search?q=cache:jdCddBdEhaIJ:archive.linux.or.jp/JF/JFdocs/NFS-HOWTO/server.html+&cd=5&hl=ja&ct=clnk&gl=jp
★サービス再起動
なんか
# service nfs restart
できない。
しゃーないから
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs stop
NFS mountd を終了中: [ OK ]
NFS デーモンを終了中: [ OK ]
NFS quotas を終了中: [ OK ]
NFS サービスを終了中: [失敗]
こっちから。
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@RHEL-4-6-test01 ~]#
なんかサービス停止に失敗しとった。。
サービス開始前にexprotsいじったからかな。。
いったん設定消して再停止
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs stop
NFS mountd を終了中: [ OK ]
NFS デーモンを終了中: [ OK ]
NFS quotas を終了中: [ OK ]
NFS サービスを終了中: [ OK ]
[root@RHEL-4-6-test01 ~]# service nfs restart
bash: service: command not found
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@RHEL-4-6-test01 ~]#
サービスからはうまく起動しない。。
なぞ。。
確認する。
別のクライアンツからー
[maint01@cent-test01 ~]$ mount -t nfs 10.201.11.10:/home/nfstest
mount: only root can do that
[maint01@cent-test01 ~]$
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
たぶん8匹はデーモン?
サービスはなんとなしに創造付くが。
クオートとmountdが不明風味
-------------------------------
バージョンは?
nfs バージョン 確認 linux
参考URL:
https://www.google.co.jp/webhp#hl=ja&safe=off&sclient=psy-ab&q=nfs+%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3+%E7%A2%BA%E8%AA%8D+linux&oq=nfs+%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3+&gs_l=hp.1.1.0l4j0i5.0.0.1.12695.0.0.0.0.0.0.0.0..0.0...0.0...1c.Dx7UzHSE410&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=1541a14e599660d&bpcl=37189454&biw=1745&bih=864
http://d.hatena.ne.jp/yohei-a/20101202/1291251382
http://blog.livedoor.jp/tsutaken/archives/1305830.html
http://typea.info/tips/wiki.cgi?page=Linux+NFS%A4%F2%B9%BD%C0%AE%A4%B9%A4%EB
http://landisk.kororo.jp/diary/26_nfs.php
うーん出てこない
nfsstat -mしたいが。。
[root@RHEL-4-6-test01 etc]# find / -name nfs*
/lib/modules/2.6.9-67.EL/kernel/fs/nfs
/lib/modules/2.6.9-67.EL/kernel/fs/nfs/nfs.ko
/lib/modules/2.6.9-67.EL/kernel/fs/nfs_common
/lib/modules/2.6.9-67.EL/kernel/fs/nfs_common/nfs_acl.ko
/lib/modules/2.6.9-67.EL/kernel/fs/nfsd
/lib/modules/2.6.9-67.EL/kernel/fs/nfsd/nfsd.ko
/proc/fs/nfs
/proc/fs/nfsd
/proc/fs/nfsd/nfsv4leasetime
/proc/sys/sunrpc/nfsd_debug
/proc/sys/sunrpc/nfs_debug
/proc/net/rpc/nfs4.nametoid
/proc/net/rpc/nfs4.idtoname
/proc/net/rpc/nfsd.fh
/proc/net/rpc/nfsd.export
/proc/net/rpc/nfsd
/sys/module/nfsd
/sys/module/nfs_acl
/usr/lib/python2.3/site-packages/sos/plugins/nfsserver.py
/usr/lib/python2.3/site-packages/sos/plugins/nfsserver.pyo
/usr/lib/python2.3/site-packages/sos/plugins/nfsserver.pyc
/usr/lib/x86_64-redhat-linux3E/include/rpcsvc/nfs_prot.h
/usr/lib/x86_64-redhat-linux3E/include/rpcsvc/nfs_prot.x
/usr/lib/x86_64-redhat-linux3E/include/nfs
/usr/lib/x86_64-redhat-linux3E/include/nfs/nfs.h
/usr/sbin/nfsstat
/usr/share/services/nfs.protocol
/usr/share/doc/HTML/ru/kioslave/nfs.docbook
/usr/share/doc/HTML/uk/kioslave/nfs.docbook
/usr/share/doc/HTML/pt/kioslave/nfs.docbook
/usr/share/doc/HTML/it/kioslave/nfs.docbook
/usr/share/doc/HTML/nl/kioslave/nfs.docbook
/usr/share/doc/HTML/sk/kioslave/nfs.docbook
/usr/share/doc/HTML/de/kioslave/nfs.docbook
/usr/share/doc/HTML/fr/kioslave/nfs.docbook
/usr/share/doc/HTML/sl/kioslave/nfs.docbook
/usr/share/doc/HTML/et/kioslave/nfs.docbook
/usr/share/doc/HTML/sv/kioslave/nfs.docbook
/usr/share/doc/HTML/es/kioslave/nfs.docbook
/usr/share/doc/HTML/pt_BR/kioslave/nfs.docbook
/usr/share/doc/HTML/hu/kioslave/nfs.docbook
/usr/share/doc/HTML/en_GB/kioslave/nfs.docbook
/usr/share/doc/HTML/tr/kioslave/nfs.docbook
/usr/share/doc/HTML/da/kioslave/nfs.docbook
/usr/share/doc/HTML/en/kioslave/nfs.docbook
/usr/share/doc/man-pages-ja-20050215/translation_lists/nfs-utils.translation_list
/usr/share/doc/man-pages-ja-20050215/translation_lists/nfs-server.translation_list
/usr/share/doc/kernel-doc-2.6.9/Documentation/nfsroot.txt
/usr/share/doc/system-config-nfs-1.2.8/figs/nfs-add.png
/usr/share/doc/dovecot-0.99.11/nfs.txt
/usr/share/systemtap/tapset/nfs_proc.stp
/usr/share/systemtap/tapset/nfs.stp
/usr/share/systemtap/tapset/nfsd.stp
/usr/share/systemtap/tapset/LKET/nfs_proc.stp
/usr/share/systemtap/tapset/LKET/nfs.stp
/usr/share/systemtap/tapset/LKET/nfsd.stp
/usr/share/icons/slick/16x16/devices/nfs_mount.png
/usr/share/icons/slick/16x16/devices/nfs_unmount.png
/usr/share/icons/slick/64x64/devices/nfs_mount.png
/usr/share/icons/slick/64x64/devices/nfs.png
/usr/share/icons/slick/64x64/devices/nfs_unmount.png
/usr/share/icons/slick/22x22/devices/nfs_mount.png
/usr/share/icons/slick/22x22/devices/nfs_unmount.png
/usr/share/icons/slick/32x32/devices/nfs_mount.png
/usr/share/icons/slick/32x32/devices/nfs_unmount.png
/usr/share/icons/slick/48x48/devices/nfs_mount.png
/usr/share/icons/slick/48x48/devices/nfs_unmount.png
/usr/share/icons/kids/16x16/devices/nfs_unmount.png
/usr/share/icons/kids/64x64/devices/nfs_unmount.png
/usr/share/icons/kids/22x22/devices/nfs_unmount.png
/usr/share/icons/kids/32x32/devices/nfs_unmount.png
/usr/share/icons/kids/48x48/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/16x16/devices/nfs_mount.png
/usr/share/icons/crystalsvg/16x16/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/scalable/devices/nfs_unmount.svgz
/usr/share/icons/crystalsvg/scalable/devices/nfs_mount.svgz
/usr/share/icons/crystalsvg/scalable/devices/nfs_umount.svgz
/usr/share/icons/crystalsvg/64x64/devices/nfs_mount.png
/usr/share/icons/crystalsvg/64x64/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/32x32/devices/nfs_mount.png
/usr/share/icons/crystalsvg/32x32/devices/nfs_unmount.png
/usr/share/icons/crystalsvg/48x48/devices/nfs_mount.png
/usr/share/icons/crystalsvg/48x48/devices/nfs_unmount.png
/usr/share/icons/kdeclassic/16x16/devices/nfs_mount.png
/usr/share/icons/kdeclassic/16x16/devices/nfs_unmount.png
/usr/share/icons/kdeclassic/32x32/devices/nfs_mount.png
/usr/share/icons/kdeclassic/32x32/devices/nfs_unmount.png
/usr/share/icons/kdeclassic/48x48/devices/nfs_mount.png
/usr/share/icons/kdeclassic/48x48/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/24x24/apps/nfs_mount.png
/usr/share/icons/Bluecurve/24x24/devices/nfs_mount.png
/usr/share/icons/Bluecurve/24x24/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/16x16/apps/nfs_mount.png
/usr/share/icons/Bluecurve/16x16/devices/nfs_mount.png
/usr/share/icons/Bluecurve/16x16/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/36x36/apps/nfs_mount.png
/usr/share/icons/Bluecurve/96x96/devices/nfs_mount.png
/usr/share/icons/Bluecurve/96x96/devices/nfs_unmount.png
/usr/share/icons/Bluecurve/32x32/apps/nfs_mount.png
/usr/share/icons/Bluecurve/48x48/apps/nfs_mount.png
/usr/share/icons/Bluecurve/48x48/devices/nfs_mount.png
/usr/share/icons/Bluecurve/48x48/devices/nfs_unmount.png
/usr/share/apps/konqueror/servicemenus/nfs_mounted_konqy.desktop
/usr/share/man/man8/nfsd.8.gz
/usr/share/man/man8/nfsstat.8.gz
/usr/share/man/it/man8/nfsd.8.gz
/usr/share/man/it/man5/nfs.5.gz
/usr/share/man/man5/nfs.5.gz
/usr/share/man/man7/nfsd.7.gz
/usr/share/man/de/man5/nfs.5.gz
/usr/share/man/fr/man8/nfsd.8.gz
/usr/share/man/fr/man8/nfsstat.8.gz
/usr/share/man/fr/man5/nfs.5.gz
/usr/share/man/fr/man2/nfsservctl.2.gz
/usr/share/man/man3/nfs4_uid_to_name.3.gz
/usr/share/man/ko/man5/nfs.5.gz
/usr/share/man/ko/man2/nfsservctl.2.gz
/usr/share/man/es/man2/nfsservctl.2.gz
/usr/share/man/pl/man8/nfsd.8.gz
/usr/share/man/pl/man5/nfs.5.gz
/usr/share/man/pl/man2/nfsservctl.2.gz
/usr/share/man/ja/man8/nfsd.8.gz
/usr/share/man/ja/man8/nfsstat.8.gz
/usr/share/man/ja/man5/nfs.5.gz
/usr/share/man/ja/man2/nfsservctl.2.gz
/usr/share/man/man2/nfsservctl.2.gz
/usr/share/pixmaps/comps/nfs-server.png
/usr/share/texmf/tex/latex/base/nfssfont.tex
/usr/share/system-config-nfs/nfsData.py
/usr/share/system-config-nfs/nfs-export.pyc
/usr/share/system-config-nfs/nfsToken.py
/usr/share/system-config-nfs/nfs-export.py
/usr/share/system-config-nfs/nfsBackend.py
/usr/share/system-config-nfs/nfsBackend.pyc
/usr/share/system-config-nfs/nfsData.pyc
/usr/share/system-config-nfs/nfsToken.pyc
/usr/share/mimelnk/kdedevice/nfs_unmounted.desktop
/usr/share/mimelnk/kdedevice/nfs_mounted.desktop
/usr/include/linux/nfs_xdr.h
/usr/include/linux/nfs_fs_sb.h
/usr/include/linux/nfs_fs_i.h
/usr/include/linux/nfs.h
/usr/include/linux/nfs2.h
/usr/include/linux/nfs3.h
/usr/include/linux/nfs_fs.h
/usr/include/linux/nfs_mount.h
/usr/include/linux/nfsd
/usr/include/linux/nfsd/nfsd.h
/usr/include/rpcsvc/nfs_prot.h
/usr/include/rpcsvc/nfs_prot.x
/usr/include/nfsidmap.h
/usr/include/nfs
/usr/include/nfs/nfs.h
/usr/bin/nfs-export
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-smp-x86_64/fs/nfsd
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-largesmp-x86_64/fs/nfsd
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-x86_64/fs/nfsd
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsacl.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_xdr.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_fs_sb.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_fs_i.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_idmap.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd_idmap.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs2.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs4_mount.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs3.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_fs.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs4_acl.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_page.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs_mount.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfs4.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd/nfsd.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/linux/nfsd/nfsfh.h
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/config/nfs
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/include/config/nfsd
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/fs/nfs
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/fs/nfs_common
/usr/src/kernels/2.6.9-67.EL-xenU-x86_64/fs/nfsd
/usr/lib64/python2.3/Demo/rpc/nfsclient.py
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs2.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_fs.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_mount.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs3.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_fs_sb.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_fs_i.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfs_xdr.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfsd
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/linux/nfsd/nfsd.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/rpcsvc/nfs_prot.ph
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/nfs
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/nfs/nfs.ph
/etc/rc.d/init.d/nfs
/etc/rc.d/init.d/nfslock
/etc/selinux/targeted/src/policy/types/nfs.te
/var/lib/nfs
/var/lib/nfs/rpc_pipefs/nfs
/var/lock/subsys/nfs
/var/lock/subsys/nfslock
[root@RHEL-4-6-test01 etc]#
いないみたい。
あ、クライアント側からとか書いてある。。
おいおい。。立ててからでないと確認できないのか。・。
設定書いてないけどとりあえずランレベル3.5で起動出来るようにしてる。
設定書くか。動かさんとバージョンもわからんし。
-------------------------------
ディレクトリ作ってみる、権限とかよくわからんし
[maint01@RHEL-4-6-test01 ~]$ mkdir nfstest
[maint01@RHEL-4-6-test01 ~]$ ls -ltr
合計 20
drwxr-xr-x 2 maint01 maint01 4096 4月 17 2012 Desktop
-rw-r--r-- 1 maint01 maint01 11153 7月 21 03:50 file is edited by fstab-sync - see man fstab-sync for details
drwxrwxr-x 2 maint01 maint01 4096 11月 3 14:23 nfstest
[maint01@RHEL-4-6-test01 ~]$
-------------------------------
★ [root@RHEL-4-6-test01 etc]# vi /etc/exports
設定記述、設定色々ありそうげ
★ /home/maint01/nfstest 10.201.11.0/255.255.255.0(rw)
★参考URL:
http://linux.kororo.jp/cont/server/nfs.php
https://www.google.co.jp/search?q=%2Fetc%2Fexports&oq=%2Fetc%2Fexports&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8
http://webcache.googleusercontent.com/search?q=cache:jdCddBdEhaIJ:archive.linux.or.jp/JF/JFdocs/NFS-HOWTO/server.html+&cd=5&hl=ja&ct=clnk&gl=jp
★サービス再起動
なんか
# service nfs restart
できない。
しゃーないから
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs stop
NFS mountd を終了中: [ OK ]
NFS デーモンを終了中: [ OK ]
NFS quotas を終了中: [ OK ]
NFS サービスを終了中: [失敗]
こっちから。
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@RHEL-4-6-test01 ~]#
なんかサービス停止に失敗しとった。。
サービス開始前にexprotsいじったからかな。。
いったん設定消して再停止
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs stop
NFS mountd を終了中: [ OK ]
NFS デーモンを終了中: [ OK ]
NFS quotas を終了中: [ OK ]
NFS サービスを終了中: [ OK ]
[root@RHEL-4-6-test01 ~]# service nfs restart
bash: service: command not found
[root@RHEL-4-6-test01 ~]# /etc/rc.d/init.d/nfs start
NFS サービスを起動中: [ OK ]
NFS クォータを起動中: [ OK ]
NFS デーモンを起動中: [ OK ]
NFS mountd を起動中: [ OK ]
[root@RHEL-4-6-test01 ~]#
サービスからはうまく起動しない。。
なぞ。。
確認する。
別のクライアンツからー
[maint01@cent-test01 ~]$ mount -t nfs 10.201.11.10:/home/nfstest
mount: only root can do that
[maint01@cent-test01 ~]$
ルートだと
★[root@cent-test01 maint01]# mount -t nfs 10.201.11.10:/home/maint01/nfstest /nfstest
mount.nfs: mount point /nfstest does not exist
[root@cent-test01 maint01]# telnet 10.201.11.10 769
Trying 10.201.11.10...
telnet: connect to address 10.201.11.10: Connection timed out
telnet: Unable to connect to remote host: Connection timed out
参考URL:
色々ありそうず。。
0 件のコメント:
コメントを投稿