linux檔案系統問題:wrong fs type, bad option, bad superblock

lurou發表於2012-12-18

報錯內容:

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

[@more@]

問題解決過程如下:

檢視檔案系統是否已掛載:

ebdbpro:/ # df -h

Filesystem Size Used Avail Use% Mounted on

/dev/cciss/c0d0p2 273G 8.2G 251G 4% /

devtmpfs 16G 156K 16G 1% /dev

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

/dev/dm-1 501G 198M 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 | tail or so

檢視檔案系統分割槽表:

ebdbpro:/ # more /etc/fstab

/dev/disk/by-id/cciss-3600508b1001c791ddb08dc877ac0021e-part1 swap swap defaults 0 0

/dev/disk/by-id/cciss-3600508b1001c791ddb08dc877ac0021e-part2 / ext3 acl,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_bkup ext3 acl,user_xattr 1 2

#/dev/oraclevg/oraclelv /eb_db ext3 noauto,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

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26006637/viewspace-1059946/,如需轉載,請註明出處,否則將追究法律責任。

相關文章