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
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]#
-----Original Message-----
From: Sunil Mushran [mailto:[EMAIL PROTECTED]
Sent: Thursday, 19 April 2007 9:11 AM
To: Wang Steven
Cc: [email protected]
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
[EMAIL PROTECTED] ~]# /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
[EMAIL PROTECTED] ~]# 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"
[EMAIL PROTECTED] 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
[email protected]
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.
***********************************************************
_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users