Contents of two disks look very different, but one is copied from the other
by sloppyjoeman from LinuxQuestions.org on (#6DG7T)
enter our players:
* disk 1, a peppy 8TB rusty mirror in a MDADM mirror
* disk 2, the new kid on the block - a 4TB WD blue SATA ssd formatted with BTRFS and mounted with defaults,compress=lzoand created using mkfs.btrfs -n 32k ${disk2}
I'm copying files using rclone:
rclone sync ${disk1} ${disk2} --copy-links --progress
disk 1 is 48% full and dfreturns
Filesystem 1K-blocks Used Available Use% Mounted on /dev/md0 7751235316 3532735052 3827789208 48% /mnt/mirror
disk 2 is very nearly full and I notice the 1K blocks look very different - nearly half as many. Would we expect this to mean the data takes up less space? The transfer isn't finished yet
Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 3907017540 3764518196 142186892 97% /mnt/data
What's going on with the huge difference in 1K blocks, should I be worried? I was expecting that between CoW and transparent compression we'd be able to trim the total space down at least a bit...
I'm new to BTRFS so sorry if this is a silly question!
* disk 1, a peppy 8TB rusty mirror in a MDADM mirror
* disk 2, the new kid on the block - a 4TB WD blue SATA ssd formatted with BTRFS and mounted with defaults,compress=lzoand created using mkfs.btrfs -n 32k ${disk2}
I'm copying files using rclone:
rclone sync ${disk1} ${disk2} --copy-links --progress
disk 1 is 48% full and dfreturns
Filesystem 1K-blocks Used Available Use% Mounted on /dev/md0 7751235316 3532735052 3827789208 48% /mnt/mirror
disk 2 is very nearly full and I notice the 1K blocks look very different - nearly half as many. Would we expect this to mean the data takes up less space? The transfer isn't finished yet
Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 3907017540 3764518196 142186892 97% /mnt/data
What's going on with the huge difference in 1K blocks, should I be worried? I was expecting that between CoW and transparent compression we'd be able to trim the total space down at least a bit...
I'm new to BTRFS so sorry if this is a silly question!