From owner-freebsd-questions@FreeBSD.ORG Sun Aug 19 13:14:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D7B416A418 for ; Sun, 19 Aug 2007 13:14:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id B455C13C46C for ; Sun, 19 Aug 2007 13:14:27 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id l7JDEEP4015214; Sun, 19 Aug 2007 15:14:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id l7JDEDUa015211; Sun, 19 Aug 2007 15:14:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 19 Aug 2007 15:14:13 +0200 (CEST) From: Wojciech Puchar To: DSA - JCR In-Reply-To: <1591.84.18.13.122.1184151051.squirrel@llca513-a.servidoresdns.net> Message-ID: <20070819151243.D15146@wojtek.tensor.gdynia.pl> References: <1591.84.18.13.122.1184151051.squirrel@llca513-a.servidoresdns.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: GELI cripto USB disk and fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2007 13:14:28 -0000 > > FreeBSD 6.2 i386 > > I have an USB disk cryptografied with GELI in order to get external backup > copies of an enterprise. > > All work fine till somebody (not me ;D), reboot the computer (I think so) > without unmounting the disk and then I get two things: > > 1.- The main filesystem / get overfilled, it was 108% used !! because the > USB disk files were in the mounted directory (/usb2). My question is, how > is this possible? it was full and more, where were the files?? simply use -m 0 when doing newfs. it's probably just full :) now do tunefs -m 0 -A /dev/disk.eli to not be confused next time. > > I reboot the system after delete the files in the /usb2 directory, i > prefer to save the / filesystem. > > 2.- When I try to mount (after this) the USB disk it says that I must use > fsck because thera are problems in the disk (logic), but I don't find any > utility to run a fsck in a GELI cryptografied disk (or without crypto). simply attach it with geli and then fsck.