ITPub博客

首页 > Linux操作系统 > Linux操作系统 > redhat5 device因文件系统fs不能mount_ext3_ext2

redhat5 device因文件系统fs不能mount_ext3_ext2

原创 Linux操作系统 作者:wisdomone1 时间:2013-06-06 10:56:58 0 删除 编辑

--前期测试挂的disk /dev/sdb1一直mount不成功,也检查了/etc/fstab基本是正确

--经查询,可以在操作系统启动时查看系统日志,一分析是文件系统搞清了,正确是ext2而非ext3
[root@rhel5 oracle]# more /var/log/messages|grep sdb1
Jun  5 13:37:16 rhel5 kernel:  sdb: sdb1
Jun  5 13:37:18 rhel5 kernel:  sdb: sdb1
Jun  5 13:38:27 rhel5 kernel: VFS: Can't find ext3 filesystem on dev sdb1.--提示很明显了
Jun  6 01:29:08 rhel5 kernel:  sdb: sdb1
Jun  6 01:39:15 rhel5 kernel:  sdb: sdb1
Jun  6 02:08:17 rhel5 kernel:  sdb: sdb1
Jun  6 02:08:17 rhel5 kernel: ext3: No journal on filesystem on sdb1
Jun  6 02:08:20 rhel5 kernel: ext3: No journal on filesystem on sdb1
Jun  6 02:48:11 rhel5 kernel: ext3: No journal on filesystem on sdb1
Jun  6 02:50:47 rhel5 kernel:  sdb: sdb1

小结:
   1,如果设备不能mount,直接查看/var/log/messages

 列下

[root@rhel5 oracle]# more /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0
/dev/sdb1               /oracle                 ext2    defaults        1 1

 

--这个也可以查看设备mount文件系统类型

[root@rhel5 oracle]# mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdb1 on /oracle type ext2 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-763182/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
提供针对oracle初学者及进阶的数据库培训,欢迎大家咨询: 微信: wisdomone 微信公众号: lovedb 工作经历: 中国普天 北京科蓝 北京云和恩墨 北京神州新桥

注册时间:2008-04-04

  • 博文量
    2189
  • 访问量
    12689917