suse linux原创案例01: 文件系统问题:wrong fs type, bad option, bad superblock

报错内容:

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 | tailor so


问题解决过程如下:

查看文件系统是否已挂载:

ebdbpro:/ # df -h

FilesystemSizeUsed Avail Use% Mounted on

/dev/cciss/c0d0p2273G8.2G 251G 4% /

devtmpfs 16G 156K 16G 1% /dev

tmpfs 16G 1.9M 16G 1% /dev/shm

/dev/dm-1501G198M 476G 1% /local_bkup

mount文件系统报错:

ebdbpro:/ # mount /dev/mapper/oraclevg-oraclelv /eb_db

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 | tailor so

查看文件系统分区表:

ebdbpro:/ # more /etc/fstab

/dev/disk/by-id/cciss-3600508b1001c791ddb08dc877ac0021e-part1 swapswapdefaults 0 0

/dev/disk/by-id/cciss-3600508b1001c791ddb08dc877ac0021e-part2 /ext3acl,user_xattr 1 1

proc /proc proc defaults 0 0

sysfs /sys sysfs noauto 0 0

debugfs /sys/kernel/debug debugfs noauto 0 0

usbfs /proc/bus/usb usbfs noauto 0 0

devpts /dev/pts devpts mode=0620,gid=5 0 0

/dev/disk/by-id/cciss-3600508b1001c7923bcc83ceb8f780b6b-part1 /local_bkupext3acl,user_xattr 1 2

#/dev/oraclevg/oraclelv /eb_dbext3noauto,acl,user_xattr 0 0

修复文件系统:

ebdbpro:/ # fsck -t ext3 /dev/mapper/oraclevg-oraclelv

fsck from util-linux-ng 2.16

e2fsck 1.41.9 (22-Aug-2009)

fsck.ext3: Group descriptors look bad... trying backup blocks...

/dev/mapper/oraclevg-oraclelv was not cleanly unmounted, check forced.

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

/dev/mapper/oraclevg-oraclelv: ***** FILE SYSTEM WAS MODIFIED *****

/dev/mapper/oraclevg-oraclelv: 11/52559872 files (0.0% non-contiguous), 3349081/210238464 blocks



___________________________________________________________________________________

版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!

Author:   laven54 (lurou)

Email:    laven54@163.com

Blog:      http://blog.csdn.net/laven54

QQ群: 164734649  可以到群里来提问,Oracle相关的问题我都很感兴趣

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值