[Gluster-devel] copy glitch, latest TLA

Brent A Nelson brent at phys.ufl.edu
Thu Jul 26 23:29:48 UTC 2007


Patch 371 did not eliminate the issue.  Also, when doing one copy (of 
two), I got the following errors:
cp: cannot create hard link 
`/beast/usr/share/zoneinfo/right/Asia/Istanbul' to 
`/beast/usr/share/zoneinfo/right/Turkey': No such file or directory
cp: cannot create hard link 
`/beast/usr/share/zoneinfo/right/Canada/Atlantic' to 
`/beast/usr/share/zoneinfo/right/SystemV/AST4ADT': No such file or 
directory
cp: cannot create hard link 
`/beast/usr/share/zoneinfo/right/Canada/Saskatchewan' to 
`/beast/usr/share/zoneinfo/right/SystemV/CST6': No such file or directory
cp: cannot create hard link 
`/beast/usr/share/zoneinfo/right/Canada/East-Saskatchewan' to 
`/beast/usr/share/zoneinfo/right/SystemV/CST6': No such file or directory

The second copy produced no errors, but has problems with ls -l, just like 
the first copy.

Thanks,

Brent


On Thu, 26 Jul 2007, Brent A Nelson wrote:

> Strace attached.
>
> Thanks,
>
> Brent
>
> On Fri, 27 Jul 2007, Anand Avati wrote:
>
>> Brent, August,
>> I just committed some fixes related to hardlinks into patch-371. Is it
>> possible to get an strace of the ls -l, so that I can confirm if patch-371
>> will fix your issue?
>> 
>> thanks,
>> avati
>> 
>> 2007/7/26, August R. Wohlt <glusterfs at isidore.net>:
>>> 
>>> I noticed something very similar this morning with a similar setup. For me
>>> it only shows up on hard-linked files that I do not have permissions to
>>> view:
>>> 
>>> [goose at test]$ ls -ail /backups/20070726/root/ | head -10
>>> total 0
>>> ??---------  ? ? ? ?           ? .
>>> ??---------  ? ? ? ?           ? ..
>>> ??---------  ? ? ? ?           ? anaconda-ks.cfg
>>> ??---------  ? ? ? ?           ? .bash_history
>>> ??---------  ? ? ? ?           ? .bash_logout
>>> ??---------  ? ? ? ?           ? .bash_profile
>>> ??---------  ? ? ? ?           ? .bashrc
>>> ??---------  ? ? ? ?           ? .config
>>> [goose at test]$ sudo ls -ail /backups/20070726/root/ | head -10
>>> total 404
>>> 4213728 drwxr-xr--  18 root  root   4096 Jul 20 09:44 .
>>> 4210689 drwxr-xr-x  18 root  root   4096 Jul 26 07:20 ..
>>> 4213743 -rw-r--r--   1 root  root   1294 Mar 23  2006 anaconda-ks.cfg
>>> 4213731 -rw-------   1 root  root   2054 Jul 17 20:57 .bash_history
>>> 4213732 -rw-r--r--   1 root  root     24 Sep 22  2004 .bash_logout
>>> 4213733 -rw-r--r--   1 root  root    191 Sep 22  2004 .bash_profile
>>> 4213734 -rw-r--r--   1 root  root    176 Sep 22  2004 .bashrc
>>> 7375158 drwxr-xr-x   3 root  root   4096 Mar 23  2006 .config
>>> 
>>> :goose
>>> 
>>> On 7/26/07, Brent A Nelson <brent at phys.ufl.edu> wrote:
>>> >
>>> > In copying (cp -a) a local /usr to a GlusterFS (unify, protocol/client,
>>> > protocol/server, features/posix-locks, storage/posix), I notice this
>>> > glitch:
>>> >
>>> > ls -lai /beast/usr/share/zoneinfo/posix/America/
>>> > total 484
>>> > 115452 drwxr-xr-x  6 root root    0 2007-06-18 13:33 .
>>> > 115278 drwxr-xr-x 20 root root 4096 2007-06-18 13:33 ..
>>> > 115443 -rw-r--r--  3 root root  858 2007-04-23 06:07 Adak
>>> > 115435 -rw-r--r--  3 root root  861 2007-04-23 06:07 Anchorage
>>> > 115528 -rw-r--r--  1 root root   73 2007-04-23 06:07 Anguilla
>>> > 115454 -rw-r--r--  1 root root   90 2007-04-23 06:07 Antigua
>>> > 115477 -rw-r--r--  1 root root  326 2007-04-23 06:07 Araguaina
>>> > 115533 drwxr-xr-x  2 root root 4096 2007-06-18 13:33 Argentina
>>> > 115470 -rw-r--r--  1 root root   90 2007-04-23 06:07 Aruba
>>> > 115517 -rw-r--r--  1 root root  729 2007-04-23 06:07 Asuncion
>>> > 115472 -rw-r--r--  2 root root  134 2007-04-23 06:07 Atikokan
>>> > 115443 -rw-r--r--  3 root root  858 2007-04-23 06:07 Atka
>>> > 115465 -rw-r--r--  1 root root  376 2007-04-23 06:07 Bahia
>>> > 115526 -rw-r--r--  1 root root  142 2007-04-23 06:07 Barbados
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Edmonton
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Halifax
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Regina
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Rosario
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Santiago
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/St_Johns
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Toronto
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Vancouver
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Whitehorse
>>> >       ? ?---------  ? ?    ?       ?                ?
>>> > /beast/usr/share/zoneinfo/posix/America/Winnipeg
>>> > 115482 -rw-r--r--  1 root root  226 2007-04-23 06:07 Belem
>>> > 115521 -rw-r--r--  1 root root  368 2007-04-23 06:07 Belize
>>> > ... (everything normal after that).
>>> >
>>> > Plenty of other areas in zoneinfo were also affected.  Is this a glitch
>>> in
>>> > hardlinks?
>>> >
>>> > Thanks,
>>> >
>>> > Brent
>>> >
>>> >
>>> > _______________________________________________
>>> > Gluster-devel mailing list
>>> > Gluster-devel at nongnu.org
>>> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
>>> >
>>> _______________________________________________
>>> Gluster-devel mailing list
>>> Gluster-devel at nongnu.org
>>> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>>> 
>> 
>> 
>> 
>> -- 
>> Anand V. Avati
>





More information about the Gluster-devel mailing list