I got a new external disk to replace an older one that has shown signs of trouble. I used rsync
to copy the contents of the old disk to the new one. To check if the copying had worked properly, I've done things like compare disk usage using du
and df
and done diffs. I noticed that the disk space usage on the new disk is significantly less than on the old one. This shows up for example doing (/backup
is old disk, /backup1
is new disk):
> du -s /backup/laptop
5400764 /backup/laptop
> du -s /backup1/laptop
5308428 /backup1/laptop
but if I do diff -r /backup/laptop /backup1/laptop
I get nothing. The only thing I see that could account for the differences is that the old disk uses the ext3
filesystem and the new one ext4
. If anyone can shed any light on this, I'd appreciate it.
Thanks, Jon
sudo fdisk -l
with the descriptionI/O size (minimum/optimal)
.