Subject: dump to tape
To: None <netbsd-help@netbsd.org>
From: Claude Marinier <claude.marinier@dreo.dnd.ca>
List: netbsd-help
Date: 04/20/2001 09:45:43
Hi,
Environment: NetBSD 1.5, i386, Intel motherboard, 128 MB memory, Exabyte
Eliant 8mm tape drive on SCSI.
This was working until recently. There are two possibilities here.
1) The system may have developed a hardware problem.
2) The dump script is flawed and the flaw is causing a problem now
because the partitions have exceeded the size I specify with the
dump parameters.
Below are the parameters for dump, the first part of the output from the
cron job (the rest is more failed dumps), and the output of df.
The script usually continues with /var, /home, and /var/mail.
Am I using the correct parameters for the Eliant? Should I be using the -B
option and forgetting about length and density?
Thanks.
b=126
d=108000 # original Exabyte uses 54000, Eliant is double that
s=8500 # for 160m tape (note that 160*6000/112=8571)
# standard 112m uses 6000
f=/dev/nrst0
dump 0ubdsf $b $d $s $f /
> From root@behemoth Fri Apr 20 09:18:18 2001
> Date: Thu, 19 Apr 2001 22:04:43 -0400 (EDT)
> From: Atrun Service <root>
> To: marinier
> Subject: Output from your job c001a100fb3178
>
>
> Level 0 dump of /, /usr, /var, /home, /var/mail
>
> dump 0ubdsf 126 108000 8500 /dev/nrst0 /
> DUMP: Date of this level 0 dump: Thu Apr 19 22:00:01 2001
> DUMP: Date of last level 0 dump: the epoch
> DUMP: Dumping /dev/rwd0a (/) to /dev/nrst0
> DUMP: Label: none
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 62012 tape blocks on 0.01 tape(s).
> DUMP: Volume 1 started at: Thu Apr 19 22:00:02 2001
> DUMP: dumping (Pass III) [directories]
> DUMP: dumping (Pass IV) [regular files]
> DUMP: 62124 tape blocks on 1 volume
> DUMP: Volume 1 completed at: Thu Apr 19 22:01:10 2001
> DUMP: Volume 1 took 0:01:08
> DUMP: Volume 1 transfer rate: 913 KB/s
> DUMP: Date of this level 0 dump: Thu Apr 19 22:00:01 2001
> DUMP: Date this dump completed: Thu Apr 19 22:01:10 2001
> DUMP: Average transfer rate: 913 KB/s
> DUMP: level 0 dump on Thu Apr 19 22:00:01 2001
> DUMP: Closing /dev/nrst0
> DUMP: DUMP IS DONE
> dump 0ubdsf 126 108000 8500 /dev/nrst0 /usr
> DUMP: Date of this level 0 dump: Thu Apr 19 22:01:21 2001
> DUMP: Date of last level 0 dump: the epoch
> DUMP: Dumping /dev/rwd0e (/usr) to /dev/nrst0
> DUMP: Label: none
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 1224630 tape blocks on 0.18 tape(s).
> DUMP: Volume 1 started at: Thu Apr 19 22:01:27 2001
> DUMP: dumping (Pass III) [directories]
> DUMP: dumping (Pass IV) [regular files]
> DUMP: End of tape detected
> DUMP: Closing /dev/nrst0
> DUMP: Volume 1 completed at: Thu Apr 19 22:03:27 2001
> DUMP: Volume 1 took 0:02:00
> DUMP: Volume 1 transfer rate: 1136 KB/s
> DUMP: Change Volumes: Mount volume #2
> DUMP: fopen on /dev/tty fails: Device not configured
> DUMP: The ENTIRE dump is aborted.
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0a 274059 60669 199687 23% /
/dev/wd0f 137021 49643 80526 38% /var
/dev/wd0e 1370857 1169213 133101 89% /usr
/dev/wd0g 456859 92610 341406 21% /home
/dev/wd0h 4731534 707526 3787431 15% /download
mfs:106 31671 6 30081 0% /tmp
kernfs 1 1 0 100% /kern
/dev/wd2d 7935328 225 7538336 0% /var/mail
--
Claude Marinier, Information Technology Group claude.marinier@dreo.dnd.ca
Defence Research Establishment Ottawa (DREO) (613) 998-4901 FAX 998-2675
3701 Carling Avenue, Ottawa, Ontario K1A 0Z4 http://www.dreo.dnd.ca