On Sun, Apr 20, 2008 at 03:48:06PM +0200, Felix Andersen wrote:
> So for various reasons I am copying my backuppc stuff from the
> directory /mnt/oldb/var/lib/backuppc to /mnt/newb/backuppc. The stuff
> will later be mounted in the right places and so on.
> I ran "sudo cp /mnt/oldb/var/lib/backuppc/ /mnt/newb/ -rp". When the
> copying was done i ran "df -h" giving the following output:
> /dev/hdd1 37G 33G 1,8G 96% /mnt/oldb
> /dev/hdc1 230G 95G 124G 44% /mnt/newb
> Seemed really strange...
> Running "sudo
> du ../newb/backuppc/cpool ../newb/backuppc/log ../newb/backuppc/pc ../newb/backuppc/pool ../newb/backuppc/trash -hs"
> 4,0K ../newb/backuppc/cpool
> 84K ../newb/backuppc/log
> 67G ../newb/backuppc/pc
> 28G ../newb/backuppc/pool
> 4,0K ../newb/backuppc/trash
> and running "sudo
> du ../oldb/var/lib/backuppc/cpool ../oldb/var/lib/backuppc/log ../oldb/var/lib/backuppc/pc ../oldb/var/lib/backuppc/pool ../oldb/var/lib/backuppc/trash -hs"
> 4,0K ../oldb/var/lib/backuppc/cpool
> 84K ../oldb/var/lib/backuppc/log
> 29G ../oldb/var/lib/backuppc/pc
> 18M ../oldb/var/lib/backuppc/pool
> 4,0K ../oldb/var/lib/backuppc/trash
> What is happening with the pc and pool directories?
It looks like you copied without preserving hardlinks (how did you do
the copying, exactly?).
Try du -l on the old pool and you should get the same results as for the
„What we resist, persists.” (Zen saying)