[Gluster-users] Problem with files showing zero links
Venky Shankar
vshankar at redhat.com
Fri Jan 29 11:09:17 UTC 2016
On Fri, Jan 29, 2016 at 10:46:14AM +0000, Ronny Adsetts wrote:
> Follow up for the archives. I fixed this by 'touch'ing all the files with zero links:
>
> Testing:
>
> # ls -al /stor/software/win_patches/IE11-Windows6.1-x64-en-us.exe
> -rwxr--r-- 0 ainet Domain Admins 55915216 Oct 15 2013 IE11-Windows6.1-x64-en-us.exe
>
> # touch -a /stor/software/win_patches/IE11-Windows6.1-x64-en-us.exe
>
> # ls -al /stor/software/win_patches/IE11-Windows6.1-x64-en-us.exe
> -rwxr--r-- 1 ainet Domain Admins 55915216 Oct 15 2013 IE11-Windows6.1-x64-en-us.exe
>
> and then:
>
> # find /stor/software -links 0 -print0 | xargs -0 touch -a
>
> No idea how it came about in the first place. Suspect it happened during either an operating system upgrade or upgrading glusterfs packages to those from gluster.org.
If you're still willing to debug, please send across brick log file of the concerned node.
>
> Anyway, thanks to Joe for the pointers.
>
> Ronny
> --
> Ronny Adsetts
> Technical Director
> Amazing Internet Ltd, London
> t: +44 20 8977 8943
> w: www.amazinginternet.com
>
> Registered office: 85 Waldegrave Park, Twickenham, TW1 4TJ
> Registered in England. Company No. 4042957
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list