g2p / bedup

Btrfs deduplication
http://pypi.python.org/pypi/bedup
GNU General Public License v2.0
322 stars 50 forks source link

bedup scan #11

Closed Pradeeps192 closed 11 years ago

Pradeeps192 commented 11 years ago

Hi, I have a device created /dev/sda2 and mounted. Created subvolume in it and when scanned using the command bedup scan, the scanning is not consistent. i.e., it scans some times and some times not.The details are below.

/dev/sda2 on /mnt type btrfs (rw) root@pradeep:/home/pradeep/Documents/bedup# bedup scan Scanning volume /mnt generations from 15 to 22, with size cutoff 8388608 00.00 Scanned 15 retained 0 Scanning volume /mnt/sv1 generations from 15 to 23, with size cutoff 8388608 00.00 Scanned 11 retained 0 Scanning volume /mnt/MYSNAP generations from 16 to 22, with size cutoff 8388608 00.00 Scanned 11 retained 0

when executed the same command second time i get the following output. root@pradeep:/home/pradeep/Documents/bedup# bedup scan Not scanning /mnt, generation is still 22 Not scanning /mnt/sv1, generation is still 23 Not scanning /mnt/MYSNAP, generation is still 22

what could be to the problem and what is the meaning of "generation is still 22.."

g2p commented 11 years ago

That's normal, bedup doesn't need to rescan when your data hasn't changed.

Pradeeps192 commented 11 years ago

ok thanks, any help regarding generation id