[Afpfs-ng-devel] Input/output error
Status: Alpha
Brought to you by:
alexthepuffin
From: Michael U. <mu...@re...> - 2007-03-31 11:34:47
|
Hi Alex, list, this may be related to the previous topic ("mount point") since I see exactly the same i/o-errors here. I'm testing afpfs-ng-0.4 on OpenSuSE-10.0 against an Xserve running OS-X 10.3.9 / AFP 3.1. In the end I want to transfer some files from the linux box to the mounted AFP-share. I suppose there are other possibilities to accomplish this task, but think using afpfs-ng would be the most elegant solution. Starting afpfsd: tstuser@host:~> afpfsd -d Starting up AFPFS version 0.4 Mounting remote share: tstuser@host:~> afp_client mount -u tstuser -p pass 192.168.168.1:TEST /home/tstuser/mnt mounting TEST on /home/tstuser/mnt Starting mount. Creating new connection to server Actually mounting. Mounting succeeded. Corresponding output from afpfsd: Got connection 4 mounting TEST on /home/tstuser/mnt Got a signal 12 Got a server signal, 0 Got a signal 12 Got a server signal, 0 Removing connection for server SERVER-1 Got a signal 12 Got a server signal, 0 Starting mount. Creating new connection to server Got a signal 12 Got a server signal, 0 Actually mounting. unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.8 flags=0x00000003 max_readahead=0x00020000 INIT: 7.8 flags=0x00000001 max_readahead=0x00020000 max_write=0x00020000 unique: 1, error: 0 (Success), outsize: 40 Mounting succeeded. Got a signal 12 Got a server signal, 0 So far everything seems to work perfectly! As soon as I try to access the mounted filesystem I get: ------------ tstuser@host:~> ls mnt /bin/ls: mnt: Input/output error Corresponding output from afpfsd: unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 2, error: -5 (Input/output error), outsize: 16 ------------ tstuser@host:~> cd mnt tstuser@host:~/mnt> unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 3, error: -5 (Input/output error), outsize: 16 ------------ tstuser@host:~/mnt> mkdir test mkdir: cannot create directory `test': Input/output error unique: 7, opcode: LOOKUP (1), nodeid: 1, insize: 45 LOOKUP /test unique: 7, error: -5 (Input/output error), outsize: 16 unique: 8, opcode: LOOKUP (1), nodeid: 1, insize: 45 LOOKUP /test unique: 8, error: -5 (Input/output error), outsize: 16 ------------ tstuser@host:~/mnt> afp_client status AFPFS Version: 0.4 Server SERVER-1 connection: 192.168.168.1:548 (active) AFP version: AFP3.1 using UAM: DHX2 login message: type: Macintosh signature: transmit delay: 0ms quantums: 262144(tx) 131072(rx) last request id: 58 in queue: 0 transfer: 1775(rx) 1639(tx) runt packets: 0 Volume TEST, id 1, attribs 0x16c mounted: /home/tstuser/mnt did cache stats: 0 miss, 0 hit, 0 expired, 0 force removal Please note that the user accounts on client and server only share the same user name. There's no single-sign-on or something similar involved. I know nothing about the authentication mechanism on the server, but assume it's some local scheme. I know that afpfs-ng is beta software, but if you have any hints towards a solution for this problem, I'd appreciate that very much. Please let me know, if I could give any further help, e.g. debugging info, applying patches etc. Thanks + keep up the good work ... Michael |