Re: USB disk cryptographied with GELI and fsck

2007-07-13 Thread Fabian Keil
"DSA - JCR" <[EMAIL PROTECTED]> 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 


signature.asc
Description: PGP signature


Re: USB disk cryptographied with GELI and fsck

2007-07-13 Thread RW
On Fri, 13 Jul 2007 14:16:25 - (GMT)
"DSA - JCR" <[EMAIL PROTECTED]> wrote:

> HI all again
> 
> FreeBSD 6.2 i386
> 
> 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

You need to specify a filesystem, geli is not a filesystem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB disk cryptographied with GELI and fsck

2007-07-13 Thread DSA - JCR
HI all again

FreeBSD 6.2 i386

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?

Must I erase the disk and begin again?
I think that must be a fsck for GELI disk crypto or not.





Thanks in advance

Sincerely

Juan Coruña
Desarrollo de Software Atlantico



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"