[Gluster-users] Problem with files showing zero links

Ronny Adsetts ronny.adsetts at amazinginternet.com
Fri Jan 29 10:46:14 UTC 2016


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.

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160129/2b395804/attachment.sig>


More information about the Gluster-users mailing list