How to FSCK GEOM GELI image

Greg Rivers gcr+freebsd-geom at tharned.org
Wed Sep 10 16:24:25 UTC 2008


On Wed, 10 Sep 2008, Michael Jung wrote:

> [snip]
> (root at 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


More information about the freebsd-geom mailing list