From: Bernhard E. <be...@be...> - 2000-06-27 10:32:44
|
Stelian Pop wrote: [...] > if you set the blocksize with 'mt setblk 32768', are you able > to do a 'dd ofs=32k' onto the tape ? > > I'm really not sure it's dump's fault or the driver/drive fault... It works well using dump with 32KB blocks: # mt setblk 32768 # /sbin/dump 0ab 32 /tmp DUMP: Date of this level 0 dump: Tue Jun 27 12:16:32 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 57048 tape blocks. DUMP: Volume 1 started at: Tue Jun 27 12:16:32 2000 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: Closing /dev/nst0 DUMP: Volume 1 completed at: Tue Jun 27 12:18:30 2000 DUMP: Volume 1 took 0:01:58 DUMP: Volume 1 transfer rate: 483 KB/s DUMP: 57058 tape blocks (55.72MB) on 1 volume(s) DUMP: finished in 116 seconds, throughput 491 KBytes/sec DUMP: Date of this level 0 dump: Tue Jun 27 12:16:32 2000 DUMP: Date this dump completed: Tue Jun 27 12:18:30 2000 DUMP: Average transfer rate: 483 KB/s DUMP: DUMP IS DONE Now try dd: # mt setblk 32768 # /sbin/dump 0af - /tmp | dd obs=32k of=$TAPE DUMP: Date of this level 0 dump: Tue Jun 27 12:22:01 2000 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/hdb11 (/tmp) to standard output DUMP: Label: none DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 57048 tape blocks. DUMP: Volume 1 started at: Tue Jun 27 12:22:02 2000 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: Volume 1 completed at: Tue Jun 27 12:23:53 2000 DUMP: Volume 1 took 0:01:51 DUMP: Volume 1 transfer rate: 513 KB/s DUMP: 57036 tape blocks (55.70MB) DUMP: finished in 111 seconds, throughput 513 KBytes/sec DUMP: Date of this level 0 dump: Tue Jun 27 12:22:01 2000 DUMP: Date this dump completed: Tue Jun 27 12:23:53 2000 DUMP: Average transfer rate: 513 KB/s DUMP: DUMP IS DONE dd: /dev/nst0: Input/output error 114060+0 records in 1782+0 records out Using 10KB blocks with tape drive set to 32KB: # /sbin/dump 0af - /tmp | dd obs=10k of=$TAPE DUMP: Date of this level 0 dump: Tue Jun 27 12:24:45 2000 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/hdb11 (/tmp) to standard output DUMP: Label: none DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 57048 tape blocks. DUMP: Volume 1 started at: Tue Jun 27 12:24:45 2000 DUMP: dumping (Pass III) [directories] dd: /dev/nst0: Input/output error 20+0 records in 0+0 records out DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. # /sbin/dump 0a /tmp DUMP: Date of this level 0 dump: Tue Jun 27 12:25:35 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 57048 tape blocks. DUMP: Volume 1 started at: Tue Jun 27 12:25:35 2000 DUMP: dumping (Pass III) [directories] [waiting... nothing happens...] |