Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f913Buq06115 for linux-xfs-outgoing; Sun, 30 Sep 2001 20:11:56 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f913BqD06096 for ; Sun, 30 Sep 2001 20:11:52 -0700 Received: from boing.melbourne.sgi.com (boing.melbourne.sgi.com [134.14.55.141]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id UAA06740 for ; Sun, 30 Sep 2001 20:10:38 -0700 (PDT) mail_from (tes@boing.melbourne.sgi.com) Received: (from tes@localhost) by boing.melbourne.sgi.com (SGI-8.9.3/8.9.3) id DAA35633; Mon, 1 Oct 2001 03:10:26 GMT Date: Mon, 1 Oct 2001 03:10:26 +0000 From: Timothy Shimmin To: Charles Radeke Cc: linux-xfs@oss.sgi.com Subject: Re: xfsdump/restore from cd Message-ID: <20011001031026.L10761@boing.melbourne.sgi.com> References: <3BB47E57.4F936128@hrz.tu-chemnitz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <3BB47E57.4F936128@hrz.tu-chemnitz.de>; from charles.radeke@hrz.tu-chemnitz.de on Fri, Sep 28, 2001 at 03:42:47PM +0200 Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Hi Charles, On Fri, Sep 28, 2001 at 03:42:47PM +0200, Charles Radeke wrote: > > my problem is the following: > > I would like to backup a partition of some GB by burning cd's with > splitted xfsdump , each is 650MB. Is it possible to use a cdrom-drive as > a tape (like/dev/rmt)? and if, how to simulate the tape change? Can't really do this. When dumping to a tape (which uses the drive_scsitape strategy) it send mt commands to the tape device to do tape operations and get status. This aint going to work for a non-tape device. > I saw > that is not possible to xfsrestore splitted dumps step by step, only the > first succseeded (what is clear to me). I wont copy 7 cd's on an empty > drive bevor I can do cat | xfsrestore - / > > Or ist there another solution in general for my problem? I saw that the > -d option is not available for xfsdump like at IRIX-xfsdump where I can > set the size of the media. > This option is available in Linux/XFS too but I don't think this is of use to you. It is for the drive_scsitape strategy where a dump is split into multiple files on tape (media-files). This is so that a bad tape can have the good media files still restored. So what are possible solutions ? (a) try using split(1) to split up the dump output from stdout But this would require room for the split files. (b) write your own drive strategy for xfsdump/xfsrestore :) --Tim