geli on r221012

Anton Yuzhaninov citrin at citrin.ru
Mon Apr 25 13:32:08 UTC 2011


Geli no longer works for me after upgrade to r221012.

# geli attach -k ~citrin/private.key /dev/label/spool2
Enter passphrase:
#

from dmesg:
GEOM_ELI: Device label/spool2.eli created.
GEOM_ELI: Encryption: Blowfish-CBC 128
GEOM_ELI:  Integrity: HMAC/MD5
GEOM_ELI:     Crypto: software

# dd if=/dev/label/spool2.eli of=/dev/null
dd: /dev/label/spool2.eli: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000669 secs (0 bytes/sec)
# geli status
            Name  Status  Components
label/spool2.eli  ACTIVE  label/spool
# geli list
Geom name: label/spool2.eli
State: ACTIVE
EncryptionAlgorithm: Blowfish-CBC
KeyLength: 128
AuthenticationAlgorithm: HMAC/MD5
Crypto: software
UsedKey: 0
Flags: AUTH
KeysAllocated: 125
KeysTotal: 125
Providers:
1. Name: label/spool2.eli
   Mediasize: 59545088000 (55G)
   Sectorsize: 4096
   Mode: r0w0e0
Consumers:
1. Name: label/spool2
   Mediasize: 66988228096 (62G)
   Sectorsize: 512
   Mode: r1w1e1

-- 
WBR,
 Anton Yuzhaninov



More information about the freebsd-current mailing list