Sunday, April 13, 2014

bonnie++ Can't open file

While running bonnie++ , you may face this error :

# ./bonnie++ -d /mnt -s 8056M -n 0 -m TEST_IO -f -b -u username
Using uid:1000, gid:1000.
Can't open file ./Bonnie.3497.000

You need to add -u root:root , to the command line like :

./bonnie++ -d /mnt -s 8056M -n 0 -m TEST_IO -f -b -u root:root


  1. THANK YOU!!!!!!!!!!!!!!

  2. You probably shouldn't run bonnie++ as root. The man pages don't recommend it as a bug in the pas has wiped out someones system. Better to change the permissions of the directory