penguin23
作者penguin23·2018-01-15 14:58
系统运维工程师·广州佳杰科技有限公司

SAPPRD1 LVM卷不能正常挂载

字数 10408阅读 2904评论 1赞 3

昨天重启了SUSE SAP HA双机,遇/usr/sap的逻辑卷不能脚本自动挂载,手动执行有如下告警。
​报错内容:
mount: wrong fs type, bad option, bad superblock on /dev/mapper/oraclevg-oraclelv,
missing codepage or helper program, or other error​
In some cases useful info is found in syslog - try
dmesg | tail or so

​解决方案:​
​ fsck -t ext3 /dev/mapper/sapvg-lvusrsap ​ (输出内容见附件)
​ 执行完成后,在重启了SAPPRD1主机,脚本挂载正常。

swaprd2:/dev/mapper # fsck -t ext3 /dev/mapper/sapvg-lvusrsap 
fsck from util-linux 2.19.1
e2fsck 1.41.9 (22-Aug-2009)
fsck.ext3: Group descriptors look bad... trying backup blocks...
/dev/mapper/sapvg-lvusrsap was not cleanly unmounted, check forced.
Resize inode not valid.  Recreate<y>? yes

Pass 1: Checking inodes, blocks, and sizes

Running additional passes to resolve blocks claimed by more than one inode...
Pass 1B: Rescanning for multiply-claimed blocks
Multiply-claimed block(s) in inode 7: 98309
Multiply-claimed block(s) in inode 11: 98309
Multiply-claimed block(s) in inode 12: 163841
Pass 1C: Scanning directories for inodes with multiply-claimed blocks
Pass 1D: Reconciling multiply-claimed blocks
(There are 2 inodes containing multiply-claimed blocks.)

File /trans.tar (inode #11, mod time Sat Jul 22 15:43:08 2017) 
  has 1 multiply-claimed block(s), shared with 1 file(s):
        <The group descriptor inode> (inode #7, mod time Sun Jan 14 16:26:13 2018)
Clone multiply-claimed blocks<y>? yes

File /trans20170723.tar (inode #12, mod time Sun Jul 23 15:29:29 2017) 
  has 1 multiply-claimed block(s), shared with 1 file(s):
        <filesystem metadata>
Clone multiply-claimed blocks<y>? yes

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found.  Create<y>? yes

Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  +(1--2) +(4--6) +10 +(32--33) +49 +(64--65) +248 +255 +321 +442 +979 +1540 -1544 -5498880 -(6455830--6455832) -(6455834--6455839) -(6455841--6456619) -(6457350--6457352) -6459392 -(6459407--6459409) -6459415 -(6461444--6461446) -(6463516--6463518) -(6465536--6465539) -(6465548--6465549) -(6467585--6467586) -6467840 -(6474586--6474587) -6474589 -(6481336--6481337) -6481341 -6481352 -(6483669--6483671) -(6483674--6483679) -(6483995--6483997) -(6486616--6486618)
Fix<y>? yes

Free blocks count wrong for group #0 (31221, counted=504).
Fix<y>? yes

Free blocks count wrong for group #1 (31229, counted=0).
Fix<y>? yes

Free blocks count wrong for group #2 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #3 (31229, counted=0).
Fix<y>? yes

Free blocks count wrong for group #4 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #5 (31229, counted=0).
Fix<y>? yes

Free blocks count wrong for group #6 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #7 (31229, counted=0).
Fix<y>? yes

Free blocks count wrong for group #8 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #9 (31229, counted=0).
Fix<y>? yes

Free blocks count wrong for group #10 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #11 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #12 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #13 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #14 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #15 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #16 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #17 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #18 (32254, counted=31371).
Fix<y>? yes

Free blocks count wrong for group #21 (32254, counted=15359).
Fix<y>? yes

Free blocks count wrong for group #56 (32254, counted=4834).
Fix<y>? yes

Free blocks count wrong for group #57 (32254, counted=5054).
Fix<y>? yes

Free blocks count wrong for group #58 (32254, counted=4781).
Fix<y>? yes

Free blocks count wrong for group #59 (32254, counted=1711).
Fix<y>? yes

Free blocks count wrong for group #60 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #61 (32254, counted=482).
Fix<y>? yes

Free blocks count wrong for group #62 (32254, counted=3400).
Fix<y>? yes

Free blocks count wrong for group #63 (32254, counted=702).
Fix<y>? yes

Free blocks count wrong for group #64 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #65 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #66 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #67 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #68 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #69 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #70 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #71 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #72 (32254, counted=5).
Fix<y>? yes

Free blocks count wrong for group #73 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #74 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #75 (32254, counted=6).
Fix<y>? yes

Free blocks count wrong for group #76 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #77 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #78 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #79 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #80 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #81 (31229, counted=15253).
Fix<y>? yes

Free blocks count wrong for group #82 (32254, counted=2264).
Fix<y>? yes

Free blocks count wrong for group #83 (32254, counted=32252).
Fix<y>? yes

Free blocks count wrong for group #84 (32254, counted=32253).
Fix<y>? yes

Free blocks count wrong for group #133 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #134 (32254, counted=3007).
Fix<y>? yes

Free blocks count wrong for group #236 (32254, counted=9181).
Fix<y>? yes

Free blocks count wrong for group #237 (32254, counted=28335).
Fix<y>? yes

Free blocks count wrong for group #238 (32254, counted=3524).
Fix<y>? yes

Free blocks count wrong for group #239 (32254, counted=820).
Fix<y>? yes

Free blocks count wrong for group #240 (32254, counted=3582).
Fix<y>? yes

Free blocks count wrong for group #241 (32254, counted=27606).
Fix<y>? yes

Free blocks count wrong for group #310 (32254, counted=31358).
Fix<y>? yes

Free blocks count wrong for group #311 (32254, counted=32252).
Fix<y>? yes

Free blocks count wrong for group #332 (32254, counted=26110).
Fix<y>? yes

Free blocks count wrong for group #333 (32254, counted=16882).
Fix<y>? yes

Free blocks count wrong for group #334 (32254, counted=28610).
Fix<y>? yes

Free blocks count wrong for group #335 (32254, counted=26110).
Fix<y>? yes

Free blocks count wrong for group #336 (32254, counted=0).
Fix<y>? yes

Free blocks count wrong for group #337 (32254, counted=12741).
Fix<y>? yes

Free blocks count wrong for group #338 (32254, counted=26110).
Fix<y>? yes

Free blocks count wrong for group #339 (32254, counted=5081).
Fix<y>? yes

Free blocks count wrong (12855466, counted=11133267).
Fix<y>? yes

yyFree inodes count wrong for group #0 (8180, counted=8174).
Fix<y>? yes

Directories count wrong for group #0 (3, counted=2).
Fix<y>? yes

Free inodes count wrong for group #56 (8192, counted=7716).
Fix<y>? yes

Directories count wrong for group #56 (0, counted=26).
Fix<y>? yes

Free inodes count wrong for group #72 (8192, counted=8191).
Fix<y>? yes

Free inodes count wrong for group #76 (8192, counted=8189).
Fix<y>? yes

Free inodes count wrong for group #78 (8192, counted=8191).
Fix<y>? yes

Free inodes count wrong for group #79 (8192, counted=8190).
Fix<y>? yes

Free inodes count wrong for group #80 (8192, counted=8181).
Fix<y>? yes

Free inodes count wrong for group #81 (8192, counted=7760).
Fix<y>? yes

Free inodes count wrong for group #82 (8192, counted=6803).
Fix<y>? yes

Free inodes count wrong for group #83 (8192, counted=8190).
Fix<y>? yes

Free inodes count wrong for group #84 (8192, counted=8191).
Fix<y>? yes

Free inodes count wrong for group #133 (8192, counted=826).
Fix<y>? yes

Directories count wrong for group #133 (0, counted=14).
Fix<y>? yes

Free inodes count wrong for group #236 (8192, counted=3556).
Fix<y>? yes

Directories count wrong for group #236 (0, counted=2).
Fix<y>? yes

Free inodes count wrong for group #237 (8192, counted=5163).
Fix<y>? yes

Directories count wrong for group #237 (0, counted=4).
Fix<y>? yes

Free inodes count wrong for group #238 (8192, counted=5496).
Fix<y>? yes

Directories count wrong for group #238 (0, counted=2).
Fix<y>? yes

Free inodes count wrong for group #240 (8192, counted=8157).
Fix<y>? yes

Directories count wrong for group #240 (0, counted=5).
Fix<y>? yes

Free inodes count wrong for group #241 (8192, counted=8191).
Fix<y>? yes

Directories count wrong for group #241 (0, counted=1).
Fix<y>? yes

Free inodes count wrong for group #310 (8192, counted=8180).
Fix<y>? yes

Directories count wrong for group #310 (0, counted=1).
Fix<y>? yes

Free inodes count wrong for group #311 (8192, counted=8190).
Fix<y>? yes

Directories count wrong for group #311 (0, counted=1).
Fix<y>? yes

Free inodes count wrong for group #332 (8192, counted=4228).
Fix<y>? yes

Directories count wrong for group #332 (0, counted=2).
Fix<y>? yes

Free inodes count wrong for group #334 (8192, counted=5424).
Fix<y>? yes

Directories count wrong for group #334 (0, counted=4).
Fix<y>? yes

Free inodes count wrong for group #335 (8192, counted=5757).
Fix<y>? yes

Directories count wrong for group #335 (0, counted=2).
Fix<y>? yes

Free inodes count wrong for group #338 (8192, counted=8157).
Fix<y>? yes

Directories count wrong for group #338 (0, counted=6).
Fix<y>? yes

Free inodes count wrong (3276788, counted=3247485).
Fix<y>? yes


/dev/mapper/sapvg-lvusrsap: ***** FILE SYSTEM WAS MODIFIED *****
/dev/mapper/sapvg-lvusrsap: 29315/3276800 files (5.4% non-contiguous), 1973933/13107200 blocks

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

3

添加新评论1 条评论

wuwenpinwuwenpin软件开发工程师南京
2018-01-15 20:22
谢谢分享,学习学习
Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广