xfs
[Top] [All Lists]

Re: CIFS: Rename bug on servers not supporting inode numbers

To: Anton Altaparmakov <aia21@xxxxxxxxx>
Subject: Re: CIFS: Rename bug on servers not supporting inode numbers
From: Björn JACKE <bj@xxxxxxxxx>
Date: Fri, 4 Nov 2011 12:16:36 +0100
Cc: Steve French <sfrench@xxxxxxxxx>, linux-cifs@xxxxxxxxxxxxxxx, samba-technical@xxxxxxxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Unix Support <unix-support@xxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <9A609E6D-DF91-4AF9-855A-6D28E9B95D15@xxxxxxxxx>
Mail-followup-to: Anton Altaparmakov <aia21@xxxxxxxxx>, Steve French <sfrench@xxxxxxxxx>, linux-cifs@xxxxxxxxxxxxxxx, samba-technical@xxxxxxxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Unix Support <unix-support@xxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Organization: SerNet GmbH, Goettingen, Germany
References: <9A609E6D-DF91-4AF9-855A-6D28E9B95D15@xxxxxxxxx>
On 2011-11-03 at 15:20 +0000 Anton Altaparmakov sent off:
> Hi,
> 
> Our CIFS server problems seem to have no end…  The Novell CIFS server does 
> not support server inode numbers (when I try the mount option I get the 
> message it is being turned off as server does not support it) and thus each 
> inode gets a different number each time it is accessed and it gets a 
> different number again for each readdir call.
> 
> The fun happens with rename() when the rename source and target only differ 
> in case, e.g.
> 
>       touch foo
>       mv foo Foo

somehow related seems https://bugzilla.kernel.org/show_bug.cgi?id=39512
(as long as kernel bugzilla is dead, see
http://www.linux.sgi.com/archives/xfs-masters/2011-07/msg00022.html )

Case insensitive filesystems seem to be a problem in general on Linux. Not sure
how far kernel and/or glibc are involved in the problem. As a workaround for
the mess you need to do a temporary rename to a different name (not just a case
equivalent name).

Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

<Prev in Thread] Current Thread [Next in Thread>
  • Re: CIFS: Rename bug on servers not supporting inode numbers, Björn JACKE <=