Closed GoogleCodeExporter closed 9 years ago
Are any files in there sparse or hard-linked together?
Have you tried -d or --sparse=always ?
Original comment by a...@redhat.com
on 7 Sep 2014 at 12:34
Well, this is definitely not a problem of cryptsetup.
Cryptsetup is just configuring underlying encryption block device, it has no
idea what space is allocated. Your reported problem is related to filesystem
above the cryptsetup layer.
Anyway as Alasdair mentioned - it seems like you have some hard linked files
which are not copied independently.
Either use suggested parameters for copy or maybe you can to use rsync (with
-H parameter to preserve hardlinks).
If the source and destination is of the same size, you can also directly copy
block device using dd in this case. (And note that type of filesystem and
options are important as well. For example, if you are using extended
attributes, every file will have allocated more space than its size).
Anyway, closing this, the problem is unrelated to cryptsetup.
Original comment by gmazyl...@gmail.com
on 7 Sep 2014 at 7:26
Ok. Thanks for your guidance on this. I know BackupPC uses hard links, so I
will look into this.
Original comment by jonathan...@gmail.com
on 7 Sep 2014 at 7:37
Original issue reported on code.google.com by
jonathan...@gmail.com
on 6 Sep 2014 at 9:43