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" <[email protected]>
Sent: ‎12/‎2/‎2013 3:56 AM
To: "Bernhard Glomm" <[email protected]>
Cc: "[email protected]" <[email protected]>
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.]
_______________________________________________
Gluster-users mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to