gbde and geli - differences
RW
fbsd06 at mlists.homeunix.com
Tue Apr 10 16:55:01 UTC 2007
On Wed, 21 Mar 2007 23:15:50 +0100
Roland Smith <rsmith at xs4all.nl> wrote:
> On Wed, Mar 21, 2007 at 06:33:19PM +0000, RW wrote:
> > How do you attach the dvd content?
> >
> > # geli attach /dev/cd0
> > Cannot read metadata from /dev/cd0: Invalid argument.
> >
> > geli attach -r /dev/cd0
> > Cannot read metadata from /dev/cd0: Invalid argument.
>
> I get the same error. Odd. I thought I used that trick before. It
> definitely works on the USB drives that I use as primary backup (no
> memory disk necessary in that case).
I asked about this in the geom list. It turns out that the md device
needs to have the same sector size as the DVD (2048 bytes). If you
create it like this:
mdconfig -a -t vnode -S 2048 -f imagefile
it all works correctly.
More information about the freebsd-questions
mailing list