1
0
mirror of https://github.com/gluster/glusterdocs.git synced 2026-02-05 15:47:01 +01:00

Fixing 404 links in gfid-to-path.md

This commit is contained in:
Kshithij Iyer
2019-09-17 10:34:22 +05:30
committed by Amar Tumballi
parent 86a4c02c0d
commit 81850f806a

View File

@@ -5,7 +5,7 @@ file across the entire cluster. This is analogous to inode number in a
normal filesystem. The GFID of a file is stored in its xattr named
`trusted.gfid`.
#### Special mount using [gfid-access translator][1]:
#### Special mount using gfid-access translator:
~~~
mount -t glusterfs -o aux-gfid-mount vm1:test /mnt/testvol
~~~
@@ -21,7 +21,7 @@ getfattr -n glusterfs.gfid.string /mnt/testvol/dir/file
### Get file path from GFID (Method 1):
**(Lists hardlinks delimited by `:`, returns path as seen from mountpoint)**
####Turn on build-pgfid option
#### Turn on build-pgfid option
~~~
gluster volume set test build-pgfid on
~~~
@@ -64,10 +64,6 @@ trusted.glusterfs.pathinfo="(<DISTRIBUTE:test-dht> <POSIX(/mnt/brick-test/b):vm1
~~~
---
### Get file path from GFID (Method 3):
https://gist.github.com/semiosis/4392640
---
#### References and links:
[posix: placeholders for GFID to path conversion](http://review.gluster.org/5951)
[1]: https://github.com/gluster/glusterfs/blob/master/doc/features/gfid-access.md