<div class="gmail_quote">On Fri, Apr 13, 2012 at 4:05 PM, Rodrigo Severo <span dir="ltr"></span>wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb">
<div class="h5"><div class="gmail_quote"><div class="gmail_quote"><div>You are using <i>-d</i> and <i>-n</i> on the same getfattr. That&#39;s wrong AFAICT.<br><br>Try <i>getfattr -d -m . -e hex -h BRICK/PATH/TO/FILE/OR/DIRECTORY<br>


<br></i>You should get a full list of extended attributes related to the file/directory.<span><font color="#888888"><br></font></span></div></div></div></div></div></blockquote><div><br>Yes, now it&#39;s working. Thank you.<br>
 So, for the previous scenario described already:<br>&gt; Simulation follows:<br>&gt; step 1<br>&gt; node1:<br>&gt; iptables -I INPUT 1 -s 10.0.2.15 -j DROP (connectivity loss simulation)<br>&gt; touch /a/howareyou<br>&gt; <br>
&gt; node2:<br>&gt; touch /a/hello<br>&gt; <br>&gt; step 2<br>&gt; node1:<br>&gt; iptables -D INPUT 1 (connectivity recovery)<br>&gt; ls /a<br>&gt; ls: cannot access /a: Input/output error<br>&gt; <br>&gt; node2:<br>&gt; ls /a<br>
&gt; ls: cannot access /a: Input/output error<br><br>node1:<br>getfattr -d -m . -e hex /local/<br># file: local/<br>trusted.afr.vol-replication-client-0=0x000000000000000000000000<br>trusted.afr.vol-replication-client-1=0x000000000000000000000001<br>
<br>getfattr -d -m . -e hex /local/howareyou<br># file: local/howareyou<br>trusted.afr.vol-replication-client-0=0x000000000000000000000000<br>trusted.afr.vol-replication-client-1=0x000000000000000100000000<br><br>node2:<br>
getfattr -d -m . -e hex /local/<br># file: local/<br>trusted.afr.vol-replication-client-0=0x000000000000000000000001<br>trusted.afr.vol-replication-client-1=0x000000000000000000000000<br><br>getfattr -d -m . -e hex /local/hello<br>
# file: local/hello<br>trusted.afr.vol-replication-client-0=0x000000000000000100000000<br>trusted.afr.vol-replication-client-1=0x000000000000000000000000<br><br><br>On Fri, Apr 13, 2012 at 4:32 PM, Jeff Darcy wrote:<br>
&gt; Try changing &quot;trusted.gluster.dht&quot; to &quot;trusted.glusterfs.dht&quot; as had<br>
&gt; originally been suggested.  Alternatively, you could just use &quot;-m .&quot;<br>
&gt; instead of &quot;-n trusted.gluster.dht&quot; to dump *all* xattrs, and see what<br>&gt; we get.<br><br>No .dht attribute, only afr as you can see.<br><br>&gt; The reason you continue to get I/O errors is probably that the xattrs on<br>
&gt; the *parent directory* still indicate pending operations on both sides.<br><br>Indeed, this is as you said.<br></div></div>