From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 11:44:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B2DF16A400 for ; Wed, 11 Jul 2007 11:44:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 985C913C43E for ; Wed, 11 Jul 2007 11:44:31 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id l6BBiTWc063518; Wed, 11 Jul 2007 13:44:29 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id F2A30B822; Wed, 11 Jul 2007 13:44:28 +0200 (CEST) Date: Wed, 11 Jul 2007 13:44:28 +0200 From: Roland Smith To: DSA - JCR Message-ID: <20070711114428.GA78340@slackbox.xs4all.nl> Mail-Followup-To: DSA - JCR , freebsd-questions@freebsd.org References: <1591.84.18.13.122.1184151051.squirrel@llca513-a.servidoresdns.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <1591.84.18.13.122.1184151051.squirrel@llca513-a.servidoresdns.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner 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: Wed, 11 Jul 2007 11:44:32 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 11, 2007 at 10:50:51AM -0000, DSA - JCR wrote: > HI all >=20 > FreeBSD 6.2 i386 >=20 > I have an USB disk cryptografied with GELI in order to get external backup > copies of an enterprise. >=20 > All work fine till somebody (not me ;D), reboot the computer (I think so) > without unmounting the disk and then I get two things: >=20 > 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?? A part of the filesystem is reserved for the root user. If that part is used, it is >100%. I don't think that it is because of where the USB disk was mounted. Mounting a filesystem under / does not make its files part of /! =20 > I reboot the system after delete the files in the /usb2 directory, i > prefer to save the / filesystem. >=20 > 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). > What can I do? I haven't see nothing in the handbook or man pages about > fsck on GELI disks. You have to attach the GELI disk first. If this disk is listed in /etc/fstab, this will be done at boot. If not, do 'geli attach /dev/daX' where X is the number of the disk. After that, you should fsck /dev/daX.eli, _not_ /dev/daX! > 3.- Also, I have a problem after this, when I try to use smbutil to > connect to Windows computers, i can't, i get an kernel error saying that > "smb_util_xxx is not in the kernel" (something like that, I don't have > here the exact message now). How can I correct this? At a guess, I think that the SMB filesystem isn't compiled into the kernel, and you need to load the smbfs kernel module; 'kldload smbfs'. If you want to load it automatically at boot, add 'smbfs_load=3D"YES"' to /boot/loader.conf. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGlMKcEnfvsMMhpyURAhymAKCuxQ0pADN+ShzCb5TWs1QbBsSTVwCgnoB+ /isnBsUC16LrkEGbcll2wmA= =iisv -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--