From nobody Thu Oct 10 16:15:38 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XPZcS5kbRz5ZDt5 for ; Thu, 10 Oct 2024 16:15:52 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPZcS0Ztbz50kN for ; Thu, 10 Oct 2024 16:15:52 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-6e2d2447181so9779397b3.1 for ; Thu, 10 Oct 2024 09:15:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1728576951; x=1729181751; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=883etgn0G+3zfXeK2DY2yK3jaRz2WGVglOkPjqCCyOY=; b=Zx1fAdcvuAOBVZf4epNSSZtPaYIKyosRhBJE6D1NE9tncwY2I/4vxiVEhXb5Pj7HZy Bh28tk1lmWBif/TpQ4Pmc/TonqEaPq0caopAUrcGGNytJ6+U2XW16QqiRjlDbussAkHy 6Mk9QEWK3o7dnqQxFXLupewJmtS3U3ExyS7NaWBccAolWcG8AzqZ64JRAg9g3Pkw5jWE jNw42Kxex+1rfADXkKMqAGCN7nw2ha4qnspyNwAw7zxI4X0KvdE6iSiEiEtV4hcBEy2+ aR7JSbHILFyOBVQaYelzN7OgEQ7chRD+td4lE5Rpt1hahIhnMIl4s27OZ8MbN2w/XCvO Olcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728576951; x=1729181751; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=883etgn0G+3zfXeK2DY2yK3jaRz2WGVglOkPjqCCyOY=; b=RPxqPrkEigiKLVCuAg12tb+zLzjwCWVleL8FcLeuy4dV7qX1/0hwffiUPzyap6NeTo sXb2E2RAZ12pVJXVryLIMHVMgnGi5y4g/fdRzhO53mvIQ3V+/EuHToImkzh03/X7Frmm 0xT6YsCJ1ziHJjwWODTy+oh6Vy12msoVVCnrw/ASrkwyL/kzI8xtYFRi5BLRC6TTw1xg PobRUHy0Kw2GP2rma3mGdG+7hGpbQHmjm+HXg02csC+1KUJDwHaDRrlSd2GFp7LrvI0g ZrQIW+6f+6qdeFwgcFWqAqKLWxFbWs/NMihSKBVmgRi/MdZx/XtLLI0sPTBmd/5hAqGL ki2g== X-Gm-Message-State: AOJu0Yyjs78eHKMGQXTEbLUUkOgybF+QrkdB4Hsage4PQ9+P1r4csVJ6 BOA7yd+ltcKMhLShk1BqoQX4CqBacjzabKuVOJcoPwHEIAox92kXeOuCvaBrvzKRRbbCyyd8R/o = X-Google-Smtp-Source: AGHT+IGFT5c/Yc4jkG78dwGrhmaMB92hj8AmlK8LlV+GCGRkymLiYyRMPBpaJziPIcs3FQSXOmEoyw== X-Received: by 2002:a05:690c:740a:b0:6e2:c13e:20e9 with SMTP id 00721157ae682-6e3224eb3e9mr65761837b3.38.1728576951178; Thu, 10 Oct 2024 09:15:51 -0700 (PDT) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com. [209.85.128.180]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6e332b92dadsm2603217b3.54.2024.10.10.09.15.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Oct 2024 09:15:50 -0700 (PDT) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-6e2d2447181so9779167b3.1 for ; Thu, 10 Oct 2024 09:15:50 -0700 (PDT) X-Received: by 2002:a05:690c:ec5:b0:6de:a3:a7ca with SMTP id 00721157ae682-6e322487f54mr69117377b3.32.1728576950328; Thu, 10 Oct 2024 09:15:50 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: <5117.1728561469@segfault.tristatelogic.com> In-Reply-To: <5117.1728561469@segfault.tristatelogic.com> From: Tomek CEDRO Date: Thu, 10 Oct 2024 18:15:38 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to zero a failing disk drive before disposal? To: "Ronald F. Guilmette" Cc: questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XPZcS0Ztbz50kN X-Spamd-Bar: ---- sysutils/ddrescue helped me to read broken drives several times, it retries then skips on errors. sysutils/e2fsprogs has program badblocks that can help disk rebuild in read only mode, or make things worse depending how its broken, and you can use it many loops of destructive write test to overwrite data. the safest way to dispose sensitive data is by physical destruction :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info