dd problems
2006-11-06 16:23:39
Hi All,
I am trying to use dd to copy a tape made by amanda to a temp spot on
the HDD, but I am having great difficulty. When I try to use dd, it
will only copy one file at a time then stop, no matter what I do. As
far as I know, dd should just take the entire tape from beginning to
end. . .
See below for a transcript of my command line dealings with dd:
[root ~]# mt -f /dev/st0 rewind
[root ~]# mt -f /dev/nst0 tell
At block 0.
[root ~]# dd if=/dev/nst0 of=/dumps/amanda/copy bs=32k
1+0 records in
1+0 records out
32768 bytes (33 kB) copied, 9.28853 seconds, 3.5 kB/s
[root ~]# mt -f /dev/nst0 tell
At block 1.
[root ~]# dd if=/dev/nst0 of=/dumps/amanda/copy bs=32k
197+0 records in
197+0 records out
6455296 bytes (6.5 MB) copied, 1.79274 seconds, 3.6 MB/s
[root ~]# mt -f /dev/nst0 tell
At block 198.
[root ~]# dd if=/dev/nst0 of=/dumps/amanda/copy bs=32k
281+0 records in
281+0 records out
9207808 bytes (9.2 MB) copied, 2.6173 seconds, 3.5 MB/s
[root ~]# mt -f /dev/nst0 tell
At block 479.
[root ~]#
It will continue like this for all of the DLEs on the tape, one at a
time. Any ideas?? Is this due to some strange way Amanda writes out the
tapes??
Thanks,
Nick
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- dd problems,
Nick Brockner <=
|
|
|