Has anyone successful used Suse 9.2 amd64 as an NFS server? My NFS clients are being denied access. rpc.mountd is doing new and interesting stuff with /proc/net/rpc/auth.unix.ip/channel and /proc/fs/nfsd/filehandle which seem to be the source of the problem. The export is /var/backups/oraback: # Log "authenticated mount request from..." message sendto(6, "<13>Feb 16 18:27:58 rpc.mountd: "..., 153, 0, NULL, 0) = 153 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 open("/proc/net/rpc/auth.unix.ip/channel", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EROFS (Read-only file system) open("/proc/fs/nfsd/filehandle", O_RDWR) = 7 fstat(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556d000 write(7, "* /var/backups/oraback 64 \n", 27) = -1 EPERM (Operation not permitted) read(7, "", 4096) = 0 close(7) = 0 munmap(0x2a9556d000, 4096) = 0 write(5, "\200\0\0\34\'n\200\217\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 select(1024, [3 4 5], NULL, NULL, NULL) = 1 (in [5]) poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 35000) = 1 read(5, "", 4000) = 0 close(5) = 0 select(1024, [3 4], NULL, NULL, NULL notes: nfs-utils-1.0.6-113 kernel-smp-2.6.8-24.11
Yes I run 9.2 on Dual Opteron 250's as a NFS server without issues. It looks like a permission problem with your setup. Either you are trying to write to a read only mount or the mounted directory has read only permissions. Brad Dameron SeaTab Software www.seatab.com On Wed, 2005-02-16 at 10:29, Ahmon Dancy wrote:
Has anyone successful used Suse 9.2 amd64 as an NFS server? My NFS clients are being denied access. rpc.mountd is doing new and interesting stuff with /proc/net/rpc/auth.unix.ip/channel and /proc/fs/nfsd/filehandle which seem to be the source of the problem. The export is /var/backups/oraback:
# Log "authenticated mount request from..." message sendto(6, "<13>Feb 16 18:27:58 rpc.mountd: "..., 153, 0, NULL, 0) = 153 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 open("/proc/net/rpc/auth.unix.ip/channel", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EROFS (Read-only file system) open("/proc/fs/nfsd/filehandle", O_RDWR) = 7 fstat(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556d000 write(7, "* /var/backups/oraback 64 \n", 27) = -1 EPERM (Operation not permitted) read(7, "", 4096) = 0 close(7) = 0 munmap(0x2a9556d000, 4096) = 0 write(5, "\200\0\0\34\'n\200\217\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 select(1024, [3 4 5], NULL, NULL, NULL) = 1 (in [5]) poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 35000) = 1 read(5, "", 4000) = 0 close(5) = 0 select(1024, [3 4], NULL, NULL, NULL
notes:
nfs-utils-1.0.6-113 kernel-smp-2.6.8-24.11
Are you using the nfs-server package or the nfs-utils package? Brad Dameron wrote:
Yes I run 9.2 on Dual Opteron 250's as a NFS server without issues. It looks like a permission problem with your setup. Either you are trying to write to a read only mount or the mounted directory has read only permissions.
Brad Dameron SeaTab Software www.seatab.com
On Wed, 2005-02-16 at 10:29, Ahmon Dancy wrote:
Has anyone successful used Suse 9.2 amd64 as an NFS server? My NFS clients are being denied access. rpc.mountd is doing new and interesting stuff with /proc/net/rpc/auth.unix.ip/channel and /proc/fs/nfsd/filehandle which seem to be the source of the problem. The export is /var/backups/oraback:
# Log "authenticated mount request from..." message sendto(6, "<13>Feb 16 18:27:58 rpc.mountd: "..., 153, 0, NULL, 0) = 153 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 open("/proc/net/rpc/auth.unix.ip/channel", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EROFS (Read-only file system) open("/proc/fs/nfsd/filehandle", O_RDWR) = 7 fstat(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556d000 write(7, "* /var/backups/oraback 64 \n", 27) = -1 EPERM (Operation not permitted) read(7, "", 4096) = 0 close(7) = 0 munmap(0x2a9556d000, 4096) = 0 write(5, "\200\0\0\34\'n\200\217\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 select(1024, [3 4 5], NULL, NULL, NULL) = 1 (in [5]) poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 35000) = 1 read(5, "", 4000) = 0 close(5) = 0 select(1024, [3 4], NULL, NULL, NULL
notes:
nfs-utils-1.0.6-113 kernel-smp-2.6.8-24.11
This is the RPM's I have installed. nfs-utils-1.0.6-113 yast2-nfs-client-2.10.5-2 yast2-nfs-server-2.10.5-2 However I don't use yast to configure my NFS server. I do it by hand. Brad Dameron SeaTab Software www.seatab.com On Wed, 2005-02-16 at 10:40, Ahmon Dancy wrote:
Are you using the nfs-server package or the nfs-utils package?
Brad Dameron wrote:
Yes I run 9.2 on Dual Opteron 250's as a NFS server without issues. It looks like a permission problem with your setup. Either you are trying to write to a read only mount or the mounted directory has read only permissions.
Brad Dameron SeaTab Software www.seatab.com
On Wed, 2005-02-16 at 10:29, Ahmon Dancy wrote:
Has anyone successful used Suse 9.2 amd64 as an NFS server? My NFS clients are being denied access. rpc.mountd is doing new and interesting stuff with /proc/net/rpc/auth.unix.ip/channel and /proc/fs/nfsd/filehandle which seem to be the source of the problem. The export is /var/backups/oraback:
# Log "authenticated mount request from..." message sendto(6, "<13>Feb 16 18:27:58 rpc.mountd: "..., 153, 0, NULL, 0) = 153 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 open("/proc/net/rpc/auth.unix.ip/channel", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EROFS (Read-only file system) open("/proc/fs/nfsd/filehandle", O_RDWR) = 7 fstat(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556d000 write(7, "* /var/backups/oraback 64 \n", 27) = -1 EPERM (Operation not permitted) read(7, "", 4096) = 0 close(7) = 0 munmap(0x2a9556d000, 4096) = 0 write(5, "\200\0\0\34\'n\200\217\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 select(1024, [3 4 5], NULL, NULL, NULL) = 1 (in [5]) poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 35000) = 1 read(5, "", 4000) = 0 close(5) = 0 select(1024, [3 4], NULL, NULL, NULL
notes:
nfs-utils-1.0.6-113 kernel-smp-2.6.8-24.11
I discovered that the problem was that SuSEconfig (or something) mounted a second instance of procfs on /var/spool/postfix/proc, but it mounted it read-only. It appears that, as a side effect, this main the primary instance of /proc read-only as well. This was preventing rpc.mountd from doing what it needed to do in /proc/net/nfs. Issuing: mount -o remount,rw /proc kicked things back into working order. Ahmon Dancy wrote:
Has anyone successful used Suse 9.2 amd64 as an NFS server? My NFS clients are being denied access. rpc.mountd is doing new and interesting stuff with /proc/net/rpc/auth.unix.ip/channel and /proc/fs/nfsd/filehandle which seem to be the source of the problem. The export is /var/backups/oraback:
# Log "authenticated mount request from..." message sendto(6, "<13>Feb 16 18:27:58 rpc.mountd: "..., 153, 0, NULL, 0) = 153 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 stat("/var/backups/oraback", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0 open("/proc/net/rpc/auth.unix.ip/channel", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EROFS (Read-only file system) open("/proc/fs/nfsd/filehandle", O_RDWR) = 7 fstat(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556d000 write(7, "* /var/backups/oraback 64 \n", 27) = -1 EPERM (Operation not permitted) read(7, "", 4096) = 0 close(7) = 0 munmap(0x2a9556d000, 4096) = 0 write(5, "\200\0\0\34\'n\200\217\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 select(1024, [3 4 5], NULL, NULL, NULL) = 1 (in [5]) poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 35000) = 1 read(5, "", 4000) = 0 close(5) = 0 select(1024, [3 4], NULL, NULL, NULL
notes:
nfs-utils-1.0.6-113 kernel-smp-2.6.8-24.11
participants (2)
-
Ahmon Dancy
-
Brad Dameron