All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] mistake with luksFormat
@ 2017-12-23 10:49 A. Kapetanovic
  2017-12-23 14:01 ` Arno Wagner
  2017-12-23 19:23 ` Michael Kjörling
  0 siblings, 2 replies; 8+ messages in thread
From: A. Kapetanovic @ 2017-12-23 10:49 UTC (permalink / raw)
  To: dm-crypt

Hi everybody,

I did something wrong, can please someone help me ? I followed these  
instructions to encrypt a internal HDD :

https://www.cyberciti.biz/hardware/howto-linux-hard-disk-encryption-with- 
luks-cryptsetup-command/

Unfortunately I did

cryptsetup -y -v luksFormat /dev/sdb

and not

cryptsetup -y -v luksFormat /dev/sdb1

After that I used fdisk to create sdb1 and did

cryptsetup -y -v luksFormat /dev/sdb1
cryptsetup luksOpen /dev/sdb1 prod

and

pv -tpreb /dev/zero | dd of=/dev/mapper/prod bs=128M

all this I did through ssh

but :

1. After a time my shell was frozen. Perhaps has ssh a timer ?
2. My HDD did repetitive noises several hours (now that has stopped), even  
after a reboot.

So, my question please : have I to do something to erase what I did with

cryptsetup -y -v luksFormat /dev/sdb

And what is it ?

Have I to do something more, or were the noises of the HDD simple my

pv -tpreb /dev/zero | dd of=/dev/mapper/prod bs=128M

command, even if

ps -a | grep dd

didn't display anything ?


Thanks, best regards,

Amel   :)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-01 21:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-23 10:49 [dm-crypt] mistake with luksFormat A. Kapetanovic
2017-12-23 14:01 ` Arno Wagner
2017-12-23 17:22   ` A. Kapetanovic
2017-12-23 18:16     ` Arno Wagner
2017-12-23 19:23 ` Michael Kjörling
2017-12-24  2:04   ` David Christensen
2017-12-31  0:03     ` Wensday
2018-01-01 21:35       ` H McCurdy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.