[Gluster-users] setting xattr=sa

Todd Stansell todd at stansell.org
Mon Dec 2 15:13:59 UTC 2013


Correct on it only affecting future behavior.  Also, make sure you are running at least glusterfs 3.4.2, as there were some corruption bugs fixed related to symlinks and xattr=sa.

Todd

-----Original Message-----
From: "Xavier Hernandez" <xhernandez at datalab.es>
Sent: ‎12/‎2/‎2013 3:56 AM
To: "Bernhard Glomm" <bernhard.glomm at ecologic.eu>
Cc: "gluster-users at gluster.org" <gluster-users at gluster.org>
Subject: Re: [Gluster-users] setting xattr=sa

Hi Bernhard,

this is not a gluster option, it's a zfs attribute that can be set with:

zfs set xattr=sa <zfs pool name>

AFAIK this only modifies future behavior. This means that if you have an already existing gluster volume on top of the zfs pool, any xattr already created before setting this attribute will not be changed. However new xattrs will use the new setting, and any future gluster volume created on the same pool will use it as well.

Regards,

Xavi

El 02/12/13 12:20, Bernhard Glomm ha escrit:

hi all,

running glusterfs on top of zfs in a testbed I found the hint to set xattr=sa in my glusterset.
I quickly run through the documentation but couldn't see how to do this best?
I would like to set it once for all actual and newly created volumes.
Can I edit 
_/etc/glusterd/vols/<volname>/info_
and add a line like 
xattr=sa
or is it done as a mount option like
mount -t glusterfs -o xattr=sa <server>://volume /mountpoint 
?

TIA

Bernhard


-- 




 Bernhard Glomm
IT Administration

Phone: +49 (30) 86880 134 
Fax: +49 (30) 86880 100 
Skype: bernhard.glomm.ecologic 

     

[The entire original message is not included.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131202/fbaba2bb/attachment.html>


More information about the Gluster-users mailing list