[Ocfs2-users] Re: [Ocfs2-announce] Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...

Mandar P Vengurlekar mandar.p.vengurlekar at gmail.com
Wed Jun 1 21:04:40 CDT 2005


Sure Sunil.
Was not aware of the particulars for the forum.
Will not post any on the other forum...

======================
node 0
# fdisk -l

Disk /dev/sda: 40.0 GB, 40000000000 bytes
255 heads, 63 sectors/track, 4863 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      514048+  83  Linux
/dev/sda2              65        4863    38547967+  8e  Linux LVM

Disk /dev/sdb: 250.9 GB, 250999209984 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         123      987966   83  Linux
/dev/sdb2             124        6203    48837600   83  Linux
/dev/sdb3            6204       12283    48837600   83  Linux
/dev/sdb4           12284       18363    48837600   83  Linux
# /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 cluster MCLUSTER: Online
Checking heartbeat: Not active
# cat trace_ocfs2_errors
echo "super on" > /proc/fs/ocfs2_nodemanager/log_mask
echo "entry allow" >/proc/fs/ocfs2_nodemanager/log_mask
echo "exit allow" >/proc/fs/ocfs2_nodemanager/log_mask
mount -v -t ocfs2 /dev/sdb1 /ocfs2/oradata/r10g/orcl
echo "super on" > /proc/fs/ocfs2_nodemanager/log_mask
echo "entry deny" >/proc/fs/ocfs2_nodemanager/log_mask
echo "exit deny" >/proc/fs/ocfs2_nodemanager/log_mask
# ./trace_ocfs2_errors
device=/dev/sdb1
mount.ocfs2: No such device while mounting /dev/sdb1 on 
/ocfs2/oradata/r10g/orcl

dmesg output - dmesg_02_1(attachment)
++++++++++
# tail -20 /var/log/messages
Jun  1 21:46:46 linux1 kernel: Hangcheck: starting hangcheck timer 0.5.0 
(tick is 180 seconds, margin is 60 seconds).
Jun  1 21:46:49 linux1 fstab-sync[3405]: removed all generated mount points
Jun  1 21:46:49 linux1 kernel: ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 16 
(level, low) -> IRQ 169
Jun  1 21:46:49 linux1 kernel: [drm] Initialized i915 1.1.0 20040405 on 
minor 0:
Jun  1 21:46:49 linux1 kernel: mtrr: base(0xc0020000) is not aligned on a 
size(0x258000) boundaryJun  1 21:46:50 linux1 fstab-sync[3529]: added mount 
point /media/cdrecorder for /dev/hda
Jun  1 21:49:33 linux1 remote(pam_unix)[3717]: session opened for user root 
by (uid=0)
Jun  1 21:49:33 linux1  -- root[3717]: ROOT LOGIN ON pts/1 FROM 192.168.1.1
Jun  1 21:49:50 linux1 gconfd (root-3767): starting (version 2.8.1), pid 
3767 user 'root'
Jun  1 21:49:50 linux1 gconfd (root-3767): Resolved address 
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration 
source at position 0
Jun  1 21:49:50 linux1 gconfd (root-3767): Resolved address 
"xml:readwrite:/root/.gconf" to a writable configuration source at position 
1
Jun  1 21:49:50 linux1 gconfd (root-3767): Resolved address 
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration 
source at position 2
Jun  1 21:50:01 linux1 crond(pam_unix)[3865]: session opened for user root 
by (uid=0)
Jun  1 21:50:01 linux1 crond(pam_unix)[3866]: session opened for user root 
by (uid=0)
Jun  1 21:50:01 linux1 crond(pam_unix)[3866]: session closed for user root
Jun  1 21:50:07 linux1 crond(pam_unix)[3865]: session closed for user root
Jun  1 21:50:16 linux1 gconfd (root-3767): Resolved address 
"xml:readwrite:/root/.gconf" to a writable configuration source at position 
0
Jun  1 21:50:39 linux1 remote(pam_unix)[3717]: session closed for user root
Jun  1 21:55:01 linux1 crond(pam_unix)[3924]: session opened for user root 
by (uid=0)
Jun  1 21:55:01 linux1 crond(pam_unix)[3924]: session closed for user root


================================
node 1 ( in a node0-node1 cluster)
# fdisk -l

Disk /dev/hda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14        6387    51199155   8e  Linux LVM
/dev/hda3            6388        8000    12956422+  83  Linux
/dev/hda4            8001        9726    13864095   83  Linux

Disk /dev/sda: 250.9 GB, 250999209984 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         123      987966   83  Linux
/dev/sda2             124        6203    48837600   83  Linux
/dev/sda3            6204       12283    48837600   83  Linux
/dev/sda4           12284       18363    48837600   83  Linux

# /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 cluster MCLUSTER: Online
Checking heartbeat: Not active

commands run:
# cat ./trace_ocfs2_errors
echo "super on" > /proc/fs/ocfs2_nodemanager/log_mask
echo "entry allow" >/proc/fs/ocfs2_nodemanager/log_mask
echo "exit allow" >/proc/fs/ocfs2_nodemanager/log_mask
mount -v -t ocfs2 /dev/sda1 /ocfs2/oradata/r10g/orcl
echo "super off" > /proc/fs/ocfs2_nodemanager/log_mask
echo "entry deny" >/proc/fs/ocfs2_nodemanager/log_mask
echo "exit deny" >/proc/fs/ocfs2_nodemanager/log_mask
# ./trace_ocfs2_errors
device=/dev/sda1
mount.ocfs2: No such device while mounting /dev/sda1 on 
/ocfs2/oradata/r10g/orcl
=========

dmesg output = dmesg_02( attachment)
*******
# tail -20 /var/log/messages
Jun  1 21:42:51 linux2 su(pam_unix)[4050]: session closed for user ora10g
Jun  1 21:43:02 linux2 gconfd (root-4137): starting (version 2.8.1), pid 
4137 user 'root'
Jun  1 21:43:02 linux2 gconfd (root-4137): Resolved address 
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration 
source at position 0
Jun  1 21:43:02 linux2 gconfd (root-4137): Resolved address 
"xml:readwrite:/root/.gconf" to a writable configuration source at position 
1
Jun  1 21:43:02 linux2 gconfd (root-4137): Resolved address 
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration 
source at position 2
Jun  1 21:43:02 linux2 remote(pam_unix)[4017]: session closed for user root
Jun  1 21:43:04 linux2 gconfd (root-4137): Resolved address 
"xml:readwrite:/root/.gconf" to a writable configuration source at position 
0
Jun  1 21:44:39 linux2 kernel: ieee1394: sbp2: Error reconnecting to SBP-2 
device - reconnect failed
Jun  1 21:44:39 linux2 kernel: ieee1394: sbp2: Logged out of SBP-2 device
Jun  1 21:44:39 linux2 kernel: ieee1394: sbp2: Maximum concurrent logins 
supported: 3
Jun  1 21:44:39 linux2 kernel: ieee1394: sbp2: Number of active logins: 0
Jun  1 21:44:39 linux2 kernel: ieee1394: sbp2: Logged into SBP-2 device
Jun  1 21:45:01 linux2 crond(pam_unix)[4241]: session opened for user root 
by (uid=0)
Jun  1 21:45:01 linux2 crond(pam_unix)[4241]: session closed for user root
Jun  1 21:50:01 linux2 crond(pam_unix)[4308]: session opened for user root 
by (uid=0)
Jun  1 21:50:01 linux2 crond(pam_unix)[4311]: session opened for user root 
by (uid=0)
Jun  1 21:50:01 linux2 crond(pam_unix)[4308]: session closed for user root
Jun  1 21:50:01 linux2 crond(pam_unix)[4311]: session closed for user root
Jun  1 21:55:01 linux2 crond(pam_unix)[4316]: session opened for user root 
by (uid=0)
Jun  1 21:55:02 linux2 crond(pam_unix)[4316]: session closed for user root

Regards,
Mandar Vengurlekar

----- Original Message ----- 
From: "Sunil Mushran" <Sunil.Mushran at oracle.com>
To: "Mandar P Vengurlekar" <mandar.p.vengurlekar at gmail.com>
Cc: "Bert Barbe" <bert.barbe at oracle.com>; <ocfs2-users at oss.oracle.com>
Sent: Wednesday, June 01, 2005 8:18 PM
Subject: Re: [Ocfs2-announce] Re: ocfs2 and configfs.ko..fixed...but 
gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...


> How about enabling tracing before mounting as follows:
>
> echo "super on" > /proc/fs/ocfs2_nodemanager/log_mask
> echo "entry allow" >/proc/fs/ocfs2_nodemanager/log_mask
> echo "exit allow" >/proc/fs/ocfs2_nodemanager/log_mask
>
> mount -t ocfs2 /dev/.....
>
> echo "super off" > /proc/fs/ocfs2_nodemanager/log_mask
> echo "entry deny" >/proc/fs/ocfs2_nodemanager/log_mask
> echo "exit deny" >/proc/fs/ocfs2_nodemanager/log_mask
>
> email the dmesg output.
>
> Also, ocfs2-announce list is for announcements. ocfs2-users is for
> such issues.
>
> Mandar P Vengurlekar wrote:
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg_02_1
Type: application/octet-stream
Size: 17081 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-users/attachments/20050601/de585017/dmesg_02_1-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg_02
Type: application/octet-stream
Size: 15563 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-users/attachments/20050601/de585017/dmesg_02-0001.obj


More information about the Ocfs2-users mailing list