From owner-freebsd-geom@FreeBSD.ORG Mon Dec 18 17:25:45 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 463B516A4B3 for ; Mon, 18 Dec 2006 17:25:45 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7A5143CB2 for ; Mon, 18 Dec 2006 17:24:08 +0000 (GMT) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by turtle-in.mxes.net (Postfix) with ESMTP id EBC7A105B1 for ; Mon, 18 Dec 2006 12:01:31 -0500 (EST) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id C716A51982 for ; Mon, 18 Dec 2006 12:01:23 -0500 (EST) From: RW To: freebsd-geom@freebsd.org Date: Mon, 18 Dec 2006 17:01:21 +0000 User-Agent: KMail/1.9.4 References: <200612181322.13560.fbsd06@mlists.homeunix.com> <20061218142830.GE73800@garage.freebsd.pl> In-Reply-To: <20061218142830.GE73800@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612181701.21543.fbsd06@mlists.homeunix.com> Subject: Re: gconcat/gbde DVD encryption problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2006 17:25:45 -0000 On Monday 18 December 2006 14:28, Pawel Jakub Dawidek wrote: > On Mon, Dec 18, 2006 at 01:22:13PM +0000, RW wrote: > > # gbde attach /dev/concat/datadvd > > Enter passphrase: > > gbde: Attach to concat/datadvd failed: could not access consumer > > > > > > The same problem exists on a newly created disk, so it probably not > > corruption. And if I copy the two file to hard disk it works. It just > > seems to be a problem when they are on the DVD. > > > > Any ideas on how to fix this. I'm not particularly bothered about the > > existing disks, but I'd like to create some new ones. > > The problem is because gbde(4) tries to open provider read-write, which > is not possible with CD-ROMs. You can work-around it by doing: > > (insert 1st CD) > # dd if=/dev/acd0 of=/dvdrw/d1 bs=1m > (insert 2nd CD) > # dd if=/dev/acd0 of=/dvdrw/d2 bs=1m > # mdconfig -a -f /dvdrw/d1 -u 31 > # mdconfig -a -f /dvdrw/d2 -u 32 > # gconcat create datadvd /dev/md31 /dev/md32 > # gbde attach /dev/concat/datadvd Actually there are no CDs involved, it's a DVD-R with two big files on it, to work around the 2GB filesize limit on ISO 9660 filesystems. I'm aware that I can work around it by copying the files to a hard disk, but two years ago this worked with the data on the DVD without any problems.