[Ocfs2-users] Can't mount OCFS2 filesytem

Wang Steven SWang at woolworths.com.au
Wed Apr 18 18:16:29 PDT 2007


Hi Sunil, 

If I changed the fstab and try to mount I get the following errors. 
Do you think running mkfs.ocfs2 /dev/emcpowera1 is the only way to get
the filesystem back?

########################################################################
####################
[root at clracl02 ~]# cat /etc/fstab
/dev/emcpowera1        /u530/origcrsdata       ocfs2
_netdev,datavolume,nointr       0 0
/dev/emcpowerd        /u531/mirrcrsdata       ocfs2
_netdev,datavolume,nointr       0 0
/dev/emcpowerc        /u532/mirrcrsdata       ocfs2
_netdev,datavolume,nointr       0 0
/dev/emcpowere        /u001/oradata           ocfs2
_netdev,datavolume,nointr       0 0

/dev/hda                /media/cdrom            auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0
0

[root at clracl02 ~]# mount /u530/origcrsdata
mount.ocfs2: Bad magic number in superblock while opening device
/dev/emcpowera1
[root at clracl02 ~]#
########################################################################
####################



Best Regards,

Steven




-----Original Message-----
From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com] 
Sent: Thursday, 19 April 2007 10:24 AM
To: Wang Steven
Cc: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] Can't mount OCFS2 filesytem


That emcpowera1 is there cannot be ignored. That's the
reason why the mount failed.

For crs qs, ping oracle support on the sr.

Wang Steven wrote:
> Hi Sunil, 
>
> I don't know why emcpowera1 is there, the storage admin did remove
LUNs
> before and then LANs was returned we needed to reinstall the RAC
again. 
>
> But the current fstab is correct.
>
> We are doing some load test in the last few days  and there are some
> problems as well (please read SR Number  6254658.993 )
>
> This is the time it happened and show in
> $CRS_HOME/log/clracl01/ocssd.log. 
>
>
> [    CSSD]2007-04-07 09:56:21.642 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d1be60)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 09:57:21.902 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d10fd0)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 09:58:22.163 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d1be60)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 09:58:59.452 [1147169120] >ERROR:   Internal
Error
> Information: 
>   Category: 1234
>   Operation: scls_block_read
>   Location: fread_failed
>   Other: fread unable to read buffer
>   Dep: 5
>
> [    CSSD]2007-04-07 09:58:59.452 [1147169120] >ERROR:
> clssnmvReadBlocks: read failed 1 at offset 529 of
> /u530/origcrsdata/vdiska
> [    CSSD]2007-04-07 09:58:59.452 [1147169120] >TRACE:
> clssnmDiskStateChange: state from 4 to 3 disk
> (0//u530/origcrsdata/vdiska)
> [    CSSD]2007-04-07 09:59:19.948 [1115699552] >TRACE:
> clssnmDiskStateChange: state from 3 to 4 disk
> (0//u530/origcrsdata/vdiska)
> [    CSSD]2007-04-07 09:59:22.436 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d10fd0)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:00:22.710 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d1be60)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:01:11.767 [1147169120] >ERROR:   Internal
Error
> Information: 
>   Category: 1234
>   Operation: scls_block_read
>   Location: fread_failed
>   Other: fread unable to read buffer
>   Dep: 5
>
> [    CSSD]2007-04-07 10:01:11.767 [1147169120] >ERROR:
> clssnmvReadBlocks: read failed 1 at offset 529 of
> /u530/origcrsdata/vdiska
> [    CSSD]2007-04-07 10:01:11.767 [1147169120] >TRACE:
> clssnmDiskStateChange: state from 4 to 3 disk
> (0//u530/origcrsdata/vdiska)
> [    CSSD]2007-04-07 10:01:22.982 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d10fd0)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:01:32.252 [1115699552] >TRACE:
> clssnmDiskStateChange: state from 3 to 4 disk
> (0//u530/origcrsdata/vdiska)
> [    CSSD]2007-04-07 10:02:23.241 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d1be60)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:03:23.515 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d10fd0)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:03:50.812 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d1be60)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:04:23.784 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d10fd0)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:04:42.439 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d1be60)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:04:46.564 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d10fd0)
> proc(0x2a97d1cc70) pid() proto(10:2:1:1)
> [    CSSD]2007-04-07 10:04:49.420 [1199618400] >TRACE:
> clssgmClientConnectMsg: Connect from con(0x2a97d1be60)
> proc(0x2a97d11a40) pid() proto(10:2:1:1)
> [ 
>
>
> Regards,
>
> Steven 
>
>
>
>
> -----Original Message-----
> From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com] 
> Sent: Thursday, 19 April 2007 9:36 AM
> To: Wang Steven
> Cc: ocfs2-users at oss.oracle.com
> Subject: Re: [Ocfs2-users] Can't mount OCFS2 filesytem
>
>
>  120     0   23550720 emcpowera
>  120     1   23543193 emcpowera1
>
> So you formatted /dev/emcpowera and then partitioned the device.
> You probably have lost your data on emcpowera. If this is a test
system,
> I guess you don't care. But as a rule, always use a partitioned device
> so as to avoid such problems.
>
> mounted.ocfs2 has a bug in as such that it is still shows emcpowera
> as a ocfs2 volume. We will address the bug.
>
> If this is a test system and you did not have data on emcpowera,
> mkfs.ocfs2 /dev/emcpowera1 and make the appropriate change
> in /etc/fstab and continue.
>
> Wang Steven wrote:
>   
>> Hi Sunil, 
>>
>> This is only a test environment and the storage had ever been
changed.
>>
>> The necessary filesystems for RAC currently are as follows:
>>
>> /dev/emcpowera        /u530/origcrsdata       ocfs2
>> _netdev,datavolume,nointr       0 0
>> /dev/emcpowerd        /u531/mirrcrsdata       ocfs2
>> _netdev,datavolume,nointr       0 0
>> /dev/emcpowerc        /u532/mirrcrsdata       ocfs2
>> _netdev,datavolume,nointr       0 0
>> /dev/emcpowere        /u001/oradata           ocfs2
>> _netdev,datavolume,nointr       0 0
>>
>>
>>
>> [root at clracl02 ~]# cat /proc/partitions
>> major minor  #blocks  name
>>
>>  104     0  143338560 cciss/c0d0
>>  104     1     200781 cciss/c0d0p1
>>  104     2  143131117 cciss/c0d0p2
>>    8     0      46080 sda
>>    8    16   23550720 sdb
>>    8    17   23543193 sdb1
>>    8    32   11775840 sdc
>>    8    33   11775581 sdc1
>>    8    48   11775840 sdd
>>    8    64   11775840 sde
>>    8    80   23550720 sdf
>>    8    96      46080 sdg
>>    8   112   23550720 sdh
>>    8   113   23543193 sdh1
>>    8   128   11775840 sdi
>>    8   129   11775581 sdi1
>>    8   144   11775840 sdj
>>    8   160   11775840 sdk
>>    8   176   23550720 sdl
>>  253     0    3145728 dm-0
>>  253     1    4194304 dm-1
>>  253     2   10485760 dm-2
>>  253     3    2097152 dm-3
>>  253     4    4194304 dm-4
>>  253     5   10485760 dm-5
>>  253     6    8388608 dm-6
>>  253     7    8388608 dm-7
>>  253     8    8093696 dm-8
>>  253     9   14352384 dm-9
>>  120    64   23550720 emcpowere
>>  120    48   11775840 emcpowerd
>>  120    32   11775840 emcpowerc
>>  120    16   11775840 emcpowerb
>>  120    17   11775581 emcpowerb1
>>  120     0   23550720 emcpowera
>>  120     1   23543193 emcpowera1
>>
>> [root at clracl02 ~]# cat /etc/fstab
>> # This file is edited by fstab-sync - see 'man fstab-sync' for
details
>> /dev/vg00/lv_root       /                       ext3    defaults
>> 1 1
>> LABEL=/boot             /boot                   ext3    defaults
>> 1 2
>> none                    /dev/pts                devpts
gid=5,mode=620
>> 0 0
>> none                    /dev/shm                tmpfs   defaults
>> 0 0
>> /dev/vg00/lv_home       /home                   ext3    defaults
>> 1 2
>> /dev/vg00/lv_opt        /opt                    ext3    defaults
>> 1 2
>> none                    /proc                   proc    defaults
>> 0 0
>> none                    /sys                    sysfs   defaults
>> 0 0
>> /dev/vg00/lv_tivoli     /systools/tivoli        ext3    defaults
>> 1 2
>> /dev/vg00/lv_tmp        /tmp                    ext3    defaults
>> 1 2
>> /dev/vg00/lv_usr        /usr                    ext3    defaults
>> 1 2
>> /dev/vg00/lv_var        /var                    ext3    defaults
>> 1 2
>> /dev/vg00/lv_crash      /var/crash              ext3    defaults
>> 1 2
>> /dev/vg00/lv_swap       swap                    swap    defaults
>> 0 0
>> /dev/vg00/lv_applic     /applic                 ext3    defaults
>> 1 2
>> #
>> /dev/emcpowera        /u530/origcrsdata       ocfs2
>> _netdev,datavolume,nointr       0 0
>> /dev/emcpowerd        /u531/mirrcrsdata       ocfs2
>> _netdev,datavolume,nointr       0 0
>> /dev/emcpowerc        /u532/mirrcrsdata       ocfs2
>> _netdev,datavolume,nointr       0 0
>> /dev/emcpowere        /u001/oradata           ocfs2
>> _netdev,datavolume,nointr       0 0
>>
>> /dev/hda                /media/cdrom            auto
>> pamconsole,fscontext=system_u:object_r:removable_t,exec,no
>> auto,managed 0 0
>>
>> [root at clracl02 ~]#  mounted.ocfs2 -d
>> Device                FS     UUID
>>     
> Label
>   
>> /dev/sdb              ocfs2  2907032b-ca76-4754-a60e-b6ca1e5dc670
>> origcrsdata
>> /dev/sdd              ocfs2  1f678e37-82f4-4b62-8fce-4d4ae15ed9c7
>> mirrcrsdata
>> /dev/sde              ocfs2  bd944953-a5bb-4213-bac0-d4bb2e126cc3
>> mirrcrsdata
>> /dev/sdf              ocfs2  08c2d35d-8ee1-426f-844d-72e5ddda9995
>> oradata
>> /dev/sdh              ocfs2  2907032b-ca76-4754-a60e-b6ca1e5dc670
>> origcrsdata
>> /dev/sdj              ocfs2  1f678e37-82f4-4b62-8fce-4d4ae15ed9c7
>> mirrcrsdata
>> /dev/sdk              ocfs2  bd944953-a5bb-4213-bac0-d4bb2e126cc3
>> mirrcrsdata
>> /dev/sdl              ocfs2  08c2d35d-8ee1-426f-844d-72e5ddda9995
>> oradata
>> /dev/emcpowere        ocfs2  08c2d35d-8ee1-426f-844d-72e5ddda9995
>> oradata
>> /dev/emcpowerd        ocfs2  bd944953-a5bb-4213-bac0-d4bb2e126cc3
>> mirrcrsdata
>> /dev/emcpowerc        ocfs2  1f678e37-82f4-4b62-8fce-4d4ae15ed9c7
>> mirrcrsdata
>> /dev/emcpowera        ocfs2  2907032b-ca76-4754-a60e-b6ca1e5dc670
>> origcrsdata
>> [root at clracl02 ~]#
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com] 
>> Sent: Thursday, 19 April 2007 9:11 AM
>> To: Wang Steven
>> Cc: ocfs2-users at oss.oracle.com
>> Subject: Re: [Ocfs2-users] Can't mount OCFS2 filesytem
>>
>>
>> Do:
>> # cat /proc/partitions
>> # cat /etc/fstab
>> # mounted.ocfs2 -d
>>
>> Email the outputs.
>>
>> Wang Steven wrote:
>>   
>>     
>>> Hi All,
>>>
>>> I can't mount one of my OCFS2 filesystem even though the other three

>>> are running fine. Is there a easy way to get the filesystem mounted 
>>> and then I can overwrite the files?
>>>
>>>
>>> OS: RHEL4 update4
>>> 2.6.9-42.ELsmp
>>>
>>> OCFS2: 1.2.5-1
>>>
>>> [root at clracl02 ~]# /etc/init.d/o2cb status
>>> Module "configfs": Loaded
>>> Filesystem "configfs": Mounted
>>> Module "ocfs2_nodemanager": Loaded
>>> Module "ocfs2_dlm": Loaded
>>> Module "ocfs2_dlmfs": Loaded
>>> Filesystem "ocfs2_dlmfs": Mounted
>>> Checking O2CB cluster ocfs2: Online
>>>   Heartbeat dead threshold: 31
>>>   Network idle timeout: 10000
>>>   Network keepalive delay: 5000
>>>   Network reconnect delay: 2000
>>> Checking O2CB heartbeat: Active
>>>
>>>
>>> [root at clracl02 ~]# mount /u530/origcrsdata
>>> ocfs2_hb_ctl: Bad magic number in inode while reading uuid
>>> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: 
>>> "Operation not permitted"
>>>
>>> [oracle at clracl02 clracl02]$ df -h
>>> /dev/emcpowerd         12G  310M   11G   3% /u531/mirrcrsdata
>>> /dev/emcpowerc         12G  305M   11G   3% /u532/mirrcrsdata
>>> /dev/emcpowere         23G   15G  7.8G  66% /u001/oradata
>>>
>>>
>>> Best Regards,
>>>
>>> *Steven Wang*
>>> *Oracle DBA*
>>> *W3.D8.W.05 *
>>> Information Technology Division
>>> Woolworths Limited
>>> 1 Woolworths Way
>>> Bella Vista, NSW, 2153
>>> P:(02) 8885 1588
>>>
>>> ***********************************************************
>>>
>>> CAUTION: This email and files included in its transmission
>>>
>>> are solely intended for the use of the addressee(s) and may
>>>
>>> contain information that is confidential and privileged.
>>>
>>> If you receive this email in error, please advise us
>>>
>>> immediately and delete it without copying the contents
>>>
>>> contained within. Woolworths Limited (including its group
>>>
>>> of companies) do not accept liability for the views
>>>
>>> expressed within or the consequences of any computer
>>>
>>> viruses that may be transmitted with this email. The
>>>
>>> contents are also subject to copyright. No part of it
>>>
>>> should be reproduced, adapted or transmitted without the
>>>
>>> written consent of the copyright owner.
>>>
>>> ***********************************************************
>>>
>>>
>>>     
>>>       
>
------------------------------------------------------------------------
>   
>>   
>>     
>>> _______________________________________________
>>> Ocfs2-users mailing list
>>> Ocfs2-users at oss.oracle.com
>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>     
>>>       
>> ***********************************************************
>> CAUTION: This email and files included in its transmission 
>> are solely intended for the use of the addressee(s) and may 
>> contain information that is confidential and privileged. 
>> If you receive this email in error, please advise us 
>> immediately and delete it without copying the contents 
>> contained within. Woolworths Limited (including its group 
>> of companies) do not accept liability for the views 
>> expressed within or the consequences of any computer 
>> viruses that may be transmitted with this email. The 
>> contents are also subject to copyright. No part of it 
>> should be reproduced, adapted or transmitted without the 
>> written consent of the copyright owner.
>> ***********************************************************
>>   
>>     
>
> ***********************************************************
> CAUTION: This email and files included in its transmission 
> are solely intended for the use of the addressee(s) and may 
> contain information that is confidential and privileged. 
> If you receive this email in error, please advise us 
> immediately and delete it without copying the contents 
> contained within. Woolworths Limited (including its group 
> of companies) do not accept liability for the views 
> expressed within or the consequences of any computer 
> viruses that may be transmitted with this email. The 
> contents are also subject to copyright. No part of it 
> should be reproduced, adapted or transmitted without the 
> written consent of the copyright owner.
> ***********************************************************
>   

***********************************************************
CAUTION: This email and files included in its transmission 
are solely intended for the use of the addressee(s) and may 
contain information that is confidential and privileged. 
If you receive this email in error, please advise us 
immediately and delete it without copying the contents 
contained within. Woolworths Limited (including its group 
of companies) do not accept liability for the views 
expressed within or the consequences of any computer 
viruses that may be transmitted with this email. The 
contents are also subject to copyright. No part of it 
should be reproduced, adapted or transmitted without the 
written consent of the copyright owner.
***********************************************************



More information about the Ocfs2-users mailing list