xfs
[Top] [All Lists]

Re: Problem using appletalk with MacOS X to a scsi hd with XFS.

To: Seth Mos <knuffie@xxxxxxxxx>
Subject: Re: Problem using appletalk with MacOS X to a scsi hd with XFS.
From: Alexey Kotovich <a.kotovich@xxxxxxxxxxxxxxxxx>
Date: Fri, 21 Feb 2003 15:27:58 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <4.3.2.7.2.20030221084703.03577f70@pop.xs4all.nl>
Mail-followup-to: Seth Mos <knuffie@xxxxxxxxx>, linux-xfs@xxxxxxxxxxx
References: <4.3.2.7.2.20030221084703.03577f70@pop.xs4all.nl>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
Hi there;

I have the same experience some time ago.
I wrote a patch for netatalk-1.5.0/3 that can help you to workaround problem.
If my memory doesn't fail me the issue is as follows (as short as possible):

AFP uses unique file number for internal needs which is two bytes of length.
Netatalk does something like this ((st->st_dev << 16) | (st->st_ino & 
0x0000ffff))
to get such a number. I'd like to mention that it must be unique per request 
only.
As xfs has 64bits inode number and it has inconsequent order, sometimes we get
the same file numbers in the same request that causes "error -50" on MacOS.

kind regards,
Alexey Kotovich                         ICQ:97715595
--

> Hello,
> 
> I have someone from promise who is having problems accessing files over 
> Appletalk using MacOS X to a scsi disk.
> If anyone else out there is using this combination I would appreciate the 
> help.
> I have access to the hardware but not the time to spare at the moment for 
> setting up appletalk attaching scsi disks to my testbox etc.
> 
> From: "Scott Liu" <scottl@xxxxxxxxxxxxxx>
> To: <seth.mos@xxxxxxxxx>
> Subject: Mac X access to XFS filesystem on SCSI device problem?
> Date: Thu, 23 Jan 2003 11:31:22 +0800
> Message-ID: <001001c2c28f$e7932fd0$a6cca8c0@Scott>
> MIME-Version: 1.0
> Content-Type: text/plain;
>       charset="big5"
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> Importance: Normal
> Content-Transfer-Encoding: 8bit
> X-MIME-Autoconverted: from base64 to 8bit by maildrop7.xs4all.nl id 
> h0N3V4e45796
> X-UIDL: 1043292665.maildrop7.45805
> 
> Dear,
> 
> I create a partition with XFS on SCSI device, and copy a lot of files 
> (about 500M bytes) from Mac X to this partition, sometimes it will fail 
> with error message "-50".
> I test this with xfs 1.01, xfs 1.1 and xfs 1.2 pre-release#5, the problem 
> also happen.
> 
> But when the partition is ext2 on scsi device, XFS on IDE device or ext2 on 
> IDE device, they are OK.
> It happens with XFS on SCSI device access from Mac X.
> 
> Netatalk version is : netatalk-1.4b2+asun2.1.3
> Mac version is : Mac X 10.1.4 Japanese version
> 
> May you let me know how to solve this problem? Thanks.
> 
> Best Regards,
> Scott Liu
> --
> Seth
> It might just be your lucky day, if you only knew.
> 

Attachment: netatalk-1.5.0-xfs.patch
Description: Text document

Attachment: netatalk-1.5.3-xfs.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>