GELI - disk encryption GEOM class committed.

Mike Tancsa mike at sentex.net
Sun Aug 7 14:05:27 GMT 2005


At 02:52 AM 07/08/2005, Pawel Jakub Dawidek wrote:

>I saw this (I've one hifn here).
>This looks like a bug in hifn(4), it locks up when too many requests are
>sent there.
>Could you try increasing sector size of encrypted provider to eg. 8192?
>(There is '-s' option for 'init' subcommand.)

No difference.  It might even hasten it a little.

[hippo]# geli init -a 3des -s 8192 -K /var/tmp/da2.key /dev/amrd0s1e
Enter new passphrase:
Reenter new passphrase:
[hippo]# geli attach -k /var/tmp/da2.key /dev/amrd0s1e
Enter passphrase:
[hippo]# newfs /dev/amrd0s1e.eli
mount /dev/amrd0s1e.eli /mnt
/dev/amrd0s1e.eli: 1024.0MB (2097136 sectors) block size 16384, fragment 
size 8192
         using 4 cylinder groups of 256.00MB, 16384 blks, 8192 inodes.
super-block backups (for fsck -b #) at:
  160, 524448, 1048736, 1573024
[hippo]# mount /dev/amrd0s1e.eli /mnt
[hippo]#
[hippo]# bonnie  -s 300 -d /mnt
File '/mnt/Bonnie.561', size: 314572800
Writing with putc()...


[hippo]% iostat -c 1000
       tty           amrd0            pass0             cpu
  tin tout  KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
    0    2  4.66  12  0.06   0.00   0  0.00   0  0  0  0 99
    0  179  0.00   0  0.00   0.00   0  0.00   0  0  0  0 100
    0   61  0.00   0  0.00   0.00   0  0.00   0  0  0  0 100
    1  127 73.87  15  1.08   0.00   0  0.00   2  0  3  1 94
    0   60 128.00  18  2.24   0.00   0  0.00   2  0  3  0 94
    0   61 128.00  17  2.12   0.00   0  0.00   2  0  3  1 93
    0   61 128.00  18  2.24   0.00   0  0.00   2  0  3  1 94
    0   61 128.00  17  2.12   0.00   0  0.00   2  0  3  1 94
<hangs here> 



More information about the freebsd-current mailing list