[Gluster-users] Symbolic Links under .glusterfs deleted

Nithya Balachandran nbalacha at redhat.com
Thu Nov 7 11:46:50 UTC 2019


On Thu, 7 Nov 2019 at 15:15, Shreyansh Shah <shreyansh.shah at alpha-grep.com>
wrote:

> Hi,
> Running distributed gluster 5.10 with 6 node and 2 bricks on each node (12
> in total)
> Due to some reason the files under <dir>/.glusterfs were deleted.
> Post that we have loads of broken symlinks, but the data on the disks exist
> Due to this, even though the file is present, ls on the folder does not
> show the file, but I can access the file using the complete file path.
>

This is due to the way the ls is implemented on the brick as well as
because dht strips out files with invalid stats in the listing.
How did the symlinks go missing? Were the contents of the .glusterfs
directory deleted?

Regards,
Nithya


>
> Steps to reproduce:
> Stop gluster
> Umount brick
> Run `rm -rf <mnt_dir>/.glusterfs/
> Mount brick
> Start gluster
>
> The total storage space remains the same, we can access the data using
> absolute path, but
> we are not able to see the files in the folder.
> This is very critical setup for us, we cannot afford any data loss and are
> heavily dependent.
> Kindly revert back with the solution at the earliest.
>
> --
> Regards,
> Shreyansh Shah
> ________
>
> Community Meeting Calendar:
>
> APAC Schedule -
> Every 2nd and 4th Tuesday at 11:30 AM IST
> Bridge: https://bluejeans.com/118564314
>
> NA/EMEA Schedule -
> Every 1st and 3rd Tuesday at 01:00 PM EDT
> Bridge: https://bluejeans.com/118564314
>
> Gluster-users mailing list
> Gluster-users at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20191107/84e63be9/attachment.html>


More information about the Gluster-users mailing list