On Tue, 26 Jun 2012 17:52:28 +0300 icameto icameto wrote: > Hi everyone, > > I d like to ask you a question about geli and pasphrase changing. > > # dd if=/dev/random of=/root/da1.key bs=64 count=1 > > # geli init -s 4096 -K /root/da1.key /dev/da1 > > # geli attach -k /root/da1.key /dev/da1 > > How can I change the passphrase for my GELI device? Please give me an > advice. I have not change the old key file . When I enter this > command, I get an error . > > # geli setkey -k /etc/geli/da1.key /dev/da1.eli > geli: Cannot read metadata from /dev/da1.eli: Invalid argument.
That should probably be -K. You've already attached the device so you don't need the old passphrase or keyfile. _______________________________________________ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"