Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2007 13:44:28 +0200
From:      Roland Smith <>
To:        DSA - JCR <>
Subject:   Re: GELI cripto USB disk and fsck
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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
> 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??

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 /!
> 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).
> 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.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v2.0.4 (FreeBSD)



Want to link to this message? Use this URL: <>