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 Ecologic Institut gemeinn?tzige GmbH | Pfalzburger Str. 43/44 | 10717 Berlin | Germany GF: R. Andreas Kraemer | AG: Charlottenburg HRB 57947 | USt/VAT-IdNr.: DE811963464 Ecologic? is a Trade Mark (TM) of Ecologic Institut gemeinn?tzige GmbH -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131202/b45c68ce/attachment.html>
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 > > > -- > ------------------------------------------------------------------------ > *Ecologic Institute* *Bernhard Glomm* > IT Administration > > Phone: +49 (30) 86880 134 > Fax: +49 (30) 86880 100 > Skype: bernhard.glomm.ecologic > > Website: <http://ecologic.eu> | Video: > <http://www.youtube.com/v/hZtiK04A9Yo> | Newsletter: > <http://ecologic.eu/newsletter/subscribe> | Facebook: > <http://www.facebook.com/Ecologic.Institute> | Linkedin: > <http://www.linkedin.com/company/ecologic-institute-berlin-germany> | > Twitter: <http://twitter.com/EcologicBerlin> | YouTube: > <http://www.youtube.com/user/EcologicInstitute> | Google+: > <http://plus.google.com/113756356645020994482> > Ecologic Institut gemeinn?tzige GmbH | Pfalzburger Str. 43/44 | 10717 > Berlin | Germany > GF: R. Andreas Kraemer | AG: Charlottenburg HRB 57947 | USt/VAT-IdNr.: > DE811963464 > Ecologic^(TM) is a Trade Mark (TM) of Ecologic Institut gemeinn?tzige > GmbH > ------------------------------------------------------------------------ > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131202/4ff3362b/attachment.html>
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>