I am trying to backup some file systems to an HP SureStore 24e tape.
I am
using the script below and all seems to go well for the scsi disk but
fails for the IDE drives. The IDE dirves seem to be mount OK and I
can do
the usual commands with them (like cd rm cp etc).
Any Ideas
Script:
#!/bin/sh
# Dump the filesystems to tape
mt -f /dev/nrst0 rewind
dump 0ufa /dev/nrst0 /dev/sd0s2a
dump 0ufa /dev/nrst0 /dev/sd0s2e
dump 0ufa /dev/nrst0 /dev/sd0s2f
dump 0ufa /dev/nrst0 /dev/wd0s2g
dump 0ufa /dev/nrst0 /dev/wd0s2h
dump 0ufa /dev/nrst0 /dev/wd2s1g
dump 0ufa /dev/nrst0 /dev/wd2s1h
Initial output:
DUMP: Date of this level 0 dump: Wed Jan 5 14:20:23 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0s2a (/) to /dev/nrst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 25917 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 25924 tape blocks on 1 volumes(s)
DUMP: finished in 25 seconds, throughput 1036 KBytes/sec
DUMP: level 0 dump on Wed Jan 5 14:20:23 2000
DUMP: Closing /dev/nrst0
DUMP: DUMP IS DONE
DUMP: Date of this level 0 dump: Wed Jan 5 14:20:49 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0s2e (/var) to /dev/nrst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 55860 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 55852 tape blocks on 1 volumes(s)
DUMP: finished in 36 seconds, throughput 1551 KBytes/sec
DUMP: level 0 dump on Wed Jan 5 14:20:49 2000
DUMP: Closing /dev/nrst0
DUMP: DUMP IS DONE
.....
DUMP: Date of this level 0 dump: Wed Jan 5 15:20:59 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/wd0s2g to /dev/nrst0
DUMP: Cannot open /dev/wd0s2g
df output:
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/sd0s2a 127134 50236 66728 43% /
/dev/sd0s2f 7468068 5006306 1864318 73% /usr
/dev/sd0s2e 254302 110526 123432 47% /var
procfs 8 8 0 100% /proc
/dev/wd0s2f 1786558 367248 1276386 22% /usr/ports
/dev/wd0s2g 1786558 866162 777472 53% /weblogs
/dev/wd0s2h 1786558 995730 647904 61% /website
/dev/wd2s1h 1985502 247972 1578690 14% /adeptweb
/dev/wd2s1g 3972990 1789804 1865348 49%
/usr/local/www/usage