免费注册 查看新帖 |

Chinaunix

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

紧急求助!!Fsck vxfs问题!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-18 23:15 |只看该作者 |倒序浏览
各位大虾,我遇到一个奇怪的问题,如哪位有解决方法请告之!!具体操作和结果如下:
# fsck -F vxfs -o full,nolog /dev/vx/rdsk/dg02/vol01
fileset 1 primary-ilist inode 65 has invalid block map
fileset 1 primary-ilist inode 65 has invalid block map
no valid ILISTs for fileset 999
UX:vxfs fsck: ERROR: cannot initialize aggregate
file system check failure, aborting ...


操作系统:solaris 7
Vxfs 3.4
A5200,5*73GB硬盘做成一个raid5

[ 本帖最后由 萧瑟 于 2006-12-18 23:33 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-12-19 09:10 |只看该作者
fsck能用来修护vxfs吗?我也疑问,帮顶

论坛徽章:
0
3 [报告]
发表于 2006-12-19 10:47 |只看该作者
hp的一般都用jfs(vxfs),可以fsck的

论坛徽章:
0
4 [报告]
发表于 2006-12-19 10:50 |只看该作者
在hp上如果FSCK出现该问题,是如何解决的?

论坛徽章:
0
5 [报告]
发表于 2006-12-19 11:54 |只看该作者
将以下指令的结果贴出来:
#echo "8192B.p S" | fsdb -F vxfs /dev/vx/rdsk/dg02/vol01

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2006-12-19 14:30 |只看该作者
手册上有这么一段:
File System Response to Problems
When the file system encounters problems, it responds in one of three ways:
• marks an inode bad
• disables transactions
• disables the file system

Marking an Inode Bad
Inodes can be marked bad if an inode update or a directory-block update fails.
In these types of failures, the file system doesn’t know what information is on
the disk, and considers all the information that it finds to be invalid. After an
inode is marked bad, the kernel still permits access to the file name, but any
attempt to access the data in the file or change the inode fails.

Disabling Transactions
If the file system detects an error while writing the intent log, it disables
transactions. After transactions are disabled, the files in the file system can still
be read or written, but no block or inode frees or allocations, structural
changes, directory entry changes, or other changes to metadata are allowed.

Disabling the File System
If an error occurs that compromises the integrity of the file system, VxFS
disables itself. If the intent log fails or an inode-list error occurs, the superblock
is ordinarily updated (setting the VX_FULLFSCK flag) so that the next
fsck does a full structural check. If this super-block update fails, any further
changes to the file system can cause inconsistencies that are undetectable by
the intent log replay. To avoid this situation, the file system disables itself.

Recovering a Disabled File System
When the file system is disabled, no data can be written to the disk. Although
some minor file system operation still work, most simply return EIO. The only
thing that can be done when the file system is disabled is to do a umount and
run a full fsck.
Although a log replay may produce a clean file system, do a full structural
check to be safe. To do a full structural check, enter:

# fsck -F vxfs -o full -y /dev/rdsk/c1t0d0s1

The file system usually becomes disabled because of disk errors. Disk failures
that disabled a file system should be fixed as quickly as possible (see
fsck_vxfs(1M)).

论坛徽章:
0
7 [报告]
发表于 2006-12-19 19:23 |只看该作者
原帖由 hjp1973 于 2006-12-19 11:54 发表
将以下指令的结果贴出来:
#echo "8192B.p S" | fsdb -F vxfs /dev/vx/rdsk/dg02/vol01



  输出结果如下:


super-block at 00000001.0000
magic a501fcf5  version 4
ctime 1024024705 630275  (Fri Jun 14 11:18:25 2002 CDT)
log_version 9 logstart 0  logend 0
bsize  8192 size  17780992 dsize  17780992  ninode 0  nau 0
defiextsize 0  oilbsize 0  immedlen 96  ndaddr 10
aufirst 0  emap 0  imap 0  iextop 0  istart 0
bstart 0  femap 0  fimap 0  fiextop 0  fistart 0  fbstart 0
nindir 2048  aulen 32768  auimlen 0  auemlen 1
auilen 0  aupad 0  aublocks 32768  maxtier 15
inopb 32  inopau 0  ndiripau 0  iaddrlen 1   bshift 13
inoshift 5  bmask ffffe000  boffmask 1fff  checksum e434c629
free 834125  ifree 0
efree  411469 127916 41706 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
flags 1 mod 0 clean 3c
time 1166419090 148035  (Mon Dec 18 13:18:10 2006 CDT)
oltext[0] 12  oltext[1] 1028  oltsize 1
iauimlen 1  iausize 4  dinosize 256
  checksum2 518
checksum3 0

论坛徽章:
0
8 [报告]
发表于 2006-12-19 19:43 |只看该作者
将以下指令的输出贴出来:
#fsck -F vxfs -n /dev/vx/rdsk/dg02/vol01 | grep "marked bad"

论坛徽章:
0
9 [报告]
发表于 2006-12-19 19:45 |只看该作者
fsck -F vxfs -n /dev/vx/rdsk/dg02/vol01 | grep "marked bad"
UX:vxfs fsck: ERROR: cannot initialize aggregate

论坛徽章:
0
10 [报告]
发表于 2006-12-19 20:15 |只看该作者
我只是知道VXFS是要许可的,而这个许可是有年限,收费的,但你的信息别没有提示到期,会不会有关呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP