xfs
[Top] [All Lists]

RE: XFSDUMP and multiple filesystems on one tape

To: "'Timothy Shimmin'" <tes@xxxxxxxxxxxxxxxxxxxxxxx>, Joshua Baker-LePain <jlb17@xxxxxxxx>
Subject: RE: XFSDUMP and multiple filesystems on one tape
From: "Gonyou, Austin" <austin@xxxxxxxxxxxxxxx>
Date: Tue, 26 Jun 2001 22:59:59 -0500
Cc: "Gonyou, Austin" <austin@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Well, my problem reall is that I just want to know how to do multiple xfs
filesystems dumped to one tape, utilizing xfsdump. I don't want to overwrite
one dump with another. Here is what I'm talking about for example

1. Put a brand new blank tape into the drive
2. xfsdump -f /dev/st0 /
3. <wait....>
4. xfsdump -f /dev/st0 /usr
5. <wait....>
6. xfsdump -f /dev/st0 /home
7. <wait....>
etc...
Will those actions yield a tape which only has the last dump on it, or will
it seek to the end of the last dump, and then start writing? If it does do
that, then I'm set. As I'm led to believe that it does from Steve Lord's
previous post. I just didn't see that behaviour with dump I don't think, so
I'm just skeptical without getting it substantiated first. Thanks for the
feedback. 

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@xxxxxxxxxxxxxxx 

> -----Original Message-----
> From: Timothy Shimmin [mailto:tes@xxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, June 26, 2001 10:43 PM
> To: Joshua Baker-LePain
> Cc: Gonyou, Austin; linux-xfs@xxxxxxxxxxx
> Subject: Re: XFSDUMP and multiple filesystems on one tape
> 
> 
> Hi,
> 
> xfsdump really seems to be written with having tapes with
> only xfs dumps on them.
> It will actually do a rewind to the start and read the xfsdump
> header info. If it can't decipher the header then you're stuffed.
> 
> However, 
> there is a -o option which will allow the non-xfsdump data
> to be overwritten (-F will suppress the confirmation prompt). 
> This option actually stops xfsdump from trying to read the header.
> This will allow one (as Joshua suggested) to fsf to the appropriate
> position and then do the xfsdump to the non-rewinding device.
> One can then (as Joshua suggested) fsf to the correct position
> on the non-rewinding device and do an xfsrestore.
> I have tried this out successfully on IRIX.
> 
> However, you can't put say
> <xfs-dump, tar, ext2-dump, xfs-dump> and do a restore with
> a session label in the 2nd dump and expect xfsrestore to skip
> over the intervening files. However, you could "mt fsf" to
> the start of the 2nd xfs-dump and restore it. 
> 
> I haven't tried this out on the Linux version.
> 
> --Tim
> 
> On Tue, Jun 26, 2001 at 03:11:37PM -0400, Joshua Baker-LePain wrote:
> > On Tue, 26 Jun 2001 at 2:04pm, Gonyou, Austin wrote
> > 
> > > Is that possible? I didn't see any syntax which showed it 
> was. Any ideas on
> > > how to do this would be helpful, or else I guess it's 
> back to tar for me. :)
> > >
> > Just xfsdump to /dev/nst0 (or whatever non-rewinding tape 
> device you want
> > to use).  When one filesystem is done, do the next.
> > 
> > When the time comes to restore 'mt fsf' to the appropriate 
> filemark and
> > then start up xfsrestore.
> > 
> > Or am I missing something?
> > 
> > -- 
> > Joshua Baker-LePain
> > Department of Biomedical Engineering
> > Duke University
> > 
> 

<Prev in Thread] Current Thread [Next in Thread>