Displaying 3 results from an estimated 3 matches for "size_new".
Did you mean:
file_new
2017 Aug 04
0
Quotas not working after adding arbiter brick to replica 2
...glusterd/vols/$vol/quota.conf
qconf_bk="$qconf".bk
cp $qconf $qconf_bk
grep "GlusterFS Quota conf | version: v1.2"
/var/lib/glusterd/vols/v5/quota.conf
if [ $? -eq 0 ];
then
entry_size=17;
else
entry_size=16;
fi
size=`ls -l $qconf | awk '{print $5}'`
(( size_new = size - entry_size ))
dd if=$qconf_bk of=$qconf bs=1 count=$size_new
gluster v quota v5 list
====================================
In the unlikely case that there are multiple stale entries in the end of
file you may have to run it multiple times
to fix the issue (each time one stale entry at the...
2017 Aug 04
1
Quotas not working after adding arbiter brick to replica 2
...onf_bk="$qconf".bk
> cp $qconf $qconf_bk
> grep "GlusterFS Quota conf | version: v1.2" /var/lib/glusterd/vols/v5/quota.conf
> if [ $? -eq 0 ];
> then
> entry_size=17;
> else
> entry_size=16;
> fi
> size=`ls -l $qconf | awk '{print $5}'`
> (( size_new = size - entry_size ))
> dd if=$qconf_bk of=$qconf bs=1 count=$size_new
> gluster v quota v5 list
> ====================================
> In the unlikely case that there are multiple stale entries in the end of file you may have to run it multiple times
> to fix the issue (each time...
2017 Aug 03
2
Quotas not working after adding arbiter brick to replica 2
I tried to re-create manually my quotas but not even that works now. Running the "limit-usage" command as showed below returns success:
$ sudo gluster volume quota myvolume limit-usage /userdirectory 50GB
volume quota : success
but when I list the quotas using "list" nothing appears.
What can I do to fix that issue with the quotas?
> -------- Original Message --------
>