Geli Encrypted DVDs

miggir droguinhood at gmail.com
Fri Jun 8 16:37:12 UTC 2007


Hi,

After following -good enough, i hope- previous guidelines in this list
and freebsd-questions, i still can't attach the cd/dvd.

novastorm# geli attach -r /dev/acd0
Cannot read metadata from /dev/acd0: Input/output error.

novastorm# geli dump /dev/acd0
Cannot read metadata from /dev/acd0: Input/output error.
Not fully done.

novastorm# ls -l test.iso
-rw-r--r--  1 root  wheel  104857600 Jun  7 19:47 test.iso

novastorm# diskinfo -v /dev/acd0
/dev/acd0
        2048            # sectorsize
        104861696       # mediasize in bytes (100M)
        51202           # mediasize in sectors

And for the image's memory disk:
novastorm# geli dump /dev/md0
Metadata on /dev/md0:
     magic: GEOM::ELI
   version: 3
     flags: 0x0
     ealgo: AES-CBC
    keylen: 256
  provsize: 104857600
sectorsize: 2048
      keys: 0x01
iterations: 410897
      Salt:
39de2278d5e6658931d53582d385419002122a21f44d084a62c13e3ad7b478170aaebe2973274d2588900d81dadd67fa84e8b766909a7cd3c3cdb188ba89d934
Master Key:
7830f4110f8a7d879a183354ec99654cb56c8a3dd016eb938cbaf1c590d097b4c0e1f350607e59c7932fa8d02c15c1ad37787252ab205dbd9de340a527d501accec75a3cfdda6e3f667ffca9261fbac11a42ed6211b7a0345af329bc019794352cccf1898fe910f734548ca47cf183289a50573ac8e0cc51f8d3546131c2704da64b659faa8e758b76e7445b0cce262b94064dca52850b194fdc601feba4ca1c824577155bf2dc6c93e4bca72d5a9504546090765259090f03c12cd670152d81025bf6feec9620ebe7b7db511750fe1b90c8a2da7ce4c85b098403ad264869cef2e4a4a6b1bbc833946d1418a7493bf6359b415d2a9ec13b5e7abfc21809632d69976ca7e1813314e43db9ef68d369682a61523e760f9a6d8abc01e116a706307100722fb63366c93f40d5f6e7ea65846269a1a76fe80a42e850be155ad33ffcc59bb60c9b973b4f4ebcb9a48dd8d6b0d4fd6c8c78daaffe9ef96866f7ebcaf293fa3fc2d813345a2e0df5bc2944c83a9d38ffc3bfe9c0e3cc5acae4278c6796
  MD5 hash: 753faf1ed721cc6c0352c963c94410e6

I don't know if it's relevant, but just in case, i created the image
file with:

novastorm# dd if=/dev/zero of=test.iso bs=1m count=100
novastorm# mdconfig -a -t vnode -f test.iso -S 2048 -u 0
novastorm# geli init -l 256 -s 2048 /dev/md0
novastorm# geli attach /dev/md0
novastorm# newfs -O 1 /dev/md0.eli

and wrote it with # burncd data test.iso fixate

So assuming i didn't do anything wrong yet... what could i try now?

-M


More information about the freebsd-geom mailing list