Since 10.5.3: NFS Error 22
Subject : Since 10.5.3: NFS Error 22
From: Philip Mötteli <email@hidden >
Date: Fri, 30 May 2008 09:14:25 +0200
Delivered-to: email@hidden
Delivered-to: email@hidden
Hi,
Since the update to Mac OS X Server 10.5.3 yesterday, NFS behaves
strangely.
I have the following disk configuration:
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s3 82G 57G 25G 70% /
devfs 113k 113k 0B 100% /dev
fdesc 1.0k 1.0k 0B 100% /dev
map -hosts 0B 0B 0B 100% /net
map auto_home 0B 0B 0B 100% /home
map -fstab 0B 0B 0B 100% /Network/Servers
map -static 0B 0B 0B 100% /Network/Library
map -static 0B 0B 0B 100% /Library/MultiMedia
map -static 0B 0B 0B 100% /Network/Applications
/dev/disk1s3 391G 337G 54G 87% /Library/MultiMedia
/dev/disk1s5 108G 103G 5.6G 95% /private/var/backups/
TimeMachine
I would like to export '/Library/MultiMedia' (/dev/disk1s3), which is,
as you saw above, a partition on a separate internal disk. So I make
the simplest export file possible:
#cat /etc/exports
/Library/MultiMedia
And try to give it to the NFSd:
#nfsd update
May 29 23:37:09 herkules /sbin/nfsd[2969]: Can't export /Library/
MultiMedia: Invalid argument (22)
May 29 23:37:09 herkules /sbin/nfsd[2969]: exports:1: kernel export
registration failed
Though, when I check the configuration everything seems to be ok:
#nfsd checkexports
---> Got line: /Library/MultiMedia
got field: /Library/MultiMedia
processing pathname: /Library/MultiMedia
cleaned pathname: /Library/MultiMedia
DIRLIST: /Library/MultiMedia
DIRLIST: /Library/MultiMedia
default export
find_exported_fs: /Library/MultiMedia
subdir_check: / /Library/MultiMedia 1
subdir_check: /Library/MultiMedia /Library/MultiMedia 0
find_exported_fs: best exported fs: /Library/MultiMedia
subdir_check: /Library/MultiMedia /Library/MultiMedia 0
get_uuid: /dev/disk1s3 /Library/MultiMedia DiskArb says:
B54B2360-8AB2-3555-9895-9D20B3E780F7
get_uuid: /dev/disk1s3 /Library/MultiMedia found:
B54B2360-8AB2-3555-9895-9D20B3E780F7
/Library/MultiMedia using UUID B54B2360-8AB2-3555-9895-9D20B3E780F7
New expfs uuid=B54B2360-8AB2-3555-9895-9D20B3E780F7
dir: /Library/MultiMedia
/Library/MultiMedia new xd
hang_options_setup: /Library/MultiMedia default 0x60000001
exported /Library/MultiMedia/
========> get_exportlist() CURRENT EXPORTS UPDATED:
** /Library/MultiMedia B54B2360-8AB2-3555-9895-9D20B3E780F7
(0x148b0be2)
/Library/MultiMedia FLAGS: 0x40000000 ADD
/Library/MultiMedia/
XID: 0x00000001
FLAGS: 0x20000001 DEFEXP MAPROOT -2:-2
HOSTS:
MOUNTDIRS:
========> get_exportlist() NEW EXPORTS LIST:
** /Library/MultiMedia B54B2360-8AB2-3555-9895-9D20B3E780F7
(0x148b0be2)
/Library/MultiMedia FLAGS: 0x40000000 ADD
/Library/MultiMedia/
XID: 0x00000001
FLAGS: 0x20000001 DEFEXP MAPROOT -2:-2
HOSTS:
MOUNTDIRS:
So, when I try to mount it on the client computer:
#mount -v 192.168.1.3:/Library/MultiMedia Multimedia
mount_nfs: /private/tmp/Multimedia: Input/output error
Though, the exports are seen:
#showmount -e herkules
Exports list on herkules:
/Library/MultiMedia Everyone
I also removed all the ACLs from '/Library/MultiMedia'.
I think my big question is, what does this "Invalid argument (22)"
mean on the server side?
I couldn't find any reference to this ominous error number 22.
Does anybody know?
Thanks
Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.