http://sourceforge.net/mailarchive/foru ... aufs-users
All started with these posts about: Remount command with option udba=reval is hanging:
http://permalink.gmane.org/gmane.linux. ... .user/3744
I have noticed the problem addressed there but I didnt know the fixing patch has been applied to the latest aufs 3.2 version which has been released. Cut from aufs mailing list:
/usr/local/petget/installpkg.sh has this for aufs:> > By the way, I am going to release the new version of aufs which contain the patch I've sent. I know the problem is not solved yet, but you can also try the new version.
I have tested with kernel 3.2.9 and your new AUFS release. Now the
remount times are good again.
Here with "find /usr":
# mount / -o remount,udba=notify; find /usr -type f &>/dev/null; time
mount / -o remount,udba=reval
real 0m0.196s
user 0m0.000s
sys 0m0.030s
And with "find /":
# mount / -o remount,udba=notify; find / -type f &>/dev/null; time mount
/ -o remount,udba=reval
real 0m0.301s
user 0m0.000s
sys 0m0.107s
Code: Select all
#now re-evaluate all the layers...
if [ "`lsmod | grep '^aufs' `" != "" ];then #100426
busybox mount -t aufs -o remount,udba=reval unionfs / #remount with faster evaluation mode.
[ $? -ne 0 ] && logger -s -t "installpkg.sh" "Failed to remount aufs / with udba=reval"
else
mount -t unionfs -o remount,incgen unionfs /
fi
sync
fi