Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 09:56:44 +0200
From:      Alain Thivillon <at@teaser.net>
To:        freebsd-stable@freebsd.org
Subject:   Dump problem
Message-ID:  <20010418095644.D50857@vinea.teaser.fr>

next in thread | raw e-mail | index | archive | help

Hello all,

Dump seems seriously broken in 4.3-RC, any dump of level higher than 0
seems missing a lot of files.

With dump of 4.3-RC:

(/dev/da0s1f is /var)

1025 [9:47] root@fire:/var/log> /sbin/dump 1sf 1048576 /dev/null /dev/da0s1f 
  DUMP: Date of this level 1 dump: Wed Apr 18 09:47:10 2001
  DUMP: Date of last level 0 dump: Thu Apr 12 02:19:09 2001
  DUMP: Dumping /dev/da0s1f (/var) to /dev/null
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 578 tape blocks on 0.00 tape(s).
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 200 tape blocks on 1 volume
  DUMP: finished in less than a second
  DUMP: Closing /dev/null
  DUMP: DUMP IS DONE

I'm pretty sure that 200 tapes block is not enough, /var/log contains
a lot of files changed since dump 0, including gigabytes of log and a
huge ldap database.

With an old dump copied from 4.2-STABLE before 3 March (time of change
in traverse.c):

1027 [9:48] root@fire:/var/log> ~at/dump 1sf 1048576 /dev/null /dev/da0s1f 
  DUMP: Date of this level 1 dump: Wed Apr 18 09:48:15 2001
  DUMP: Date of last level 0 dump: Thu Apr 12 02:19:09 2001
  DUMP: Dumping /dev/da0s1f (/var) to /dev/null
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 886865 tape blocks on 0.05 tape(s).
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 58.93% done, finished in 0:03
  DUMP: DUMP: 886654 tape blocks on 1 volume
  DUMP: finished in 472 seconds, throughput 1878 KBytes/sec
  DUMP: Closing /dev/null
  DUMP: DUMP IS DONE

-- 
Alain Thivillon -+- at@teaser.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010418095644.D50857>