Bug 250382 - dump doesn't show timeest() when dumping to over 2TB
Summary: dump doesn't show timeest() when dumping to over 2TB
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2020-10-16 00:35 UTC by Masachika ISHIZUKA
Modified: 2020-10-16 00:35 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Masachika ISHIZUKA 2020-10-16 00:35:23 UTC
I was replacing disks on file server and changed ufs to zfs.
I'm restoring from ufs disk to zfs disks by dump & restore as follow.

% uname -a
FreeBSD onion.ish.org 12.2-RC2 FreeBSD 12.2-RC2 r366553 GENERIC  amd64
% su
# cd /media
# dump 0af - /dev/ada4p1 | restore rf -
  DUMP: Date of this level 0 dump: Thu Oct 15 08:59:56 2020
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/ada4p1 to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 3755618369 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
warning: ./music: File exists
warning: ./tmp: File exists
warning: ./video: File exists
warning: ./backup: File exists
  DUMP: 0.38% done, finished in 22:08 at Fri Oct 16 07:13:35 2020
  DUMP: 0.78% done, finished in 21:12 at Fri Oct 16 06:23:01 2020
  DUMP: 1.19% done, finished in 20:46 at Fri Oct 16 06:02:19 2020
  DUMP: 56.47% done, finished in 9:41 at Fri Oct 16 07:17:28 2020
  DUMP: 56.76% done, finished in 9:39 at Fri Oct 16 07:19:30 2020
  DUMP: 57.06% done, finished in 9:35 at Fri Oct 16 07:21:11 2020
  DUMP: DUMP: 3755618304 tape blocks
  DUMP: finished in 85596 seconds, throughput 43876 KBytes/sec

  The timeest() didn't show after 57.06% of dump.
  I checked disks after about 30 minutes of 57.06%.

% zfs list
NAME                          USED  AVAIL  REFER  MOUNTPOINT
onion                        3.07T  25.1T   153K  none
onion/ROOT                    289M  25.1T   153K  none
onion/ROOT/default            289M  25.1T   289M  /
onion/media                  2.10T  25.1T  12.3M  /media
onion/media/backup           43.3G  25.1T  43.3G  /media/backup
onion/media/music             188G  25.1T   188G  /media/music
onion/media/tmp               153K  25.1T   153K  /media/tmp
onion/media/video            1.88T  25.1T  1.88T  /media/video

  It seems that dump doesn't show timeest() after dumping 2TB.
  Some counter are overflowing ?