USB disk cryptographied with GELI and fsck
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]
Re: USB disk cryptographied with GELI and fsck
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
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]
Re: Geli and fsck
User1001 wrote: Nowhere in the Handbook nor the MANual pages is there any mention of how to handle a situation where it is necessary to perform a file system check (FSCK) on the encrypted partition (provider?). How is it any different than the other cases? You make the unencrypted data available (the same as, for example, making a RAID device available), then you fsck it. signature.asc Description: OpenPGP digital signature
Geli and fsck
Nowhere in the Handbook nor the MANual pages is there any mention of how to handle a situation where it is necessary to perform a file system check (FSCK) on the encrypted partition (provider?). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Geli and fsck
On Sunday 15 April 2007 18:05, User1001 wrote: Nowhere in the Handbook nor the MANual pages is there any mention of how to handle a situation where it is necessary to perform a file system check (FSCK) on the encrypted partition (provider?). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I ran across this too as I just started using geli. I mount the partition with the following script. I added fsck, inspired from the gbde section of the handbook: geli attach -k /root/ad5s4f.key /dev/ad5s4f fsck -p -t ffs /dev/ad5s4f.eli mount /dev/ad5s4f.eli /backup Geli is awesome in my experience for slices and swap. HTH, Eric Buchanan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]