I usually add a bs=4k or bs=16k or a bs=256k when using dd so the
blocksize is larger.  That usually makes it quite a bit  faster.

And if you background the dd you can use "vmstat 1" and the bi/bo
columns tell you the actual disk io rates, and you can use that to
reliably estimate.

Default is 512 and does not align with most (all?) underlying physical
devices block sizes and may cause various layers extra work and take
much longer.

On Tue, Nov 1, 2022 at 9:26 AM George N. White III <gnw...@gmail.com> wrote:
>
> On Mon, Oct 31, 2022 at 11:17 PM George N. White III <gnw...@gmail.com> wrote:
>>
>>
>>
>> On Sun, Oct 30, 2022 at 8:51 PM ToddAndMargo via users 
>> <users@lists.fedoraproject.org> wrote:
>>>
>>> Hi All,
>>>
>>> I have an upcoming appointment with a customer
>>> who wants a number of his old computers
>>> (mostly iMacs) removed from service.
>>>
>>> [...]
>>>
>>>      # dd if=/dev/zero of=/dev/sd[x]
>>
>>
>> An old iMac has been running this (x=a) for over 12 hours here using
>> thr “rescue” option from an old linux installer CD.   I’ve done this with
>> newer Macs, but just left it running overnight, so not sure how long it took.
>
>
> My dd process ran out of space 24 hours after I started it, on a 250G drive.
>
> --
> George N. White III
>
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to