Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2022 01:33:35 +0100
From:      Graham Perrin <grahamperrin@freebsd.org>
To:        questions@freebsd.org
Subject:   Re: disk non-destructive bad-block write/fix?
Message-ID:  <8758b440-ef11-933f-a42c-2c09f6d1b6c9@freebsd.org>
In-Reply-To: <d687eb29-a3fb-7d91-a2c6-c1e4e1dc7e31@dreamchaser.org>
References:  <d687eb29-a3fb-7d91-a2c6-c1e4e1dc7e31@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------0rP8eCQPflnu7P8p3Pl6e0jl
Content-Type: multipart/mixed; boundary="------------Bck51mtTMvZwHLl3PfETYf8w";
 protected-headers="v1"
From: Graham Perrin <grahamperrin@freebsd.org>
To: questions@freebsd.org
Message-ID: <8758b440-ef11-933f-a42c-2c09f6d1b6c9@freebsd.org>
Subject: Re: disk non-destructive bad-block write/fix?
References: <d687eb29-a3fb-7d91-a2c6-c1e4e1dc7e31@dreamchaser.org>
In-Reply-To: <d687eb29-a3fb-7d91-a2c6-c1e4e1dc7e31@dreamchaser.org>

--------------Bck51mtTMvZwHLl3PfETYf8w
Content-Type: multipart/alternative;
 boundary="------------uNokD0loJUiY1KEncq7SU6bR"

--------------uNokD0loJUiY1KEncq7SU6bR
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMjAvMDkvMjAyMiAwNDo0MCwgR2FyeSBBaXRrZW4gd3JvdGU6DQoNCj4g4oCmIG15IG9u
bHkgYXZhaWxhYmxlIGJhY2t1cCBkaXNrIGlzIHRocm93aW5nIGEgbG90IG9mIGVycm9ycyBs
aWtlOg0KPg0KPiDigKYNCj4NCj4gSXMgdGhlcmUgYSB3YXkgdG8gZXhlcmNpc2UgdGhlIGZy
ZWUgYmxvY2tzDQoNCnN0cmVzc2Rpc2sNCg0KPGh0dHBzOi8vd3d3LmZyZXNocG9ydHMub3Jn
L3N5c3V0aWxzL3N0cmVzc2Rpc2svPg0KDQpOb3RlOiBJIHNob3VsZCBfbm90XyBzdHJlc3Mg
KGV4ZXJjaXNlKSBhIGRpc2sgdGhhdCBpcyBteSBvbmx5IGF2YWlsYWJsZSANCmJhY2t1cCwg
aWYgdGhlcmUncyB0aGUgcmlzayBvZiB3b3JzZW5pbmcgdGhlIHNpdHVhdGlvbiAod2l0aG91
dCANCmNlcnRhaW50eSBvZiB0aGUgY2F1c2Uocykgb2YgZXJyb3JzKS4NCg0Kc3RyZXNzZGlz
ayBjYW4gYmUgdmVyeSBoYW5keSwgaW4gcmFyZSBzaXR1YXRpb25zIHdoZXJlIHlvdSB0cnVs
eSB3YW50IHRvIA0KdGVtcG9yYXJpbHkgZmlsbCBhIGZpbGUgc3lzdGVtLCBob3dldmVyIGl0
J3Mgbm90IHJlYWxseSBhIGZpdCBmb3IgImRpc2sgDQpub24tZGVzdHJ1Y3RpdmUgYmFkLWJs
b2NrIHdyaXRlL2ZpeCIuDQoNClRoZXJlJ3MgYWxzbyB0aGlzIGZlYXR1cmUgb2YgSERBVDIg
PGh0dHBzOi8vd3d3LmhkYXQyLmNvbS8+LCBmb3IgYW4gDQplbnRpcmUgZGlzayAobm90IGp1
c3QgYSBmaWxlIHN5c3RlbSk6DQoNCiogRGV0ZWN0IGFuZCBmaXggYmFkIHNlY3RvcnMNCg0K
QWdhaW4sIEkgc2hvdWxkIG5vdCB1c2UgaXQgaWYgdGhlcmUncyB0aGUgcmlzayBvZiB3b3Jz
ZW5pbmcgdGhlIHNpdHVhdGlvbi4NCg0KSFRIDQoNCg==
--------------uNokD0loJUiY1KEncq7SU6bR
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html data-lt-installed=3D"true">
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body>
    <p>On 20/09/2022 04:40, Gary Aitken wrote:<br>
    </p>
    <blockquote type=3D"cite"
      cite=3D"mid:d687eb29-a3fb-7d91-a2c6-c1e4e1dc7e31@dreamchaser.org">=E2=
=80=A6
      my only available backup disk is
      throwing a lot of errors like:
      <br>
      <br>
      =E2=80=A6<br>
      <br>
      Is there a way to exercise the free blocks <br>
    </blockquote>
    <p>stressdisk</p>
    <p><a class=3D"moz-txt-link-rfc2396E" href=3D"https://www.freshports.=
org/sysutils/stressdisk/">&lt;https://www.freshports.org/sysutils/stressd=
isk/&gt;</a><br>
    </p>
    <p>Note: I should _not_ stress (exercise) a disk that is my only
      available backup, if there's the risk of worsening the situation
      (without certainty of the cause(s) of errors).=C2=A0</p>
    <p>stressdisk can be very handy, in rare situations where you truly
      want to temporarily fill a file system, however it's not really a
      fit for "disk non-destructive bad-block write/fix". <br>
    </p>
    <p>There's also this feature of HDAT2
      <a class=3D"moz-txt-link-rfc2396E" href=3D"https://www.hdat2.com/">=
&lt;https://www.hdat2.com/&gt;</a>, for an entire disk (not just a
      file system): <br>
    </p>
    <p>* Detect and fix bad sectors</p>
    <p>Again, I should not use it if there's the risk of worsening the
      situation. <br>
    </p>
    <p>HTH<br>
    </p>
  </body>
  <lt-container></lt-container>
</html>

--------------uNokD0loJUiY1KEncq7SU6bR--

--------------Bck51mtTMvZwHLl3PfETYf8w--

--------------0rP8eCQPflnu7P8p3Pl6e0jl
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmMqW+AFAwAAAAAACgkQt2dIb0oY1AsZ
Ig/9HNGP2kEfFga2riGn/JWPhjQg2HxUU00Rur2l80UJA7VUAziW6d6HlcDill8TmTBghgGpETZn
SoqL+kd9cT4CsOSClqgA9lp1v8KiHCo7dewiX1bsqL3d9FwiPA3fPvrqK0ycrAv6dfQFAHBYGkjI
AOq2LOljhY4tdJ4A/ILRL0NOC0/ZZBX3ubQ0lIFChCkIAQHdrAe6qcmzfpyiTXAKINSBv1oaekbN
hq/tbAjGKR6I6w3EuAAeZy7WC6W1jLcgqZSGSpjZ/KYS8/zk9XchMZ/CU6DhRycM3dO/+tT2i8OS
RS79c+ofW3S5RfJakU9dxjOZoMqNRQk6OtTH0VH4vkWVPX4VNF8Aj1u0Ayl0ii6T33n6Kd8WTnHw
8WuvAOwegg/+Y8f4NSsao62C44cUcAemKyfg0IqzJ4jYKRvTPuvpI7KTv9ajtrO/rxbbseZpRRk9
3QuBubEjaoPvudpbKWbhKeQ2mvi3nlP6Bn9w2ERvzhfUdvtNFpwYJRBBUwdO71Z3Q6BOc38XqXsm
wbH7J22VLW/HWMos7apHoSBm0EidtjExIb088zV0soyp/bdYCCH7OcnLvPO2855OdKPGqiWFKanq
kXtKDYNKgT+0V4LNbVVVxSH1ontGD/Zc2CEp1RKcZCwZQwI5FRT+4wF919u95FDlMyp9amMSOdn3
7Us=
=zMzq
-----END PGP SIGNATURE-----

--------------0rP8eCQPflnu7P8p3Pl6e0jl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8758b440-ef11-933f-a42c-2c09f6d1b6c9>