Summary: | net-fs/nfs-utils-1.0.12 fails to share a second directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | GNUtoo |
Component: | [OLD] Unspecified | Assignee: | Network Filesystems <net-fs> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
GNUtoo
2007-07-23 16:14:27 UTC
emerge --info of the client: # emerge --info !!! Your current profile is deprecated and not supported anymore. !!! Please upgrade to the following profile if possible: selinux/2007.0/x86 To upgrade do the following steps: # emerge -n '>=sys-apps/portage-2.1.2.0' # cd /etc # rm make.profile # ln -s /usr/portage/profiles/selinux/2007.0/x86 make.profile Portage 2.1.2.9 (selinux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.21-rt2_port4 i686) ================================================================= System uname: 2.6.21-rt2_port4 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System release 2.0.0_alpha4 Timestamp of tree: Mon, 23 Jul 2007 14:00:09 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks loadpolicy metadata-transfer sandbox selinux sesandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/portage/local/layman/custom-kernels /usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acpi adns aiglx alsa amr apache2 asf berkdb bl blender-game bluetooth cdda cddb cdparanoia chardet clearcase contrarius cracklib cran crypt css cups cvs dbus dga divx dts dv dvd dvdnav dvdread editor effects enca encode examples exif expat fat ffmpeg firefox flac foomaticdb fping gif gimp gimpprint glsa gmedia gstreamer gtk hfs httpd ieee1394 inkjar inquisitio ipv6 jfs jpeg jpeg2k kde kerberos kqemu lcms ldap libnotify lzo matroska midi mikmod mjpeg mmx mmxext mng modplug mp2 mp3 mp4 mpi mplayer musepack ncurses nptl nptlonly nsplugin ntfs ofa ogg openal openexr opengl p2p pam pcre perforce php plugin png pnm ppds python qa qt3 quicktime quotas readline realmedia reiser4 reiserfs rt2500pci rtc rtsp samba sdl selinux session sid skins slang sox speex spell srteam sse sse2 ssl stream subtitles subversion svg swat tcpd tga theora tiff timidity tordns truetype unicode usb v4l vcd vidx vlm vorbis wifi wma wmf wmp wxwindows x264 x86 xanim xfs xine xml xprint xv xvid xvmc yahoo yv12 zlib zsh" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS as i were not shure if it was kernel related or userspace related i've put unspecified as component (In reply to comment #0) > 3.mount the second one,it mount the first one Hmmm? Could you clarify what you mean? Not reproducible at all. ok i have 2 shares share1 and share2 first i mount share1 and i see its content but when i mount share2 i see the content of share1 what should i do to help debuging this? is there any verbose mode like samba? should i run GDB?(and use the compile guide for it) you could start by posting the actual mount errors you're seeing instead of saying "it failed" (In reply to comment #5) > you could start by posting the actual mount errors you're seeing instead of > saying "it failed" > there is no errors...just that it mounts the other share...how do i enable the verbose mode? post the exact mount commands you're typing on the client then post the exact output of `exportfs -v` on the server # /etc/init.d/portmap start * Starting portmap ... [ ok ] # showmount -e cable Export list for cable: /Storage 168.0.0.2 /home/gentux 168.0.0.2 mount 168.0.0.1:/Storage /mnt/NFS here the content of mount: 168.0.0.1:/Storage on /mnt/NFS type nfs (rw,addr=168.0.0.1) and going into /mnt/NFS i see the content of /home/gentux # exportfs -v /home/gentux 168.0.0.2(ro,wdelay,insecure,no_root_squash,fsid=0) /Storage 168.0.0.2(ro,wdelay,insecure,no_root_squash,fsid=0) # mount 168.0.0.1:/Storage/ /mnt/NFS -t nfs4 mount: special device 168.0.0.1:/Storage/ does not exist # cat /proc/filesystems |grep nfs nodev nfs nodev nfs4 nodev nfsd strange... You shouldn't export like that in a nfsv4 server should look like /nfs4exp/exp1 /nfs4exp/exp2 with /home/gentux bind to /nfs4exp/exp1 and /Storage bind to /nfs4exp/exp2 as nfs4exp should be first one declare as the main export directory could be logic to always see /home/gentux content as its also the first in your export list. Must be why you have that bug also Assuming now that /home/gentux is main export directory, there is no /home/gentux/Storage export, so it could explain your 2nd error. Anyway i'm not sure why you have theses troubles (i was hoping more explicite messages to help you from nfsd or nfsutils), but i'm sure you better (re)read nfs4 manual |