From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 07:00:07 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C92C106566B for ; Fri, 23 Jan 2009 07:00:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id E34068FC0A for ; Fri, 23 Jan 2009 07:00:06 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n0N70X6c029036; Thu, 22 Jan 2009 23:00:34 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 22 Jan 2009 22:59:49 -0800 (PST) Date: Thu, 22 Jan 2009 22:59:49 -0800 From: Gary Kline To: cpghost Message-ID: <20090123065949.GA96433@thought.org> References: <20090123011043.GA86638@thought.org> <20090123014001.GA2536@phenom.cordula.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090123014001.GA2536@phenom.cordula.ws> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: how to create a DVD backup filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 07:00:07 -0000 On Fri, Jan 23, 2009 at 02:40:01AM +0100, cpghost wrote: > On Thu, Jan 22, 2009 at 05:10:46PM -0800, Gary Kline wrote: > > Guys, I've got several directories off ~kline/ that I want to > > store permanently. Like all my development code in ~/devel, and > > all my music mp3's and ogg's in ~/Music, and all my online and > > mp3 books from libribox.org in ~/readings. There are PDF files > > and HTML and a slew of other stuff. > > > > Can I use K3B or some other GUI program to create a filesystem on > > either a few CD's or one DVD? Right now, I'm cross-backing up > > stuff to four live servers. It's just data, but I would like to > > be able to inset it into my optical tray, cd to it and cd to > > wherever and read or listen to AND (if some disaster strikes) be > > able to copy my files from the disc to the computer. > > > > I think I figured out how to create a tiny filesystem on a floppy > > disc, but this was a Long time ago. Anything "push-button"? > > Perhaps there is something like that, but I do it manually like this: > > * mkdir cdr/ > * copy approx 3.0 to 3.1 GB worth of files into cdr/ You mean, I'm guessing, my devel files/subsirs, Music files, and other text and data, correct? > * mkisofs -R -J -o cdr.iso cdr/ > > Then use dvdisaster (/usr/ports/sysutils/dvdisaster) to > augment cdr.iso with RS02 error correction data. This creates > a bigger cdr.iso of 4.4GB ISO with approx 32% to 40% redundancy, > which is quite good. It is building as I write; thanks for the clue:-) Anything with error correction has to be a win. > > Now, burn it to DVD: > > * growisofs -dvd-compat -speed=8 /dev/cd0=cdr.iso > > and make sure your system is as (disk-)idle as possible while > burning. Sure. Common-sense. > > To use growisofs, install it from /usr/ports/sysutils/dvd+rw-tools. > You may need to > > # kldload atapicam > > so that you can get /dev/cd0. Don't forget that you need write > permission to /dev/cd0 and /dev/pass0, so either run growisofs > as root, or add this to /etc/devfs.rules: > > perm cd0 0666 > perm pass0 0666 > > and restart devfs (/etc/rc.d/devfs restart). I set this up at least *three* times. .... > > After having burned the DVD, eject it, and insert it again. Then read > it back in with dvdisaster (to some OTHER directory!), and verify the > integrity of the backup (with dvdisaster). That's an important step, > as you can never be sure that the burning was flawless, unless you > were able to read it back in without faulty sectors. Will do. > > If you plan to archive the DVDs, be sure to schedule some date in > a couple of years ahead to read them back in and verify their > condition. If some of those DVDs developed bad sectors, you could > then try to reconstruct those with dvdisaster (but only if you created > the error correction data before burning!), and burn a new DVD. I'm planning on burning a new DVD every few months; storing off-site. Probably recycling some discs. > > Oh, and try to stick to good DVD blanks like Taiyo Yuden or Verbatim > (only those made in Taiwan or Japan) to minimize the risk of bad > sectors (i.e. especially avoid no-names or el-cheapo blanks). > > You can also do without dvdisaster, and write more than 3 GB to the > DVDs, but if you plan to archive them and be able to read them a few > years ahead, you'll highly value the error correction codes > overhead. ;) Oh, and you'll still have to read the data back after > burning, just to be sure everything's okay. Some kind of checksums > (md5, sha256) of the directories would be useful, so plan ahead > and add them before creating the ISO. I'll have checksums Plus usin the dvdisaster, :-) [[ i actually did this in the 90's with my floppies; when the CRC failed i knew a floppy had gone south. ]] > > Note that all this is possibly already integrated in K3B or some > other fancy GUI front-ends, or it may not: I'm not familiar with > the GUI tools. > k3b IS probably the most likely tool to automate this, but it's a bit too simple for me to figure out. I want to wind up with a DVD that I can mount, cd into, and cd around within. That is my particular gotcha. So if anybody can teach me how to create a mountable/umountable DVD that would be a _filesystem_, using K3B, that might be helpful. thanks for your insights, gary > > tia, > > > > gary > > Regards, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php