From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Fri, 11 Dec 2015 15:09:36 +0100 (CET) Received: by mail-wm0-x22e.google.com with SMTP id n186so31198126wmn.1 for ; Fri, 11 Dec 2015 06:09:36 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1308232842.375292.1449777297163.JavaMail.yahoo@mail.yahoo.com> Date: Fri, 11 Dec 2015 15:09:34 +0100 Message-ID: From: =?UTF-8?Q?Lu=C3=ADs_de_Sousa?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [dm-crypt] Fwd: Cannot wipe header on device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 10 December 2015 at 20:54, H McCurdy wrote: > > The question is what happens if you try to write many zeros to the device= . > Does it work or does it throw an error? > > dd if=3D/dev/zero of=3D/dev/sdb1 bs=3D4096 count=3D2500 conv=3Dsync > Hello again, The dd command goes on ok, but still the cryptsetup initialisation fails - and with the same error (see below). I start suspecting this is an issue with the hardware itself. Are there other tests I could conduct? Thank you, Lu=C3=ADs $ sudo dd if=3D/dev/zero of=3D/dev/sdb1 bs=3D4096 count=3D2500 conv=3Dsync 2500+0 records in 2500+0 records out 10240000 bytes (10 MB) copied, 0.579948 s, 17.7 MB/s $ sudo cryptsetup -y -v luksFormat /dev/sdb1 WARNING! =3D=3D=3D=3D=3D=3D=3D=3D This will overwrite data on /dev/sdb1 irrevocably. Are you sure? (Type uppercase yes): YES Enter passphrase: Verify passphrase: Cannot wipe header on device /dev/sdb1. Command failed with code 5: Cannot wipe header on device /dev/sdb1.