- 论坛徽章:
- 0
|
我的一台外置的HP UNIX磁带机(40G大磁带)备份数据时只能用UNIX通用命令tar;但不能用HP UNIX专用命令fbackup, 一用就报错,如下:
hp-pics[/pics/cron#]fbackup -f /dev/rmt/0m -i /pics/cron
fbackup(1004): session begins on Wed Jan 15 19:52:26 2003
fbackup(3205): WARNING: unable to read a volume header
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(3055): total file blocks read for backup: 34
fbackup(3056): total blocks written to output file /dev/rmt/0m: 73
fbackup(1030): warnings encountered during backup
然后我查看,生成索引文件看时又报错:
hp-pics[/pics/cron#]frecover -I ./index
frecover(2105): did not find expected file marker
frecover(541 : not an fbackup volume; unable to read volume header
frecover(2105): did not find expected file marker
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN]) y
frecover(5413): attempting to read backup following bad volume header
hp-pics[/pics/cron#]vi index看到乱的:
FBACKUP_LABEL9000/800HP-UXB.11.00hp-picsroot16384Wed Jan 15 19:52:26 20031001256
234 3580 1042631546-17463598326C200
我用frecover恢复也不正常结束,要人为键入\'Y\',因为我是每天CRONTAB自动做的,不可能手工敲入,请高手指教,,谢谢!!!如下:
hp-pics[/tmp#]frecover -xvF -i /pics/cron
frecover(2105): did not find expected file marker
frecover(541 : not an fbackup volume; unable to read volume header
frecover(2105): did not find expected file marker
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN]) y
frecover(5413): attempting to read backup following bad volume header
frecover(1003): backup id does not match expected value
frecover(1061): attempt to continue recovery with new backup id? (^[yY]/^[nN]) y
frecover(1004): backup time does not match expected value
frecover(1062): attempt to continue recovery with new backup time? (^[yY]/^[nN]y
-rw-rw-rw- root sys /pics/cron/picsbackup
-rw-rw-rw- root sys /pics/cron/reboot_job
-rw-rw-rw- root sys /pics/cron/unload.sh
hp-pics[/tmp#]
文件是恢复了,但一直很多WARN,不知道为什么???
请高手告诉我了,谢谢!! |
|