- 论坛徽章:
- 0
|
我是这样理解的如:
先用tar tvf /dev/rmt/0n 查看
再用tar xvf /dev/rmt/0n /dev/sda6恢复
这样做了,报错 之后没反应
***************************
You pickup the wrong the special file for the command of "tar tvf /dev/rmt/0n". /dev/rmt/0n is a "no-rewind in close". When you run the first tar command to read the file content, the tape is rewound to end of data and stay there. The next tar command attempts to read the data back from the tape position of "end of data". It fails because it can't read.
The correct command is:
先用tar tvf /dev/rmt/0 查看
再用tar xvf /dev/rmt/0n /dev/sda6恢复
or
再用tar xvf /dev/rmt/0 /dev/sda6恢复 |
|