From nobody Fri Oct 11 07:39:16 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 4XPzFr2n0mz5YSBj for ; Fri, 11 Oct 2024 07:46:08 +0000 (UTC) (envelope-from markus.graf@markusgraf.net) Received: from mx.virtual-earth.de (mx.virtual-earth.de [176.9.220.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPzFd6JgLz4q45 for ; Fri, 11 Oct 2024 07:45:57 +0000 (UTC) (envelope-from markus.graf@markusgraf.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mx.virtual-earth.de header.s=220816 header.b=B0YLwdG7; spf=temperror (mx1.freebsd.org: error in processing during lookup of markus.graf@markusgraf.net: DNS error) smtp.mailfrom=markus.graf@markusgraf.net; dmarc=temperror reason="SPF/DKIM temp error" header.from=markusgraf.net (policy=temperror) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.virtual-earth.de; s=220816; t=1728632745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BXY8ym52Y4ed4vmg2uZGKk1bKhpP4lbVFqsOfuJFYvY=; b=B0YLwdG7nK116G0oLACcynNQ1qbcJJGtxncab3b2vjVsSjSMsq0LBS1IjssukYrNnrd1+Y YgOBXxdlp5TCX8PH3rNMopjM7jP4+uE/jRvJe5olHnLH6gnKB3L0RkAaf9ZOZeX9ewbQ0z +ao/Nw60/06uCoccg229C3Iy1p0GQUw= Received: from beasty.markusgraf.net (p200300E12F27D300Dc02Fd481c85d7a4.dip0.t-ipconnect.de [2003:e1:2f27:d300:dc02:fd48:1c85:d7a4]) by mx.goodhope.local (OpenSMTPD) with ESMTPSA id 277b0a25 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 11 Oct 2024 09:45:45 +0200 (CEST) References: <5117.1728561469@segfault.tristatelogic.com> User-agent: mu4e 1.8.13; emacs 29.4 From: Markus Graf To: questions@freebsd.org Subject: Re: How to zero a failing disk drive before disposal? Date: Fri, 11 Oct 2024 09:39:16 +0200 In-reply-to: Message-ID: <86cyk7hyl3.fsf@beasty.markusgraf.net> 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 Content-Type: text/plain; format=flowed X-Spamd-Result: default: False [-2.19 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; R_DKIM_ALLOW(-0.20)[mx.virtual-earth.de:s=220816]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:24940, ipnet:176.9.0.0/16, country:DE]; R_SPF_DNSFAIL(0.00)[temporary DNS error]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_DNSFAIL(0.00)[markusgraf.net : SPF/DKIM temp error,none]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[mx.virtual-earth.de:+] X-Rspamd-Queue-Id: 4XPzFd6JgLz4q45 X-Spamd-Bar: -- Years ago I heared the recommended way for embassies was to have an emergency set ready, consisting of a solid chisel and a heavy hammer. Make shure to shatter the disks. When you have time put your chisel to the the hard disk where the platters are, then hit hard. If in a hurry put the chisel to the laptop where the disks are an hit hard ;-) Tomek CEDRO writes: > 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 :-) -- Markus Graf