-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Benjamin Dickgiesser wrote: > Hi, > > I have a raid 0 consisting out of two partitions setup to /dev/md1. > Now I want to encrypt to encrypt this raid partition. How would I go > about that? > > Would I simply do: > > cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/md1 > cryptsetup luksOpen /dev/md1 md1 > mkfs.ext3 /dev/mapper/md1 > mount /dev/mapper/md1 /mnt > > I tried something similar (following > http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS > ) just now and everything worked fine until I unmounted /dev/md1. When > I wanted to mount the partition again I got the message: special > device /dev/md1 does not exist. > > So I am not sure what went wrong. You missed part of the path. As you already did the right way earlier, the path is /dev/mapper/md1, not /dev/md1. Greetings, Benjamin - -- _ _ _ _ _ | \| |___| |_| |_ __ _ __| |__ | .` / -_) _| ' \/ _` / _| / / |_|\_\___|\__|_||_\__,_\__|_\_\ | | (_)_ _ _ ___ __ | |__| | ' \ || \ \ / |____|_|_||_\_,_/_\_\ Play Nethack anywhere with an x86 computer: http://www.crash-override.net/?nethacklinux -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFEZKUWr0OTeImXvg8RAoIrAJ480YeFe9qtcI/vRdSZiqgqSpLbNACfeH1B Dm726BPD3T58KVKopTRoyDw= =Fi1M -----END PGP SIGNATURE----- --------------------------------------------------------------------- - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx