Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 17:54:56 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Cc:        Roland Smith <rsmith@xs4all.nl>
Subject:   Re: gbde and geli - differences
Message-ID:  <20070410175456.3b2b6f89@gumby.homeunix.com>
In-Reply-To: <20070321221550.GB72124@slackbox.xs4all.nl>
References:  <20070320190305.O29971@chylonia.3miasto.net> <20070320223619.6c18cd08@gumby.homeunix.com> <20070320231504.GB38069@slackbox.xs4all.nl> <20070321001321.5dea258f@gumby.homeunix.com> <20070321070251.GA50637@slackbox.xs4all.nl> <20070321183319.72ceab4c@gumby.homeunix.com> <20070321221550.GB72124@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Mar 2007 23:15:50 +0100
Roland Smith <rsmith@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070410175456.3b2b6f89>