From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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:56:11 +0100 (CET) Received: by mail-wm0-x234.google.com with SMTP id n186so33209208wmn.1 for ; Fri, 11 Dec 2015 06:56:11 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <566ADEFA.7090509@gmail.com> References: <1308232842.375292.1449777297163.JavaMail.yahoo@mail.yahoo.com> <566ADEFA.7090509@gmail.com> Date: Fri, 11 Dec 2015 15:56:10 +0100 Message-ID: From: =?UTF-8?Q?Lu=C3=ADs_de_Sousa?= Content-Type: text/plain; charset=UTF-8 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 11 December 2015 at 15:34, Milan Broz wrote: > > Could you please try to add to dd command: oflag=direct and try it again? > Same result (see below). Thanks for helping in any case. $ sudo dd if=/dev/zero of=/dev/sdb1 bs=4096 count=2500 conv=sync oflag=direct 2500+0 records in 2500+0 records out 10240000 bytes (10 MB) copied, 1.59072 s, 6.4 MB/s $ sudo cryptsetup -y -v luksFormat /dev/sdb1 WARNING! ======== 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.