Dumping a remote Filesystem

Tony Dietrich td at transoft.demon.co.uk
Wed Dec 29 09:34:34 UTC 2004


On Tuesday 28 Dec 2004 21:47, akonstam at trinity.edu wrote:
> On Tue, Dec 28, 2004 at 03:48:02PM +0000, Tony Molloy wrote:
> > Hi,
> >
> > Is it possible to dump a remotely mounted NFS filesystem to a local tape
> > drive.
> >
> > I export a filesystem from machine1 to machine2
> >
> >     /users/rsch2            youngmunster(rw,no_root_squash,sync)
> >
> > I mount this filesystem on machine 2
> >
> >     mount oc:/users/rsch2   /users/rsch2
> >
> > Then when I try to dump it I get the following and an empty dump tape.
> >
> > [root at youngmunster bin]# /sbin/dump 0 -a -f /dev/st0 /users/rsch2
> >   DUMP: Date of this level 0 dump: Tue Dec 28 15:33:47 2004
> >   DUMP: Dumping /dev/sda1 (/ (dir users/rsch2)) to /dev/st0
> >   DUMP: Excluding inode 8 (journal inode) from dump
> >   DUMP: Excluding inode 7 (resize inode) from dump
> >   DUMP: Label: /
> >   DUMP: Writing 10 Kilobyte records
> >   DUMP: mapping (Pass I) [regular files]
> >   DUMP: mapping (Pass II) [directories]
> >   DUMP: estimated 62 blocks.
> >   DUMP: Volume 1 started with block 1 at: Tue Dec 28 15:33:47 2004
> >   DUMP: dumping (Pass III) [directories]
> >   DUMP: dumping (Pass IV) [regular files]
> >   DUMP: Closing /dev/st0
> >   DUMP: Volume 1 completed at: Tue Dec 28 15:33:54 2004
> >   DUMP: Volume 1 50 blocks (0.05MB)
> >   DUMP: Volume 1 took 0:00:07
> >   DUMP: Volume 1 transfer rate: 7 kB/s
> >   DUMP: 50 blocks (0.05MB) on 1 volume(s)
> >   DUMP: finished in less than a second
> >   DUMP: Date of this level 0 dump: Tue Dec 28 15:33:47 2004
> >   DUMP: Date this dump completed:  Tue Dec 28 15:33:54 2004
> >   DUMP: Average transfer rate: 7 kB/s
> >   DUMP: DUMP IS DONE
> >
> >
> > Regards,
> >
> > Tony
> >
> > --
> >
> >
> >
> > Tony Molloy.
>
> Seems to me it should work, but I haven't used dump ever on a linux
> machine. It seems to me the critical test would be to try to do this
> with a filesystem on the local machine. If that works then nfs is the
> problem . If it does not work than the dump command is the problem.
> --
>
> =======================================================================
> Thousands of days of civilians ... have produced a ... feeling for the
> aesthetic modules --
> -------------------------------------------

Or you could try running amanda

TD




More information about the fedora-list mailing list