From: Bernhard E. <be...@be...> - 2000-06-27 08:35:46
|
Stelian Pop wrote: [...] > Use the no rewinding tape device (such as /dev/nst0) and: > > mt -f /dev/nst0 rewind > dump 0f /dev/nst0 /dev/sda1 > dump 0f /dev/nst0 /dev/sda2 > dump 0f /dev/nst0 /dev/sda3 > mt -f /dev/nst0 rewind I've seen really ugly things dumping directly to DDS-2 drives on several different boxes. (DDS-3 seems to be ok.) I have to use dd to write at fixed block sizes: dump 0af - /dev/sda1 | dd obs=32k of=$TAPE # /sbin/dump 0a /tmp/ DUMP: Date of this level 0 dump: Tue Jun 27 10:24:36 2000 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/hdb11 (/tmp) to /dev/nst0 DUMP: Label: none DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 57046 tape blocks. DUMP: Volume 1 started at: Tue Jun 27 10:24:37 2000 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: Closing /dev/nst0 DUMP: Volume 1 completed at: Tue Jun 27 10:26:31 2000 DUMP: Volume 1 took 0:01:54 DUMP: Volume 1 transfer rate: 500 KB/s DUMP: 57034 tape blocks (55.70MB) on 1 volume(s) DUMP: finished in 112 seconds, throughput 509 KBytes/sec DUMP: Date of this level 0 dump: Tue Jun 27 10:24:36 2000 DUMP: Date this dump completed: Tue Jun 27 10:26:31 2000 DUMP: Average transfer rate: 500 KB/s DUMP: DUMP IS DONE # mt rewind # /sbin/restore r . is not on the tape Root directory is not on tape abort? [yn] y dump core? [yn] n "dd bs=32k..." (ibs=obs) didn't work for me, I have to use "obs=32k". |