Re: GELI - disk encryption GEOM class committed.

From: Mike Tancsa <mike_at_sentex.net>
Date: Sun, 07 Aug 2005 10:07:52 -0400
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> 
Received on Sun Aug 07 2005 - 12:05:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC