免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1990 | 回复: 5
打印 上一主题 下一主题

[求助] 無法進行ufsdump or tar 到磁帶機! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-27 15:12 |只看该作者 |倒序浏览
用ufsdump / 到磁帶機 , 但會出現下列狀況.
# ufsdump 0uf /dev/rmt/12cn /
  DUMP: Writing 32 Kilobyte records
  DUMP: Date of this level 0 dump: Mon Dec 27 09:57:51 2004
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/md/rdsk/d1 (edmp1:/) to /dev/rmt/12cn.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Estimated 5329268 blocks (2602.18MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Write error 134 feet into tape 1
  DUMP: NEEDS ATTENTION: Do you want to restart?: ("yes" or "no" yes
  DUMP: Change Volumes: Mount volume `#1' on `edmp1:/dev/rmt/12cn'
  DUMP: NEEDS ATTENTION: Is the new volume (#1) mounted on `edmp1:/dev/rmt/12cn' and ready to go?:
("yes" or "no" yes
  DUMP: Dumping (Pass III) [directories]
我又換了一捲新的帶子進磁帶機!
  DUMP: Write error 134 feet into tape 1
  DUMP: NEEDS ATTENTION: Do you want to restart?: ("yes" or "no"
  DUMP: NEEDS ATTENTION: Do you want to restart?: ("yes" or "no" yes
  DUMP: Change Volumes: Mount volume `#1' on `edmp1:/dev/rmt/12cn'
  DUMP: NEEDS ATTENTION: Is the new volume (#1) mounted on `edmp1:/dev/rmt/12cn' and ready to go?:
("yes" or "no"
  DUMP: NEEDS ATTENTION: Is the new volume (#1) mounted on `edmp1:/dev/rmt/12cn' and ready to go?:
("yes" or "no" yes
我又再換了一捲新的帶子進磁帶機!
  DUMP: NEEDS ATTENTION: Cannot open `edmp1:/dev/rmt/12cn'.  Do you want to retry the open?: ("yes
" or "no" YES
帶子有防寫,退出調整後又放入!
  DUMP: Dumping (Pass III) [directories]
  DUMP: 0.08% done, finished in 0:43
  DUMP: Write error 134 feet into tape 1
  DUMP: NEEDS ATTENTION: Do you want to restart?: ("yes" or "no"
  DUMP: NEEDS ATTENTION: Do you want to restart?: ("yes" or "no" no
  DUMP: The ENTIRE dump is aborted.
最後還是卡在同一地方 >;_<

用tar /var/adm到磁帶機

# tar cvf /dev/rmt/12cn /var/adm
a /var/adm/ 0 tape blocks
a /var/adm/log/ 0 tape blocks
a /var/adm/log/asppp.log 76 tape blocks
a /var/adm/passwd/ 0 tape blocks
a /var/adm/aculog 1 tape blocks
a /var/adm/spellhist 0 tape blocks
a /var/adm/utmp 2 tape blocks
a /var/adm/utmpx 12 tape blocks
a /var/adm/wtmp 519 tape blocks
a /var/adm/wtmpx 5371 tape blocks
a /var/adm/acct/ 0 tape blocks
a /var/adm/acct/fiscal/ 0 tape blocks
a /var/adm/acct/nite/ 0 tape blocks
a /var/adm/acct/sum/ 0 tape blocks
a /var/adm/sa/ 0 tape blocks
a /var/adm/sa/sa28 15417 tape blocks
tar: write error: I/O error

最後還是出現異常!!

請教這會是什麼問題呢! 謝謝指教.

论坛徽章:
0
2 [报告]
发表于 2004-12-27 17:23 |只看该作者

[求助] 無法進行ufsdump or tar 到磁帶機!

先检查一下磁带机状况,是不是该清洗了。

论坛徽章:
0
3 [报告]
发表于 2004-12-27 17:32 |只看该作者

[求助] 無法進行ufsdump or tar 到磁帶機!

你的磁带机的clean灯是不是亮了呢。

论坛徽章:
0
4 [报告]
发表于 2005-01-13 12:38 |只看该作者

[求助] 無法進行ufsdump or tar 到磁帶機!

最後確認是磁帶機壞了; 用clean tape cartridge清了好幾次, 仍然出現一樣的問題!

论坛徽章:
0
5 [报告]
发表于 2005-01-13 15:55 |只看该作者

[求助] 無法進行ufsdump or tar 到磁帶機!

不象是磁带机环,tar是不能续带的,所以先要确认要归档的东西和磁带机的容量,另外已经tar的文件即使出错也能把前面的读出来的,可以试一下

论坛徽章:
0
6 [报告]
发表于 2005-01-13 20:06 |只看该作者

[求助] 無法進行ufsdump or tar 到磁帶機!

应该是磁带机有问题。/var/adm 下的文件大小应该会小于磁带容量的!

磁带机是个比较娇贵的东西,容易坏,比较烦人。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP