markfasheh / duperemove

Tools for deduping file systems
GNU General Public License v2.0
794 stars 78 forks source link

first run fails errror 13? #261

Closed develroo closed 3 years ago

develroo commented 3 years ago

So running duperemove for the first run.

duperemove -r -A -h --skip-zeroes --hashfile=/var/cache/duperemove-home-user /home/user/

At the end this happened.

Total files: 2261918 Total extent hashes: 4666300 create_indexes()/45330: Database error 13 while creating database index: database or disk is full

the folder is not full

 df -h /var

Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/pulseforn--vg-var  9.4G  7.4G  1.8G  81% /var
ls -lah /var/cache/duperemove-home-user*

-rw-r--r-- 1 root root 5.0G Feb 13 17:04 /var/cache/duperemove-home-user
-rw-r--r-- 1 root root 4.6K Feb 13 17:03 /var/cache/duperemove-home-user-journal

EDIT: For reference.

Platform: Debian 10/Testing Kernel: 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) x86_64 GNU/Linux duperemove v0.11.2 btrfs-progs v5.10.1

Any ideas?

lorddoskias commented 3 years ago

It's possible that you've run out of space on /tmp since sqlite seems to be using it while creating the database. If you can reproduce can you monitor your /tmp to see if it's going out of space.

develroo commented 3 years ago

Hmm ok .. so 2Gb is not enough? Might help to have a more descriptive message?

I'll try the run again

lorddoskias commented 3 years ago

Closing due to inactivity.