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 ; Mon, 14 Dec 2015 09:44:21 +0100 (CET) Received: by wmnn186 with SMTP id n186so110307599wmn.0 for ; Mon, 14 Dec 2015 00:44:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <566DCC8B.10401@gmail.com> References: <1308232842.375292.1449777297163.JavaMail.yahoo@mail.yahoo.com> <566ADEFA.7090509@gmail.com> <566DCC8B.10401@gmail.com> Date: Mon, 14 Dec 2015 09:44:21 +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: Re: [dm-crypt] Fwd: Cannot wipe header on device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Milan Broz Cc: dm-crypt@saout.de On 13 December 2015 at 20:52, Milan Broz wrote: > > IMHO this operation should print error as well: > > dd if=3D/dev/zero of=3D/dev/sdb1 bs=3D4096 count=3D1 oflag=3Dsync,direct > > (note sync is oflag, not conv=3D...) > > Anyway, this is not error in cryptsetup... > > Milan Hi Milan, thank you for the reply. You can see the output below, there is an error indeed. I understand this is not an issue with cryptsetup, but would anyone have suggestions on how to proceed? Is there any hope of "fixing" this, e.g. marking this sector as unusable? Thank you, Lu=C3=ADs $ sudo dd if=3D/dev/zero of=3D/dev/sdb1 bs=3D4096 count=3D1 oflag=3Dsync,di= rect dd: error writing =E2=80=98/dev/sdb1=E2=80=99: Remote I/O error 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.00142455 s, 0.0 kB/s