Hi,
I'm using dump/restore with a 40GB DLT tape. I want to backup three
volumes of 3GB, 11GB, and 5 GB. However dump defaults to assuming a tape
length of 2300 feet, and 1600 BPI (bytes/inch) ==> 27600 inches x 1600
BPI == 43 MB. So anything larger than 43 MB and it asks you to put in a
new tape! Okay, so you fool it by giving it the -s and -d options to
specify a density and tape length which would allow your volume to fit on
the tape, and away it goes. However it takes much longer than it should to
write the data to the tape. ie it just keeps running the tape until it
gets the EOT (end of tape) at the end, by which time it's too late to
dump the other two volumes on the tape!?! How can I get it to stop when
it's dumped the volume, so I can dump the next one?
Thanks,
Paul
# dump -0u -s 60000 -d 6250 -f /dev/nst0 /
DUMP: Date of this level 0 dump: Thu Nov 23 17:18:21 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/sda5 (/) to /dev/nst0
DUMP: Label: none
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 2873545 tape blocks on 0.69 tape(s).
DUMP: Volume 1 started at: Thu Nov 23 17:18:25 2000
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 45.55% done, finished in 0:05
DUMP: 92.25% done, finished in 0:00
DUMP: Closing /dev/nst0
DUMP: Volume 1 completed at: Thu Nov 23 17:29:42 2000
DUMP: Volume 1 took 0:11:17
DUMP: Volume 1 transfer rate: 4506 KB/s
DUMP: DUMP: 3050618 tape blocks on 1 volumes(s)
DUMP: finished in 677 seconds, throughput 4506 KBytes/sec
DUMP: level 0 dump on Thu Nov 23 17:18:21 2000
DUMP: DUMP: Date of this level 0 dump: Thu Nov 23 17:18:21 2000
DUMP: DUMP: Date this dump completed: Thu Nov 23 17:29:42 2000
DUMP: DUMP: Average transfer rate: 4506 KB/s
DUMP: DUMP IS DONE
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!