USB disk cryptographied with GELI and fsck

Fabian Keil freebsd-listen at fabiankeil.de
Fri Jul 13 15:20:32 UTC 2007


"DSA - JCR" <juancr at dsa.es> wrote:

> I have a problem with an USB disk that I cryptographied with GELI.
> It says that I must run fsck when I try to mount it.
> 
> I used the command
> 
> cat key1 key2 | geli -k - attach /dev/da1
> 
> when I try to mount it
> 
> mount /dev/da1.eli /usb2
> 
> I get an error saying that I need to run fsck in the disk.
> 
> Ok, How can I run fsck in this USB GELI disk?
> 
> i have used after attached the GELI disk as before
> 
> fsck /dev/da1.eli
> 
> and also
> 
> fsck -t geli /dev/da1.eli
> 
> and always I get the same
> 
> fsck doesn't recognaize the filessytem in the disk
> 
> 
> what must I do?

Use fsck_ffs (or specify ffs with fsck's -t option).

Fabian 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070713/257fc31f/signature.pgp


More information about the freebsd-questions mailing list