Re: Dump failure

From: Logan Shaw (lshaw-usenet_at_austin.rr.com)
Date: 12/31/04


Date: Fri, 31 Dec 2004 03:31:52 GMT

Simon wrote:

> I'm attempting to dump my entire /usr filesystem to a mounted disk, but it
> keeps failing - apparently at the same point. The filesystem is big - 21GB
> - but the mounted disk has plenty of capacity for the task. Here's how it
> goes :
>
> dump -0uan -L -f /mnt/<backupname> /usr
>
> DUMP: Date of this level 0 dump: Thu Dec 30 13:52:42 2004
> DUMP: Date of last level 0 dump: the epoch
> DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to /mnt/usr301204
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 21741832 tape blocks.
> DUMP: dumping (Pass III) [directories]
> DUMP: dumping (Pass IV) [regular files]
> DUMP: 2.36% done, finished in 3:26
> DUMP: 5.78% done, finished in 2:43
> DUMP: 9.91% done, finished in 2:16
> DUMP: 14.80% done, finished in 1:55
> DUMP: write error 4194340 blocks into volume 1
>
> Broadcast Message from root
> (/dev/ttyp0) at 14:17 GMT...
>
> Message from the dump program to all operators
>
> DUMP: NEEDS ATTENTION: write error 4194340 blocks into volume 1
> DUMP WRITE ERROR!
>
>
> Other filesystems (much smaller) backed-up just fine using the same syntax.

You could try using "-f /dev/null". That should give you a good idea
whether the problem is on the dumping or on the writing-to-a-file side.

Also, can you create a file greater than 2 GB on the destination
filesystem? Have you tried doing something like

        dd if=/dev/zero bs=1024k count=5000 of=/mnt/bigfile

to see that at least "dd" can write a big file to the filesystem?

I don't know much about large file (> 2 GB) support on FreeBSD,
but is it possible your installation is too old to support large
files?

  - Logan



Relevant Pages

  • RE: Hangs during "dump" with 6.0 and current ports
    ... Due to lack of memory I had added an additional swap-file via mdconfig 3 ... filesystem with snapshots active and the swapfile is in the same filesystem ... Hangs during "dump" with 6.0 and current ports ... Maybe you need some more swap space? ...
    (freebsd-questions)
  • Re: dumping a samba directory
    ... prog like tar do you have any recommendations on which type of archiver ... you can give dump the ... but it actually bypasses the normal filesystem ... Samsung printers and HOSTING packages ...
    (freebsd-questions)
  • Re: RAID gotchas!
    ... Best regards. ... They claim three advantages when using dump, ... filesystem; well, you can mount read-only or noatime. ... I'd trust the latter for my backups. ...
    (Fedora)
  • RE: RAID gotchas!
    ... or send me the documentation on ... They claim three advantages when using dump, but they are rather weak, ... the files in my backup, not just restore them. ... read-only image of the filesystem to run dump on. ...
    (Fedora)
  • Re: RAID gotchas!
    ... Best regards. ... They claim three advantages when using dump, ... read-only image of the filesystem to run dump on. ... I can post some documentation describing how I set up the backup and the script which will keep my backup up-to-date). ...
    (Fedora)