Simulating bad sectors on file based storage device. How?
Artem Kuchin
artem at artem.ru
Tue Feb 16 13:05:09 UTC 2021
gnope only allows to set probability, but i need an exact block in an
exact place.
15.02.2021 20:44, Alan Somers пишет:
> If you have SCSI disks, you can inject errors with `sysctl
> kern.cam.da.0.error_inject`. If not, you can use gnop(8) to simulate
> a flaky disk.
>
> On Mon, Feb 15, 2021 at 10:36 AM Artem Kuchin <artem at artem.ru
> <mailto:artem at artem.ru>> wrote:
>
> Hello!
>
> Is there a way to build a file base storage device (for example, file
> based zfs mirror) and then simulate a bad sector for one of the
> mirror
> sides?
>
> Artem
>
>
> _______________________________________________
> freebsd-fs at freebsd.org <mailto:freebsd-fs at freebsd.org> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> <https://lists.freebsd.org/mailman/listinfo/freebsd-fs>
> To unsubscribe, send any mail to
> "freebsd-fs-unsubscribe at freebsd.org
> <mailto:freebsd-fs-unsubscribe at freebsd.org>"
>
More information about the freebsd-fs
mailing list