免费注册 查看新帖 |

Chinaunix

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

关于/dev/rdsk/c0t0d0s0文件系统 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-18 22:46 |只看该作者 |倒序浏览
这个文件系统是干吗用的啊?/dev/rdsk/c0t0d0s0\r\n是不是只保存超级块信息啊?\r\n可以直接重建吗? 然后恢复超级块?\r\n\r\n多谢指点

论坛徽章:
0
2 [报告]
发表于 2006-04-18 23:18 |只看该作者
好像是的哦?那下面到底怎么回事情?\r\n  4.Find the locations of alternate super blocks. BE SURE TO USE AN UPPERCASE -N. For \r\n\r\nexample:\r\n\r\n      # newfs -N /dev/rdsk/c0t0d0s0\r\n      /dev/rdsk/c0t0d0s0:     2048960 sectors in 1348 cylinders of 19 tracks, \r\n      80 sectors 1000.5MB in 85 cyl groups (16 c/g, 11.88MB/g, 5696 i/g)\r\n      super-block backups (for fsck -F ufs -o b=#) at:\r\n      32, 24432, 48832, 73232, 97632, 122032, 146432, 170832, 195232, 219632,\r\n      244032, 268432, 292832, 317232, 341632, 366032, 390432, 414832, 439232,\r\n      463632, 488032, 512432, 536832, 561232, 585632, 610032, 634432, 658832,\r\n      683232, 707632, 732032, 756432, 778272, 802672, 827072, 851472, 875872,\r\n      900272, 924672, 949072, 973472, 997872, 1022272, 1290672, ...\r\n\r\n   5.Using an alternate super block, run fsck(1M) on the disk. You might have to try more \r\n\r\nthan one alternate super block to make this to work. Pick a couple from the beginning, the \r\n\r\nmiddle, and the end.\r\n\r\n      # fsck -o b=<altblk> /dev/rdsk/c0t0d0s0\r\n\r\n   6.The boot block is probably bad too. Restore it while you are booted from the CD-ROM.\r\n\r\n      # /usr/sbin/installboot /usr/platform/architecture/lib/fs/ufs/bootblk \r\n      /dev/rdsk/c0t0d0s0\r\n\r\n   7.Reboot the operating environment.\r\n\r\n      # reboot

论坛徽章:
0
3 [报告]
发表于 2006-04-19 00:26 |只看该作者
这个是,当你的超块由于非法断电等造成损坏时.用备份块来恢复超块.# newfs -N /dev/rdsk/c0t0d0s0 这个命令是查卡所有的备份块的数据块号. # fsck -o b=<altblk> /dev/rdsk/c0t0d0s0  这个是用指定的备份块来恢复超块
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP