Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 17:52:28 +0300
From:      icameto icameto <icameto@gmail.com>
To:        freebsd-geom@freebsd.org
Subject:   GELI Passphrase changing
Message-ID:  <CAMve_NOAjS0xyVa_9XAtkHnw7RzfjV3mLyk4esor65A_mvih8w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.


Is there anyone can help me ?

Thanks in advance
Sincerely



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMve_NOAjS0xyVa_9XAtkHnw7RzfjV3mLyk4esor65A_mvih8w>