NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: disk scrubbing
On Thu, Aug 26, 2021 at 01:31:55PM +0100, Patrick Welche wrote:
> Any thoughts on the pros and cons of
>
> # cgdconfig -s cgd0 /dev/sd0e adiantum 256 < /dev/urandom
> # dd if=/dev/zero of=/dev/rcgd0d bs=64k progress=512
> # cgdconfig -u cgd0
>
> vs
>
> # dd if=/dev/urandom of=/dev/rsd0e bs=64k progress=512
>
> ?
>
>
> Cheers,
>
> Patrick
/dev/urandom can be slow at times. Simply encrypting /dev/zero onto the
blocks to scrub may be faster and will produce similar results.
Home |
Main Index |
Thread Index |
Old Index