Date: Sun, 26 Jul 2015 16:16:53 -0400 From: Ricky G <ricky1252@hotmail.com> To: "freebsd-bugs@freebsd.org" <freebsd-bugs@freebsd.org> Subject: geli -a option broken Message-ID: <SNT146-W396D84C038A5A86DFC1CC6A18F0@phx.gbl>
next in thread | raw e-mail | index | archive | help
Hello=2C Iv been playing around with geli=2C 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 4= 096 -b 4096 -s +1G da0# gpart add -t freebsd-zfs -a 4096 da0 ### note=2C= using -b 4096 returns gpart: autofill: No space left on device=2C I think = this is a bug as well however off topic.# geli init -e AES-XTS -a HMAC/SHA2= 56 /dev/da0p2 # note=2C also tried HMAC/MD5=2C HMAC/SHA1# geli attach /de= v/da0p2# ls /dev/da*/dev/da0 /dev/da0p1 /dev/da0p2 /dev/da0p2= .eli# newfs /dev/da0p2.eli/dev/da0p2.eli: 14318.0MB (29323256 sectors) bloc= k size 32768=2C fragment size 4096 using 23 cylinder groups of 626.09MB=2C = 20035 blks=2C 80256 inodes.newfs: can't read old UFS1 superblock: read erro= r from block device: Invalid argument The only way to use geli with the -a option=2C seems to be as swap and it w= orks perfectly.# cat /etc/fstab/dev/mirror/ssdswap.eli none swap= sw=2Caalgo=3DHMAC/SHA256=2Cealgo=3DAES-XTS=2Ckeylen=3D256=2Csectorsize= =3D4096 0 0# swapinfoDevice 1K-blocks Used = Avail Capacity/dev/mirror/ssdswap.eli 3728268 44 3728224 0% = =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SNT146-W396D84C038A5A86DFC1CC6A18F0>