Date: Fri, 30 Nov 2007 19:06:48 GMT From: Michael Moll <kvedulv@kvedulv.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/118360: NFS-Server gives "Permission denied" after taking a snapshot Message-ID: <200711301906.lAUJ6mTS012833@www.freebsd.org> Resent-Message-ID: <200711301910.lAUJA3LV067540@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118360 >Category: kern >Synopsis: NFS-Server gives "Permission denied" after taking a snapshot >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 30 19:10:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Michael Moll >Release: RELENG_7 >Organization: kvedulv.de >Environment: FreeBSD marduk.kvedulv.de 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 30 14:57:51 CET 2007 mmoll@marduk.kvedulv.de:/usr/obj/usr/src/sys/MARDUK i386 >Description: [Export some directories via NFS from marduk to emperor] root@marduk:~# cat /etc/exports /usr/local/music /usr/ports/distfiles root@emperor:~# mount 192.168.200.11:/usr/ports/distfiles /mnt root@emperor:~# df -h /mnt Filesystem Size Used Avail Capacity Mounted on 192.168.200.11:/usr/ports/distfiles 7.7G 3.8G 3.4G 53% /mnt [everything ok... now take a snapshot] root@marduk:~# mount -u -o snapshot /usr/.snap/snapshot.301120071938 /usr root@marduk:~# ls -al /usr/.snap/ total 408484 drwxrwxr-x 2 root operator 512 Nov 30 19:39 . drwxr-xr-x 18 root wheel 512 Nov 30 15:42 .. -r-------- 1 root operator 8589935000 Nov 30 19:33 snapshot.191120071245 -r-------- 1 root operator 8589935000 Nov 30 19:40 snapshot.301120071938 [still everything ok, data is accessible] root@emperor:~# head -n 4 /mnt/jpegexiforient.c /* * jpegexiforient.c * * This is a utility program to get and set the Exif Orientation Tag. [now try to mount it again...] root@emperor:~# umount /mnt root@emperor:~# mount 192.168.200.11:/usr/ports/distfiles /mnt [udp] 192.168.200.11:/usr/ports/distfiles: Permission denied root@marduk:~# tail -n 1 /var/log/messages Nov 30 19:42:25 marduk mountd[582]: mount request denied from 192.168.200.1 for /usr/ports/distfiles >How-To-Repeat: I can reproduce this with a FreeBSD-7 and a Linux-NFS-client, so the problem is on the server-side >Fix: Rebooting the NFS-server-machine is the only way I found to make the directory NFS-accessable again. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711301906.lAUJ6mTS012833>