Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3273687
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类: Oracle

2009-04-28 16:53:21

[root@oracle01 mnt]# fsck.ext3  /dev/hdb5
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/hdb5

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193

[root@oracle01 mnt]# mke2fs -j /dev/hdb5
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2621440 inodes, 5242844 blocks
262142 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
160 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[root@oracle01 mnt]# df -h
文件系统              容量  已用 可用 已用% 挂载点
/dev/mapper/VolGroup00-LogVol00
                       28G  3.1G   23G  12% /
/dev/hda1              99M   12M   83M  13% /boot
tmpfs                 742M     0  742M   0% /dev/shm
192.168.2.249:/opt/public/oracle
                       71G   60G  7.1G  90% /mnt
[root@oracle01 mnt]# /etc/init.d/oracleasm createdisk VOL1 /dev/hdb5
Marking disk "VOL1" as an ASM disk:                        [  OK  ]
[root@oracle01 mnt]#
[root@oracle01 mnt]# /etc/init.d/oracleasm listdisks
VOL1

阅读(1347) | 评论(0) | 转发(0) |
0

上一篇:oracleasm configure

下一篇:OpenBSD 4.5 released

给主人留下些什么吧!~~