DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: "Luís de Sousa" <luis.a.de.sousa@gmail.com>, dm-crypt@saout.de
Subject: Re: [dm-crypt] Fwd: Cannot wipe header on device
Date: Fri, 11 Dec 2015 15:34:34 +0100	[thread overview]
Message-ID: <566ADEFA.7090509@gmail.com> (raw)
In-Reply-To: <CAEtdG7vzPtjzcaD0O4Fa4QoHLApMiBo4vaWRL0x8H-9aCbr+KQ@mail.gmail.com>

On 12/11/2015 03:09 PM, Luís de Sousa wrote:
> On 10 December 2015 at 20:54, H McCurdy <hmccurdy@yahoo.com> 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=/dev/zero of=/dev/sdb1 bs=4096 count=2500 conv=sync
>>
> 
> 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ís
> 
> 
> $ sudo dd if=/dev/zero of=/dev/sdb1 bs=4096 count=2500 conv=sync
> 2500+0 records in
> 2500+0 records out
> 10240000 bytes (10 MB) copied, 0.579948 s, 17.7 MB/s

Could you please try to add to dd command: oflag=direct  and try it again?


Milan

  reply	other threads:[~2015-12-11 14:34 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10 10:18 [dm-crypt] Cannot wipe header on device Luís de Sousa
2015-12-10 13:35 ` Michael Kjörling
2015-12-10 16:49 ` H McCurdy
2015-12-10 17:24   ` Luís de Sousa
2015-12-10 17:37     ` H McCurdy
2015-12-10 18:25       ` Luís de Sousa
2015-12-10 19:54         ` H McCurdy
2015-12-11  4:33           ` Arno Wagner
     [not found]           ` <CAEtdG7sSJQC79cAqCGcMwREH_nTb8NakiXSfCr3+vv3vyo0w+A@mail.gmail.com>
2015-12-11 14:09             ` [dm-crypt] Fwd: " Luís de Sousa
2015-12-11 14:34               ` Milan Broz [this message]
2015-12-11 14:56                 ` Luís de Sousa
2015-12-11 15:10                   ` Milan Broz
2015-12-13 19:52                   ` Milan Broz
2015-12-14  8:44                     ` Luís de Sousa
2015-12-14 14:46                       ` Sven Eschenberg
2015-12-14 19:53                       ` Robert Nichols
2015-12-14 20:39                         ` Arno Wagner
2015-12-15  8:53                       ` Luís de Sousa
2015-12-15  9:37                         ` Milan Broz
2015-12-15 17:53                         ` Robert Nichols
2015-12-16  4:06                         ` David Christensen
2015-12-10 19:06 ` [dm-crypt] " David Christensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=566ADEFA.7090509@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=luis.a.de.sousa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox