From owner-freebsd-geom@FreeBSD.ORG Wed Sep 10 16:24:25 2008 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 876491065692 for ; Wed, 10 Sep 2008 16:24:25 +0000 (UTC) (envelope-from gcr+freebsd-geom@tharned.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 6580C8FC15 for ; Wed, 10 Sep 2008 16:24:25 +0000 (UTC) (envelope-from gcr+freebsd-geom@tharned.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id CySb1a00F16AWCUA948RPT; Wed, 10 Sep 2008 16:08:25 +0000 Received: from packrat.tharned.org ([75.145.12.185]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id D48M1a00M3zZBGT8S48Qvs; Wed, 10 Sep 2008 16:08:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=SbD4DCLfUV8fTMdKc-sA:9 a=YVLHBmxIezYvC1RvkI4R8zBxQOMA:4 a=LY0hPdMaydYA:10 Received: from packrat.tharned.org (11008@localhost [127.0.0.1]) by packrat.tharned.org (8.14.2/8.14.2) with ESMTP id m8AG8JhO090275; Wed, 10 Sep 2008 11:08:19 -0500 (CDT) (envelope-from gcr+freebsd-geom@tharned.org) Received: from localhost (gcr@localhost) by packrat.tharned.org (8.14.2/8.14.2/Submit) with ESMTP id m8AG8Hpq090272; Wed, 10 Sep 2008 11:08:19 -0500 (CDT) (envelope-from gcr+freebsd-geom@tharned.org) Date: Wed, 10 Sep 2008 11:08:16 -0500 (CDT) From: Greg Rivers To: Michael Jung In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-geom@freebsd.org Subject: Re: How to FSCK GEOM GELI image 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: Wed, 10 Sep 2008 16:24:25 -0000 On Wed, 10 Sep 2008, Michael Jung wrote: > [snip] > (root@firewall) /home/staff/mikej/bin# fsck /dev/md0c.eli > > fsck: Could not determine filesystem type > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > That's because there's no label on that volume. Give it the type with '-t': fsck -t ufs /dev/md0c.eli Note that this has nothing to do with geli per se; fsck behaves this way with any unlabeled volume. You might want to run in preen mode instead of answering "yes" or using '-y'. This will safely fix all non-critical errors automatically: fsck -t ufs -fp /dev/md0c.eli -- Greg