From owner-freebsd-geom@FreeBSD.ORG Mon Dec 18 14:23:06 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 AD90E16A403 for ; Mon, 18 Dec 2006 14:23:06 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D1543CAC for ; Mon, 18 Dec 2006 14:21:24 +0000 (GMT) (envelope-from fbsd06@mlists.homeunix.com) Received: from localhost.localdomain (localhost.localdomain [IPv6:::1]) by gumby.homeunix.com (8.13.6/8.13.6) with ESMTP id kBIDMEib001623 for ; Mon, 18 Dec 2006 13:22:15 GMT (envelope-from fbsd06@mlists.homeunix.com) From: RW To: freebsd-geom@freebsd.org Date: Mon, 18 Dec 2006 13:22:13 +0000 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612181322.13560.fbsd06@mlists.homeunix.com> Subject: 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 14:23:06 -0000 A couple of years ago, I created some DVDs encrypted with gdbe. I used 2 concatenated, file-backed md devices (to avoid the 2GB dvd file limit) and burned them to dvd. The resulting DVD was accessed like this: ---------------------------------------------------------- mount /dvdrw mdconfig -a -t vnode -f /dvdrw/d1 -u 31 mdconfig -a -t vnode -f /dvdrw/d2 -u 32 gconcat create datadvd /dev/md31 /dev/md32 gbde attach /dev/concat/datadvd mount -o ro /dev/concat/datadvd.bde /mnt/dvd ---------------------------------------------------------- The technique worked fine in February 2005, with whatever was the latest release, I haven't used the technique since then until a few days ago, but now I'm having a problem with FreeBSD 6.1. After the mdconfig I get "WARNING: opening backing store: /dvdrw/d1 readonly", which I doubt is the problem. The failure occurs here: # 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.