GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
gluster-setgfid2path(8) FreeBSD System Manager's Manual gluster-setgfid2path(8)

gluster-setgfid2path - Gluster tool to set GFID to Path xattrs

gluster-setgfid2path file

New feature introduced with Gluster release 3.12, to find full path from GFID. This feature can be enabled using Volume set command gluster volume set <VOLUME> storage.gfid2path enable

Once gfid2path feature is enabled, it starts recording the necessary xattrs required for the feature. But it will not add xattrs for the already existing files. This tool provides facility to update the gfid2path xattrs for the given file path.

To add xattrs of a single file,

gluster-setgfid2path /bricks/b1/hello.txt

To set xattr for all the existing files, run the below script on each bricks.

BRICK=/bricks/b1
find $BRICK -type d \( -path "${BRICK}/.trashcan" -o -path \
    "${BRICK}/.glusterfs" \) -prune -o -type f \
    -exec gluster-setgfid2path {} \;

gluster(8)

Copyright(c) 2017   Red Hat, Inc.   <http://www.redhat.com>
Command line utility to set GFID to Path Xattrs

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.