xfs
[Top] [All Lists]

RE: using xfsdump to synchronise filesystems?

To: Matthijs van der Klip <matthijs.van.der.klip@xxxxxx>
Subject: RE: using xfsdump to synchronise filesystems?
From: Steve Lord <lord@xxxxxxx>
Date: 06 Dec 2001 08:54:59 -0600
Cc: "'ivanr@xxxxxxx'" <ivanr@xxxxxxx>, Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <35F87783B600D411A1430060943F469A589731@EXCHANGE>
References: <35F87783B600D411A1430060943F469A589731@EXCHANGE>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 2001-12-06 at 02:31, Matthijs van der Klip wrote:
> On Thu, 6 Dec 2001, Ivan Rayner wrote:
> > I don't think xfsdump is a very good choice here.  xfsdump will scan the
> > entire filesystem every time you run it, even if you select a higher level
> > dump.  I doubt that for a 10GB filesystem it will be able to run to
> > completion within 5 minutes ('course this depends on your circumstances).
> 
> Ah, this is information I needed. I already wondered if xfsdump did a scan
> or something more intelligent.
> 
> BTW I can do a level 2 xfsdump of a 20Gb filesystem in around 80 secs. This
> was timed on a filesystem with around 300.000 files.

XFS does have a special interface to walk the inodes in the filesystem
without walking through all the directories, this is called bulkstat
and it is used by dump. This is why it can scan the filesystem so fast.

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


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