From owner-freebsd-current@FreeBSD.ORG Fri Apr 24 06:27:11 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C520F12C for ; Fri, 24 Apr 2015 06:27:11 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E6A61B1A for ; Fri, 24 Apr 2015 06:27:11 +0000 (UTC) Received: by wizk4 with SMTP id k4so9848442wiz.1 for ; Thu, 23 Apr 2015 23:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:date:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=O7SZ7g/uCC1/M7jitrWbZ9jLED5KUYIBXGlu4acSlXw=; b=mP55lbZ2I83eKnMRfGNKMeKXKCBkJfFE/kqKzYVImMaEUA3kQhUIvbC/Bme1D3L63G jekMKEwCLrYKGkwDRero+2UOdMlUxyGKLZygNelj4f+RLm29FGQLmrLTKbCDrNEvLOB8 bxHmM9PGI4UWPK8g1Bq1xy7VdL9J1bpLlKSDJlrrFLe07HCQgzAYEhFvRG6cMOCPTHvE gOuDjEhzAo873VdIBMcJsl4vKI43468A4yz+zOUad0CzaC3TNIJn8Ven236Mnuk85S69 g20i2iQrVL1BN/XO3QOr0JOAnCs0HcaTtyJ1gFjnt5R2hW22EIhFJcpsshRhcoCrZA3Z IF1g== X-Received: by 10.180.74.144 with SMTP id t16mr832848wiv.33.1429856829835; Thu, 23 Apr 2015 23:27:09 -0700 (PDT) Received: from pumpkin.growveg.org (pumpkin.growveg.org. [62.49.247.162]) by mx.google.com with ESMTPSA id 16sm15447888wjs.41.2015.04.23.23.27.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 23:27:09 -0700 (PDT) From: John X-Google-Original-From: John Message-ID: <5539E23C.4060804@googlemail.com> Date: Fri, 24 Apr 2015 07:27:08 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: geli partition accepts passphrase but will not mount Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 24 Apr 2015 11:28:43 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 06:27:11 -0000 Hello, I'm running 11.0-CURRENT #0 r281867. I've followed the instructions given at https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html section 18.12.2. I was able to create the encrypted slice and mount it. I transferred some documents to that drive for safekeeping and unmounted it. Updated the machine and added these lines to the kernel: options GEOM_ELI device crypto but before I could rebuild the system later, it (some hours after this) went into a hard lock. Powering off then on again rebooted the system and from there I was able to run buildworld and friends. Rebooted again, now trying to mount the disk: root@:~ # geli attach -k /root/da0p1.key /dev/da0p1 Enter passphrase: root@:~ root@:~ geli status Name Status Components da0p1.eli ACTIVE da0p1 Trying to mount it, this happens: root@:~ # mount /dev/da0p1.eli /mnt mount: /dev/da0p1.eli: Invalid argument I think this needs fsck but I get root@:~ # fsck -p -t ffs /dev/da0p1.eli Cannot find file system superblock What can I do? thanks, -- John