Den fre 22 sep. 2023 kl 20:17 skrev vitmau...@gmail.com <vitmau...@gmail.com >:
> Hi, > > I used the command "cd /SRC && dump 0f - . | (cd /DST && restore -rf - )" > as suggested by the "Disk Setup" section of the FAQ to transfer everything > from one of my old hard disks to the one that should replace it. However, > I'm stuck with something around 35 megabytes/s of speed transfer (measured > using "systat -h io") following this path. If I use rsync, I get something > around 70 megabytes/s (measured by both the "--progress" option and > systat). Am I missing something? Is this to be expected? > While I can't comment on the actual numbers, one thing one could consider when restoring (from any medium/type) into a new empty file system is that you can mount the destination fs async during the restore in order to speed it up a bit. While running with async all the time is not a good idea, the reasoning here is that if you get a half-restore (from some error you can fix) you would want to restart the restore fully anyhow, so in that case async isn't a problem while restoring. Then you need to remount or unmount the async so that you are really sure it flushes all writes before you start running on it, or rebooting. -- May the most significant bit of your life be positive.