Fwd: Cannot wipe header on device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10 December 2015 at 20:54, H McCurdy <hmccurdy@xxxxxxxxx> 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

$  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.
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux