Hello, Iv been playing around with geli, and it seems that the geli -a (aalgo) option is completely broken. FreeBSD U1 10.2-BETA2 FreeBSD 10.2-BETA2 #0 d85d061(stable/10): Thu Jul 23 12:14:53 EDT 2015 ricky@S1:/usr/obj/usr/src/sys/MYKERNEL amd64 to recreate -# gpart create -s gpt /dev/da0# gpart add -t freebsd-boot -a 4096 -b 4096 -s +1G da0# gpart add -t freebsd-zfs -a 4096 da0 ### note, using -b 4096 returns gpart: autofill: No space left on device, I think this is a bug as well however off topic.# geli init -e AES-XTS -a HMAC/SHA256 /dev/da0p2 # note, also tried HMAC/MD5, HMAC/SHA1# geli attach /dev/da0p2# ls /dev/da*/dev/da0 /dev/da0p1 /dev/da0p2 /dev/da0p2.eli# newfs /dev/da0p2.eli/dev/da0p2.eli: 14318.0MB (29323256 sectors) block size 32768, fragment size 4096 using 23 cylinder groups of 626.09MB, 20035 blks, 80256 inodes.newfs: can't read old UFS1 superblock: read error from block device: Invalid argument
The only way to use geli with the -a option, seems to be as swap and it works perfectly.# cat /etc/fstab/dev/mirror/ssdswap.eli none swap sw,aalgo=HMAC/SHA256,ealgo=AES-XTS,keylen=256,sectorsize=4096 0 0# swapinfoDevice 1K-blocks Used Avail Capacity/dev/mirror/ssdswap.eli 3728268 44 3728224 0% _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"