Hi,
I encrypted my /opt partition with ZFS and GELI. Everything is okay but when I try to change the password I can't get a successful result. In addition I can not find any article about this, How can I change the password after encrypting the disk?
I tried this command:
The disk got attached and everything is ok. Then I try to change the password:
No error but when I try to decrypt after a reboot, the password is valid 
The password can not change. Show me the way or an article about changing the password and passphase on GELI.
Edit;
I tried this code:
After starting up FreeBSD 8.3:
The new password is valid, but the disk is UNAVAIL
I encrypted my /opt partition with ZFS and GELI. Everything is okay but when I try to change the password I can't get a successful result. In addition I can not find any article about this, How can I change the password after encrypting the disk?
I tried this command:
Code:
# geli attach -k /dev/da1
# zfs mount -a
The disk got attached and everything is ok. Then I try to change the password:
Code:
# geli detach -f /dev/da1
# geli setkey -k /root/keys/boot.key -n 1 /dev/ad1
# reboot

The password can not change. Show me the way or an article about changing the password and passphase on GELI.
Edit;
I tried this code:
Code:
# zfs unmount -a
# geli detach -f /dev/ad1
# geli setkey -k /root/keys/boot.key -n 1 /dev/ad1
# geli init -b -K /root/keys/boot.key -s 4096 -l 256 /dev/ad1
# reboot
After starting up FreeBSD 8.3:
Code:
# geli attach -k /root/keys/boot.key /dev/ad1
# zfs mount -a
The new password is valid, but the disk is UNAVAIL

Code:
zpool status
pool: tank
state: UNAVAIL
status: One or more devices could not be opened. There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-3C
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank UNAVAIL 0 0 0
17471190731841604180 UNAVAIL 0 0 0 was /dev/ad1.eli