[Gluster-devel] hard link bug

Anand Avati avati at zresearch.com
Mon Jul 30 14:05:46 UTC 2007


Harrisl,
 patch-377 should fix all the existing hard-link related bugs.

Brent,
 patch-377 just might fix your hardlink issues too..

thanks,
avati

2007/7/30, Harris Landgarten <harrisl at lhjonline.com>:
>
> This is with patch-376
>
> After a restart, find runs properly once. After that all hard links show
> as "No such file or directory" on any stat call
>
> example:
>
> # find . -inum 4788227 -ls
> 4788227    8 -rw-r-----   2 zimbra   zimbra       4820 Jul 28 18:14
> ./secondary/0/2/msg/0/543-1704.msg
> 4788227    8 -rw-r-----   2 zimbra   zimbra       4820 Jul 28 18:14
> ./secondary/0/5/msg/12/50698-72587.msg
>
> # stat secondary/0/2/msg/0/543-1704.msg
> stat: cannot stat `secondary/0/2/msg/0/543-1704.msg': No such file or
> directory
>
> Another example:
>
> # find secondary/ -type d -ctime -3 -ls
> 4803618    4 drwxr-x---   2 zimbra   zimbra       4096 Jul 30 03:00
> secondary/0/17/msg/1
> 4751384    4 drwxr-x---   2 zimbra   zimbra       4096 Jul 28 18:14
> secondary/0/2/msg/0
> find: `secondary/0/2/msg/0/543-1704.msg': No such file or directory
> find: `secondary/0/2/msg/0/542-1702.msg': No such file or directory
> find: `secondary/0/2/msg/0/526-1610.msg': No such file or directory
> find: `secondary/0/2/msg/0/525-1608.msg': No such file or directory
> find: `secondary/0/2/msg/0/524-1606.msg': No such file or directory
> find: `secondary/0/2/msg/0/522-1603.msg': No such file or directory
> find: `secondary/0/2/msg/0/520-1600.msg': No such file or directory
> find: `secondary/0/2/msg/0/511-1419.msg': No such file or directory
> find: `secondary/0/2/msg/0/509-1416.msg': No such file or directory
> find: `secondary/0/2/msg/0/508-1414.msg': No such file or directory
> find: `secondary/0/2/msg/0/506-1411.msg': No such file or directory
> find: `secondary/0/2/msg/0/504-1408.msg': No such file or directory
> find: `secondary/0/2/msg/0/503-1406.msg': No such file or directory
> find: `secondary/0/2/msg/0/502-1404.msg': No such file or directory
> find: `secondary/0/2/msg/0/501-1402.msg': No such file or directory
> find: `secondary/0/2/msg/0/500-1400.msg': No such file or directory
> find: `secondary/0/2/msg/0/480-1300.msg': No such file or directory
> find: `secondary/0/2/msg/0/462-1203.msg': No such file or directory
> find: `secondary/0/2/msg/0/461-1201.msg': No such file or directory
> find: `secondary/0/2/msg/0/460-1200.msg': No such file or directory
> find: `secondary/0/2/msg/0/400-800.msg': No such file or directory
> find: `secondary/0/2/msg/0/398-730.msg': No such file or directory
> find: `secondary/0/2/msg/0/397-728.msg': No such file or directory
> find: `secondary/0/2/msg/0/395-725.msg': No such file or directory
> find: `secondary/0/2/msg/0/394-723.msg': No such file or directory
> find: `secondary/0/2/msg/0/393-721.msg': No such file or directory
> find: `secondary/0/2/msg/0/392-719.msg': No such file or directory
> find: `secondary/0/2/msg/0/391-717.msg': No such file or directory
> find: `secondary/0/2/msg/0/390-715.msg': No such file or directory
> find: `secondary/0/2/msg/0/387-711.msg': No such file or directory
> find: `secondary/0/2/msg/0/386-709.msg': No such file or directory
> find: `secondary/0/2/msg/0/385-707.msg': No such file or directory
> find: `secondary/0/2/msg/0/384-705.msg': No such file or directory
> find: `secondary/0/2/msg/0/382-702.msg': No such file or directory
> find: `secondary/0/2/msg/0/371-619.msg': No such file or directory
> find: `secondary/0/2/msg/0/369-616.msg': No such file or directory
> find: `secondary/0/2/msg/0/367-613.msg': No such file or directory
> find: `secondary/0/2/msg/0/366-611.msg': No such file or directory
> find: `secondary/0/2/msg/0/365-609.msg': No such file or directory
> find: `secondary/0/2/msg/0/364-607.msg': No such file or directory
> find: `secondary/0/2/msg/0/362-604.msg': No such file or directory
> find: `secondary/0/2/msg/0/361-602.msg': No such file or directory
> find: `secondary/0/2/msg/0/360-600.msg': No such file or directory
> find: `secondary/0/2/msg/0/348-512.msg': No such file or directory
> find: `secondary/0/2/msg/0/342-505.msg': No such file or directory
> find: `secondary/0/2/msg/0/341-503.msg': No such file or directory
> find: `secondary/0/2/msg/0/340-501.msg': No such file or directory
> find: `secondary/0/2/msg/0/321-402.msg': No such file or directory
> find: `secondary/0/2/msg/0/320-400.msg': No such file or directory
> find: `secondary/0/2/msg/0/301-302.msg': No such file or directory
> find: `secondary/0/2/msg/0/300-300.msg': No such file or directory
> find: `secondary/0/2/msg/0/280-200.msg': No such file or directory
> find: `secondary/0/2/msg/0/261-102.msg': No such file or directory
> 4787641   16 drwxr-x---   2 zimbra   zimbra      16384 Jul 29 03:00
> secondary/0/5/msg/12
> find: `secondary/0/5/msg/12/50457-72254.msg': No such file or directory
> find: `secondary/0/5/msg/12/49863-70854.msg': No such file or directory
> find: `secondary/0/5/msg/12/49862-70853.msg': No such file or directory
>
>
> All the "No such file or directory" errors are hard links.
>
> Harris
>
>
> _______________________________________________
> 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