From owner-freebsd-geom@FreeBSD.ORG Tue Jun 26 14:52:30 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D197106564A for ; Tue, 26 Jun 2012 14:52:30 +0000 (UTC) (envelope-from icameto@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B1A148FC16 for ; Tue, 26 Jun 2012 14:52:29 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so5093889wgb.31 for ; Tue, 26 Jun 2012 07:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mwB2haVzpVdJZsYw7IyCCLtvMxWzqllMdKKAIEbnQ+8=; b=WFklzSQQx5qJL5uDtBEsnJVwBmfB44FxyH2HlLqpfsoA1fEb9syAgTpIUTzzR18940 l8SusnYZD6cPCRoTbnXbO8FDbVoP3WuiR5Bok1Sw+1IE+UAa8iAM2RX31ADAl/PPRf47 80rPai7IIFoOzib+vZxbGSab/rlxF1TW+FSq16uOD1KvXX/iQm892Y4OqURr+MRXjJR9 vdcVYUIsH2c0nWm808QKj7z0DGPZ74XoOELFopccEVaor0sa19/dO4ZKm71c6Ww+GpDs WzD7HNsUhIZmZ4RSEtGpnh8yJRmR5l41c/EvGFSrYe2eLd9TV3Tc9mi4O6r8XyDOB0Qz jPRA== MIME-Version: 1.0 Received: by 10.216.203.80 with SMTP id e58mr8203459weo.41.1340722348372; Tue, 26 Jun 2012 07:52:28 -0700 (PDT) Received: by 10.216.224.228 with HTTP; Tue, 26 Jun 2012 07:52:28 -0700 (PDT) Date: Tue, 26 Jun 2012 17:52:28 +0300 Message-ID: From: icameto icameto To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: GELI Passphrase changing X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 14:52:30 -0000 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