Is this output of mounted.ocfs2 -f right?
Hi,
I'm wondering if my output of mounted.ocfs2 -f is right. I have 8 servers and 1 VM Master, each server has 1-3 disks for the shared storage, using extended iscsi storage. I am wondering, don't all the servers need to be listed in "Nodes" with this command?
[root@VMS01 ~]# mounted.ocfs2 -f
Device FS Nodes
/dev/sda3 ocfs2 Not mounted
/dev/sdb ocfs2 VMS01.a.be
/dev/sdc ocfs2 VMS01.a.be
/dev/sdd ocfs2 VMS01.a.be
/dev/sde ocfs2 VMS01.a.be
/dev/sdf ocfs2 VMS01.a.be
/dev/sdh ocfs2 VMS01.a.be
/dev/sdi ocfs2 VMS01.a.be
/dev/sdg ocfs2 VMS01.a.be
/dev/sdj ocfs2 VMS01.a.be
/dev/sdk ocfs2 VMS01.a.be
/dev/sdl ocfs2 VMS01.a.be
/dev/sdm ocfs2 VMS01.a.be
/dev/sdn ocfs2 VMS01.a.be
/dev/sdo ocfs2 VMS01.a.be
/dev/sdp ocfs2 VMS01.a.be
/dev/sdq ocfs2 VMS01.a.be
/dev/sdr ocfs2 VMS01.a.be
/dev/sds ocfs2 VMS01.a.be
/dev/sdt ocfs2 VMS01.a.be
When I add a second server to the pool I get this as output:
[root@VMS01 ~]# mounted.ocfs2 -f
Device FS Nodes
/dev/sda3 ocfs2 Not mounted
/dev/sdb ocfs2 VMS02.a.be
/dev/sdc ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdd ocfs2 VMS01.a.be, VMS02.a.be
/dev/sde ocfs2 VMS01.a.be
/dev/sdf ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdh ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdi ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdg ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdj ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdk ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdl ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdm ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdn ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdo ocfs2 VMS02.a.be
/dev/sdp ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdq ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdr ocfs2 VMS01.a.be, VMS02.a.be
/dev/sds ocfs2 VMS01.a.be, VMS02.a.be
/dev/sdt ocfs2 VMS01.a.be, VMS02.a.be
Along with all sorts of errors:
o2hb_do_disk_heartbeat: 781 ERROR: Device "sdc": another node is heartbeating in our slot!
After 10 minutes of those errors the master pool server reboots automatically due to those errors.
Ok so I set the time of all te servers but I still get the error:
o2hb_do_disk_heartbeat: 781 ERROR: Device "sdc": another node is heartbeating in our slot!
Does anyone have a suggestion what the problem could be? I get this error at creating server pool
Similar Messages
-
Mount ocfs2 error in oracle 10g installation on vmware
Dear All this is very urgent.....kindly help me...
i m running this command for mount ocfs folder but not run gives error below.......
[root@rac1 ~]#mount -t ocfs2 -o datavolume,nointr /dev/sda1 /ocfs
ocfs2_hb_ctl: Bad magic number in superblock while reading uuid
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not permitted"
--------I have run this command for checking----------
$ mounted.ocfs2 -d
$ mounted.ocfs2 -f
$ cat /etc/ocfs2/cluster.conf
$ /etc/rc.d/init.d/ocfs2 status [ as root ]
---------the output is below--------------------------------
--------From node 1----------------------------------------------
[root@rac1 ~]# mounted.ocfs2 -d
Device FS UUID Label
[root@rac1 ~]# mounted.ocfs2 -f
Device FS Nodes
[root@rac1 ~]# cat /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 172.16.31.195
number = 0
name = rac1
cluster = ocfs2
node:
ip_port = 7777
ip_address = 172.16.31.197
number = 1
name = rac2
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
[root@rac1 ~]#
[root@rac1 ~]# /etc/rc.d/init.d/ocfs2 status
[root@rac1 ~]#
----------------------from node 2----------------------------------
output from node2
[root@rac2 ~]# su -
[root@rac2 ~]# mounted.ocfs2 -d
-bash: mounted.ocfs2: command not found
[root@rac2 ~]# mounted.ocfs2 -f
-bash: mounted.ocfs2: command not found
[root@rac2 ~]# cat /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 172.16.31.195
number = 0
name = rac1
cluster = ocfs2
node:
ip_port = 7777
ip_address = 172.16.31.197
number = 1
name = rac2
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
[root@rac2 ~]# /etc/rc.d/init.d/ocfs2 status
[root@rac2 ~]#
the both node is installed on VMWARE AND LINUX IS OEL4....THE CONFIGRATION OF vmx file below
------from first node vmx file configration----------------------
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1056"
ide0:0.present = "TRUE"
ide0:0.fileName = "D:\vmware\ractesting\rac1.vmdk"
ide1:0.present = "TRUE"
ide1:0.autodetect = "TRUE"
ide1:0.deviceType = "cdrom-image"
floppy0.startConnected = "FALSE"
floppy0.fileName = ""
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
roamingVM.exitBehavior = "go"
displayName = "rac1"
guestOS = "rhel4"
nvram = "rac1.nvram"
virtualHW.productCompatibility = "hosted"
printers.enabled = "TRUE"
extendedConfigFile = "rac1.vmxf"
disk.locking="FALSE"
disklib.dataCacheMaxSize="0"
scsi1.sharedBus="virtual"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "D:\sharedstorage\ocfs2disk.vmdk"
scsi0:0.mode = "independent-persistent"
scsi0:0.deviceType="disk"
scsi0:1.present = "TRUE"
scsi0:1.fileName = "D:\sharedstorage\asmdisk1.vmdk"
scsi0:1.mode = "independent-persistent"
scsi0:1.deviceType="disk"
scsi0:2.present = "TRUE"
scsi0:2.fileName = "D:\sharedstorage\asmdisk2.vmdk"
scsi0:2.mode = "independent-persistent"
scsi0:2.deviceType="disk"
scsi0:3.present = "TRUE"
scsi0:3.fileName = "D:\sharedstorage\asmdisk3.vmdk"
scsi0:3.mode = "independent-persistent"
scsi0:3.deviceType="disk"
ethernet1.present = "TRUE"
ethernet1.connectionType = "hostonly"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.addressType = "generated"
ide1:0.fileName = "E:\OEL4\Enterprise-R4-U4-i386-disc4.iso"
ethernet0.generatedAddress = "00:0c:29:de:6c:7a"
ethernet1.generatedAddress = "00:0c:29:de:6c:84"
uuid.location = "56 4d a1 a0 2f 33 08 24-12 e5 7a 39 a7 de 6c 7a"
uuid.bios = "56 4d a1 a0 2f 33 08 24-12 e5 7a 39 a7 de 6c 7a"
cleanShutdown = "FALSE"
replay.supported = "FALSE"
replay.filename = ""
ide0:0.redo = ""
scsi0:0.redo = ""
scsi0:1.redo = ""
scsi0:2.redo = ""
scsi0:3.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
ethernet1.pciSlotNumber = "34"
sound.pciSlotNumber = "35"
ehci.pciSlotNumber = "36"
vmci0.pciSlotNumber = "37"
vmotion.checkpointFBSize = "16777216"
ethernet0.generatedAddressOffset = "0"
ethernet1.generatedAddressOffset = "10"
vmci0.id = "-1478595462"
checkpoint.vmState = ""
tools.syncTime = "TRUE"
tools.remindInstall = "FALSE"
ide1:0.startConnected = "FALSE"
------and also paste vmx file configration from node2---------------------
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1056"
ide0:0.present = "TRUE"
ide0:0.fileName = "rac2.vmdk"
ide1:0.present = "TRUE"
ide1:0.autodetect = "TRUE"
ide1:0.deviceType = "cdrom-image"
floppy0.startConnected = "FALSE"
floppy0.fileName = ""
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
roamingVM.exitBehavior = "go"
displayName = "rac2"
guestOS = "rhel4"
nvram = "rac2.nvram"
virtualHW.productCompatibility = "hosted"
printers.enabled = "TRUE"
extendedConfigFile = "rac2.vmxf"
ethernet1.present = "TRUE"
ethernet1.connectionType = "hostonly"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.addressType = "generated"
disk.locking="FALSE"
disklib.dataCacheMaxSize="0"
scsi1.sharedBus="virtual"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "D:\sharedstorage\ocfs2disk.vmdk"
scsi0:0.mode = "independent-persistent"
scsi0:0.deviceType="disk"
scsi0:1.present = "TRUE"
scsi0:1.fileName = "D:\sharedstorage\asmdisk1.vmdk"
scsi0:1.mode = "independent-persistent"
scsi0:1.deviceType="disk"
scsi0:2.present = "TRUE"
scsi0:2.fileName = "D:\sharedstorage\asmdisk2.vmdk"
scsi0:2.mode = "independent-persistent"
scsi0:2.deviceType="disk"
scsi0:3.present = "TRUE"
scsi0:3.fileName = "D:\sharedstorage\asmdisk3.vmdk"
scsi0:3.mode = "independent-persistent"
scsi0:3.deviceType="disk"
ide1:0.fileName = "E:\OEL4\Enterprise-R4-U4-i386-disc4.iso"
ide1:0.startConnected = "FALSE"
ethernet0.generatedAddress = "00:0c:29:dc:e1:c9"
ethernet1.generatedAddress = "00:0c:29:dc:e1:d3"
tools.syncTime = "TRUE"
uuid.location = "56 4d c6 2a 5b 77 ee e5-79 46 84 cd 2b dc e1 c9"
uuid.bios = "56 4d c6 2a 5b 77 ee e5-79 46 84 cd 2b dc e1 c9"
cleanShutdown = "FALSE"
replay.supported = "FALSE"
replay.filename = ""
ide0:0.redo = ""
scsi0:0.redo = ""
scsi0:1.redo = ""
scsi0:2.redo = ""
scsi0:3.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
ethernet1.pciSlotNumber = "34"
sound.pciSlotNumber = "35"
ehci.pciSlotNumber = "36"
vmci0.pciSlotNumber = "37"
vmotion.checkpointFBSize = "16777216"
usb:1.present = "TRUE"
ethernet0.generatedAddressOffset = "0"
ethernet1.generatedAddressOffset = "10"
vmci0.id = "735896009"
usb:1.deviceType = "hub"What's the output of "/etc/init.d/o2cb status"
Have you formatted the partition i.e. mkfs -t ocfs2 /dev/sdb1 -
Mounted.ocfs2 -f shows current node only
I am trying to configure two-node RAC (10g R2) on 32-bit Linux on VMWare (Vincent Chan's guide).
when I run this command, it only shows the current (where the command is issued) node:
on rac1
[root@rac1 init.d]# mounted.ocfs2 -f
Device FS Nodes
/dev/sdb1 ocfs2 rac1It shows "rac1" only. "rac2" is missing.
on rac2
[root@rac2 init.d]# mounted.ocfs2 -f
Device FS Nodes
/dev/sdb1 ocfs2 rac2It shows "rac2" only. "rac1" is missing.
Here is some info:
*1st Node - rac1*
[root@rac1 init.d]# mounted.ocfs2 -f
Device FS Nodes
/dev/sdb1 ocfs2 rac1
[root@rac1 init.d]# mounted.ocfs2 -d
Device FS UUID Label
/dev/sdb1 ocfs2 18f13142-7c34-43a1-92d3-668f666dbacb oracle
[root@rac1 init.d]# ./ocfs2 status
Configured OCFS2 mountpoints: /ocfs
Active OCFS2 mountpoints: /ocfs
[root@rac1 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: 61
Network idle timeout: 10000
Network keepalive delay: 5000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active*2nd Node - rac2*
[root@rac2 init.d]# mounted.ocfs2 -f
Device FS Nodes
/dev/sdb1 ocfs2 rac2
[root@rac2 init.d]# mounted.ocfs2 -d
Device FS UUID Label
/dev/sdb1 ocfs2 b65abba9-5988-4ee0-9e10-ad5533dff807 oracle
[root@rac2 init.d]# ./ocfs2 status
Configured OCFS2 mountpoints: /ocfs
Active OCFS2 mountpoints: /ocfs
[root@rac2 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: 61
Network idle timeout: 10000
Network keepalive delay: 5000
Network reconnect delay: 2000
Checking O2CB heartbeat: ActiveAlso, if I create a file on "/ocfs" from rac1, it is not visible on rac2 and vice versa.
Could someone please let me know what should I check further? Or what the problem maybe?
TIA
Edited by: user130038 on Jul 21, 2011 10:10 AMI don't have access to the virtual machines at the moment so I'll send you the "fdisk -l" output later but here is the excerpt from Vincent Chan's Guide that I am following to configure ocfs2 oartition - my apologies that it is not formatted/readable because I have copied it from the PDF and pasted it:
6. Configure Oracle Cluster File System (OCFS2)
OCFS2 is a general-purpose cluster file system developed by Oracle and integrated with the
Enterprise Linux kernel. It enables all nodes to share files concurrently on the cluster file system and
thus eliminates the need to manage raw devices. Here you will house the OCR and Voting Disk in
the OCFS2 file system. Additional information on OCFS2 can be obtained from OCFS2 User’s
Guide.
You should already have the OCFS2 RPMs installed during the Enterprise Linux installation. Verify
that the RPMs have been installed on both nodes.
rac1-> rpm -qa | grep ocfs
ocfs2-tools-1.2.2-2
ocfs2console-1.2.2-2
ocfs2-2.6.9-42.0.0.0.1.ELsmp-1.2.3-2
Create the OCFS2 configuration file. As the root user on rac1, execute
# ocfs2console
OCFS2 Console: Select Cluster, 1. Configure Nodes.
2. “The cluster stack has been started”: Click on Close.
3. Node Configuration: Click on Add.
Add Node: Add the following nodes and then click on Apply.
Name: rac1
IP Address: 192.168.2.131
IP Port: 7777
Name: rac2
IP Address: 192.168.2.132
4.
Install Oracle RAC 10g on Oracle Enterprise Linux Using VMware Server http://www.oracle.com/technology/pub/articles/chan-ubl-vmware.html?...
20 of 42 11-1-2007 7:40
IP Port: 7777
Verify the generated configuration file.
# more /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 192.168.2.131
number = 0
name = rac1
cluster = ocfs2
node:
ip_port = 7777
ip_address = 192.168.2.132
number = 1
name = rac2
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
5.
Propagate the configuration file to rac2. You can rerun the steps above on rac2 to generate the
configuration file or select Cluster, Propagate Configuration on the OCFS2 Console on rac1
to propagate the configuration file to rac2.
6.
Configure the O2CB driver. O2CB is a set of clustering services that manages the communication
between the nodes and the cluster file system. Below is a description of the individual services:
NM: Node Manager that keep track of all the nodes in the cluster.conf
HB: Heartbeat service that issues up/down notifications when nodes join or leave the cluster
TCP: Handles communication between the nodes
DLM: Distributed lock manager that keeps track of all locks, its owners, and status
CONFIGFS: User space driven configuration file system mounted at /config
DLMFS: User space interface to the kernel space DLM
Perform the procedure below on both nodes to configure O2CB to start on boot.
When prompted for a value for the heartbeat dead threshold, you have to specify a value higher than
7 to prevent the nodes from crashing due to the slow IDE disk drive. The heartbeat dead threshold is
a variable used to calculate the fence time.
Fence time (seconds) = (heartbeat dead threshold -1) * 2
A fence time of 120 seconds works well in our environment. The value of heartbeat dead threshold
should be the same on both nodes.
As the root user, execute
# /etc/init.d/o2cb unload
Stopping O2CB cluster ocfs2: OK
Unmounting ocfs2_dlmfs filesystem: OK
Unloading module "ocfs2_dlmfs": OK
Unmounting configfs filesystem: OK
Unloading module "configfs": OK
# /etc/init.d/o2cb configure
Configuring the O2CB driver.
This will configure the on-boot properties of the O2CB driver.
The following questions will determine whether the driver is loaded on
boot. The current values will be shown in brackets ('[]'). Hitting
without typing an answer will keep that current value. Ctrl-C
Install Oracle RAC 10g on Oracle Enterprise Linux Using VMware Server http://www.oracle.com/technology/pub/articles/chan-ubl-vmware.html?...
21 of 42 11-1-2007 7:40
will abort.
Load O2CB driver on boot (y/n) [y]: y
Cluster to start on boot (Enter "none" to clear) [ocfs2]:
Specify heartbeat dead threshold (>=7) [7]: 61
Writing O2CB configuration: OK
Loading module "configfs": OK
Mounting configfs filesystem at /config: OK
Loading module "ocfs2_nodemanager": OK
Loading module "ocfs2_dlm": OK
Loading module "ocfs2_dlmfs": OK
Mounting ocfs2_dlmfs filesystem at /dlm: OK
Starting O2CB cluster ocfs2: OK
Format the file system. Before proceeding with formatting and mounting the file system, verify that
O2CB is online on both nodes; O2CB heartbeat is currently inactive because the file system is not
mounted.
# /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
Checking O2CB heartbeat: Not active
You are only required to format the file system on one node. As the root user on rac1, execute
# ocfs2console
OCFS2 Console: Select 1. Tasks, Format.
Format:
Available devices: /dev/sdb1
Volume label: oracle
Cluster size: Auto
Number of node slots: 4
Block size: Auto
2.
3. OCFS2 Console: CTRL-Q to quit.
Mount the file system. To mount the file system, execute the command below on both nodes.
# mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs
To mount the file system on boot, add the following line in /etc/fstab on both nodes.
/etc/fstab
/dev/sdb1 /ocfs ocfs2 _netdev,datavolume,nointr 0 0
Create Oracle Clusterware directory. Create the directory in OCFS2 file system where the OCR
and Voting Disk will reside.
On rac1,
# mkdir /ocfs/clusterware
# chown -R oracle:dba /ocfs
You have completed the set up of OCFS2. Verify that you can read and write files on the shared
cluster file system from both nodes. -
Getting Error Message - mount.ocfs2: No such device while mounting
I am trying to mount an ocfs2 file system. The file system seems to have been created fine but I get an error message when I try to mount it. Here's what I get :
[root@mdcpsdb1 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 ocfs2: Online
Checking heartbeat: Active
[root@mdcpsdb1 init.d]# fsck.ocfs2 /dev/sdc1
Checking OCFS2 filesystem in /dev/sdc1:
label: oracle_hr
uuid: f6 23 5e 3b ad bb 49 87 81 a3 cb f0 b7 2a d0 ad
number of blocks: 24416784
bytes per block: 4096
number of clusters: 6104196
bytes per cluster: 16384
max slots: 4
/dev/sdc1 is clean. It will be checked after 20 additional mounts.
[root@mdcpsdb1 init.d]# mount -t ocfs2 /dev/sdc1 /hr_data
mount.ocfs2: No such device while mounting /dev/sdc1 on /hr_data
The same thing happens going through the ocfs2console.
Thanks,
DavidDid you get anwer for this error? I got same error. Thanks in advance.
-
Hello.
I have a problem with OEL 6.5 and ocfs2.
When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC.
fstab:
UUID=32130a0b-2e15-4067-9e65-62b7b3e53c72 /some/4 ocfs2 _netdev,defaults 0 0
#UUID=af522894-c51e-45d6-bce8-c0206322d7ab /some/9 ocfs2 _netdev,defaults 0 0
UUID=1126b3d2-09aa-4be0-8826-0b2a590ab995 /some/3 ocfs2 _netdev,defaults 0 0
#UUID=9ea9113d-edcf-47ca-9c64-c0d4e18149c1 /some/8 ocfs2 _netdev,defaults 0 0
UUID=a368f830-0808-4832-b294-d2d1bf909813 /some/5 ocfs2 _netdev,defaults 0 0
UUID=ee816860-5a95-493c-8559-9d528e557a6d /some/6 ocfs2 _netdev,defaults 0 0
UUID=3f87634f-7dbf-46ba-a84c-e8606b40acfe /some/7 ocfs2 _netdev,defaults 0 0
UUID=5def16d7-1f58-4691-9d46-f3fa72b74890 /some/1 ocfs2 _netdev,defaults 0 0
UUID=0e682b5a-8d75-40d1-8983-fa39dd5a0e54 /some/2 ocfs2 _netdev,defaults 0 0What is the output of:
# chkconfig --list o2cb
# chkconfig --list ocfs2
# cat /etc/ocfs2/cluster.conf -
Can´t mount OCFS2 file system after Public IP modify
Guys,
We have an environment with 2 nodes with RAC database version 10.2.0.1. We need to modify the Public IP and VIP of the Oracle CRS. So we did the following steps:
- Alter the VIP
srvctl modify nodeapps -n node1 -A 192.168.1.101/255.255.255.0/eth0
srvctl modify nodeapps -n node2 -A 192.168.1.102/255.255.255.0/eth0
- Alter the Public IP
oifcfg delif -global eth0
oifcfg setif -global eth0/192.168.1.0:public
- Alter the IP´s of the network interfaces
- Update the /etc/hosts
When we start the Oracle CRS, the components starts OK. But when we reboot the second node, the OCFS2 file system didn´t mount. The following errors occurs:
SCSI device sde: 4194304 512-byte hdwr sectors (2147 MB)
sde: cache data unavailable
sde: assuming drive cache: write through
sde: sde1
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: console ready
mtrr: your processor doesn't support write-combining
(2746,0):o2net_start_connect:1389 ERROR: bind failed with -99 at address 192.168.2.132
(2746,0):o2net_start_connect:1420 connect attempt to node rac1 (num 0) at 192.168.2.131:7777 failed with errno -99
(2746,0):o2net_connect_expired:1444 ERROR: no connection established with node 0 after 10 seconds, giving up and returning errors.
(5457,0):dlm_request_join:786 ERROR: status = -107
(5457,0):dlm_try_to_join_domain:934 ERROR: status = -107
(5457,0):dlm_join_domain:1186 ERROR: status = -107
(5457,0):dlm_register_domain:1379 ERROR: status = -107
(5457,0):ocfs2_dlm_init:2007 ERROR: status = -107
(5457,0):ocfs2_mount_volume:1062 ERROR: status = -107
ocfs2: Unmounting device (8,17) on (node 1)
When we did the command to force the mount occurs the errors:
# mount -a
mount.ocfs2: Transport endpoint is not connected while mounting /dev/sdb1 on /ocfs2. Check 'dmesg' for more information on this error.
What occurs is that the OCFS2 is trying to connect with the older Public IP. My question is, how do i change the public IP in the ocfs2 ?
regards,
Eduardo P Niel
OCP OracleHi, is correct you maybe check the /etc/cluster.conf file, maybe the configuration is wrong, you can also check the /etc/hosts file for verify the correct definition host names.
Luck
Have a good day.
Regards, -
Mount.ocfs2: Bad magic number in superblock on RAC Node2
Everytime I try to start ocfs2 or mount a filesystem on node2, I get the following error:
"mount.ocfs2: Bad magic number in superblock while opening device /dev/sdb1
uname -r : 2.6.9-78.0.1.ELsmp
[root@rac1 ~]# /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: 61
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Not active
Same filesystem is visible on node1. Any help is much appreciatedHi Yuvaraj,
I am facing the same situation and the only difference is that I am abe to see ocfs2 mount point on rac1 node and in rac2 node, it is not viewable.
If you could send how to fix this issue, it will be very gr8ful and would appreciate your timely help.
My id : [email protected]
Rac2 Node
[root@rac2 tmp]# /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: 61
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Not active
Rac1 Node
[root@rac2 tmp]# /sbin/mounted.ocfs2 -d
Device FS UUID Label
[root@rac2 tmp]# /sbin/mounted.ocfs2 -f
Device FS Nodes
Rac1 Node -
Mount.ocfs2 bad magic number in superblock
i get the following error: "mount.ocfs2: Bad magic number in superblock while opening device /dev/sdb1 .kindly help
Hi,
Did you already tried use the search of forum:
https://forums.oracle.com/forums/search.jspa?threadID=&q=Bad+magic+number+in+superblock+while+opening+device&objID=c509&dateRange=all&userID=&numResults=15
Re: mount command is not working for ocfs folder
If the search does not help you can continue on this thread.
Regards,
Levi Pereira -
Where does this output come from?
Since this morning I get the following message on my output console when I start my application, but I have no idea what triggers it.
I did determine that this class is responsible [ oracle.jbo.common.DebugDiagnostic ], but there's no source available for me to inspect. JDeveloper's help function (searched for "DebugDiagnostic" -- 1 topic) did not provide the right answer either.
It appears that this class is part of BC4J's debug output system, but I don't have logging enabled as far as I know. Other than this particular message, no other messages are displayed.
Can anyone provide some information regarding this matter? What does it mean? Why does it appear?
TIA
*** WARNING: Oracle BC4J debug build executing - do not use for timing ***
**************************************************************************Class Method Line
DebugDiagnostic <clinit>() 45
JUTableBinding$JUTableModel updateNavigated() 670
JUTableBinding updateNavigated() 500
JUIteratorBinding navigated() 546
RowSetHelper fireNavigationEvent() 257
ViewRowSetIteratorImpl notifyNavigation() 2938
ViewRowSetIteratorImpl next() 1332
ViewRowSetIteratorImpl first() 1145
ViewRowSetImpl first() 2242
ViewObjectImpl first() 4396
JUIteratorBinding rangeRefreshed() 305
RowSetHelper fireRangeRefreshed() 168
ViewRowSetIteratorImpl notifyRangeRefreshed() 2897
ViewRowSetIteratorImpl ensureRefreshed() 2231
ViewRowSetIteratorImpl refresh() 2412
ViewRowSetImpl notifyRefresh() 1556
ViewRowSetImpl execute() 548
ViewRowSetImpl executeQuery() 564
ViewObjectImpl executeQuery() 2614
MDPanelTrefwoordsoortenView1TrefwoordenPerArchiefeenheidView4 sync_Tad_met_Tst_en_Ahd() 194
MDPanelTrefwoordsoortenView1TrefwoordenPerArchiefeenheidView4 access$5000071() 14
MDPanelTrefwoordsoortenView1TrefwoordenPerArchiefeenheidView4$1 navigated() 96
RowSetHelper fireNavigationEvent() 257
ViewRowSetIteratorImpl notifyNavigation() 2938
ViewRowSetIteratorImpl next() 1332
ViewRowSetIteratorImpl first() 1145
ViewRowSetImpl first() 2242
ViewObjectImpl first() 4396
JUIteratorBinding rangeRefreshed() 305
RowSetHelper fireRangeRefreshed() 168
ViewRowSetIteratorImpl notifyRangeRefreshed() 2897
ViewRowSetIteratorImpl ensureRefreshed() 2231
ViewRowSetIteratorImpl refresh() 2412
ViewRowSetImpl notifyRefresh() 1556
ViewRowSetImpl execute() 548
ViewRowSetImpl getMasterKeyValues() 2955
ViewRowSetImpl getParameters() 2899
ViewRowSetImpl getRowFilter() 314
ViewRowSetImpl execute() 515
ViewRowSetImpl getRowCount() 1453
ViewObjectImpl getRowCount() 4603
MultimediaViewPanel$1 _updateButtonStates() 39
JUNavigationBar$2 run() 969
InvocationEvent dispatch() 154
EventQueue dispatchEvent() 337
EventDispatchThread pumpOneEventForHierarchy() 131
EventDispatchThread pumpEventsForHierarchy() 98
EventDispatchThread pumpEvents() 93
EventDispatchThread run() 85I should underline again that I use a customized version of JUTableBinding. When I remove that file from the project, so that the default version is used, this output is not displayed.
For your information, this is the fragment in the customized file which loads the DebugDiagnostic class (line 670 to be exact):
668: void updateNavigated(NavigationEvent event)
669: {
670: DebugDiagnostic.println("Navigated to " + event.getRowIndex());
671: // This is to go through the case the navigation event arrive first.
672: // Since we are navigating there is at least one row.
673: // if (rowCount == 0) -
I have copied over my music files to a new computer and the music shows on itunes but wont play. When I track where the song is located it is reading the wrong information. How do I change this as Edit>Preferences has the right location?
Select one of the tracks with a broken link, press ctrl-i to Get Info. Say No when iTunes asks if you would like to locate the track, then look at the Summary tab for the location expects to find the file in.
Now try to locate the file in question. The two locations should give a clue as to what to do next.
Here is an example with a file I've deliberately moved from the new layout to the old pre-iTunes 9 layout.
This means iTunes is expecting to find the file at:
D:\iTunes\iTunes Media\Music\a-ha\Take On Me\01 Take On Me.mp3
but it isn't there because I've moved it to:
D:\iTunes\iTunes Media\a-ha\Take On Me\01 Take On Me.mp3
which is where it would have lived back in iTunes 8 (though the media folder would have been called iTunes Music back then as well).
If you can provide the expected and actual locations of a broken track I should be able to suggest the easiest way to resolve things.
tt2 -
Why am I not able to export NEF files to Photoshop from Lightroom to edit. This is new. When I right click on an image, the export to PS option is not selectable. I've never had this happen before. I haven't used it for a few weeks, so maybe there's an update (Mac or otherwise) that's screwing things up? HELP!
I have an Edit In - Photoshop option, but not an Export - Photoshop option.
Obviously to have right-click Edit In to work, the photo you're right-clicking on needs to be selected. I assume this is not the problem, and that the photo is selected.
Mavericks 10.9.3 has a problem where the Users folder is hidden, and you need to update iTunes to fix it, but it's been a few weeks since this happened so hopefully you're up-to-date and the Users folder isn't hidden anymore.
If you can't get things to work, I'd uninstall LR and uninstall Photoshop, then install Photoshop, and update it, then install LR and update it, as a way to get any wayward security or other OS-level things reset. -
How to generate this output?URGENT
how to generate using DOM or SAX to get this output?
<project>
<process name = " Process1 " >
</project>
i am stuck here ... may i know how to continued coding from here.. must add in wat ? can any one tell me thank....
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.*;
import org.w3c.dom.DOMException;
import java.io.*;
import java.util.*;
public class TestVector
private Vector m_vProcess;
String strProjectName;
public static void main(String[] args)
TestVector pThis = new TestVector();
pThis -> WriteToXML(m_vProcess);
public void TestVector {
strProjectName ="Project1";
m_vProcess = new Vector();
m_vProcess.add("Process1");
m_vProcess.add("Process2");
public void WriteToXML(Vector vProcess)
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = facory.newDocumentBuilder();
Document builder = builder.parse("Project.xml");
Node rootNode = document.getDocumentElement();
NodeList list = document.getElementsByTagName("Project");
// Loop through the list.
for (int i=0; i < list.getLength(); i++) {
thisProjectNode = list.item(i);
Node thisName1Node = thisProjectNode.getFirstChild();
if (thisName1Node == null) continue;
if (thisName1Node.getFirstChild() == null) continue;
if (! thisName1Node.getFirstChild() instanceof
org.w3c.dom.Text) continue;
String data = thisName1Node.getFirstChild().getNodeValue();
if (! data.equals("Process1")) continue;
//We're at the Mocha Java node. Create and insert the new
//element.
Node newCoffeeNode = document.createElement("Project");
Node newName1Node = document.createElement("Process");
Text tnNode = document.createTextNode("Process1");
newName1Node.appendChild(tnNode);
Node newName2Node = document.createElement("Process");
Text tpNode = document.createTextNode("Process2");
newName2Node.appendChild(tpNode);
newProjectNode.appendChild(newName1Node);
newProjectNode.appendChild(newName2Node);
rootNode.insertBefore(newProjectNode, thisProjectNode);
break;i am not good in programming..wat ever i read b4 ,i wlll forget easily ..and y the output nv come out after i type these...
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.*;
import org.w3c.dom.DOMException;
import java.io.*;
import java.util.*;
public class TestVector
private Vector m_vProcess;
String strProjectName;
public static void main(String[] args)
TestVector pThis = new TestVector();
pThis -> WriteToXML(m_vProcess);
public void TestVector {
strProjectName ="Project1";
m_vProcess = new Vector();
m_vProcess.add("Process1");
m_vProcess.add("Process2");
public void WriteToXML(Vector vProcess)
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = facory.newDocumentBuilder();
Document builder = builder.parse("Project.xml");
TransformerFactory tfac = TransformerFactory.newInstance();
FileWriter fileWtr = new FileWriter("output.xml");
StreamResult strResult = new StreamResult(fileWtr);
Transformer trans = tfac.newTransformer();
trans.transform(new DOMSource(document.getDocumentElement()),strResult);
Node rootNode = document.getDocumentElement();
NodeList list = document.getElementsByTagName("Project");
// Loop through the list.
for (int i=0; i < list.getLength(); i++) {
thisProjectNode = list.item(i);
Node thisName1Node = thisProjectNode.getFirstChild();
if (thisName1Node == null) continue;
if (thisName1Node.getFirstChild() == null) continue;
if (! thisName1Node.getFirstChild() instanceof
org.w3c.dom.Text) continue;
String data = thisName1Node.getFirstChild().getNodeValue();
if (! data.equals("Process1")) continue;
Node newCoffeeNode = document.createElement("Project");
Node newName1Node = document.createElement("Process");
Text tnNode = document.createTextNode("Process1");
newName1Node.appendChild(tnNode);
Node newName2Node = document.createElement("Process");
Text tpNode = document.createTextNode("Process2");
newName2Node.appendChild(tpNode);
newProjectNode.appendChild(newName1Node);
newProjectNode.appendChild(newName2Node);
rootNode.insertBefore(newProjectNode, thisProjectNode);
break; -
i need to know that why this code is giving the following output..what's the flow of control.......
public class ThreadPrint {
static synchronized Thread makeT(final String id,boolean d)
{Thread t=new Thread(id) {
public void run() {System.out.println(id);
// System.out.println("hi" + ":" + id);
//t.setDaemon(d) ;
t.start();return t;
public static void main(String s[])
Thread a=makeT("A",false);
Thread b=makeT("B",false);
System.out.println("End");
output:
End
A
B
liz,
Try to explain this one...
package forums;
public class ThreadPrinter {
static synchronized Thread makeThread(final String id,boolean d) {
Thread t = new Thread(id) {
public void run() {
for(int i=0; i<10; i++) {
System.out.println(id+" "+i);
t.start();
return t;
public static void main(String s[]) {
Thread a=makeThread("A",false);
Thread b=makeThread("B",false);
System.out.println("End");
}produces
Test 1
A 0
A 1
A 2
A 3
A 4
A 5
A 6
A 7
A 8
A 9
End
B 0
B 1
B 2
B 3
B 4
B 5
B 6
B 7
B 8
B 9Test 2
End
B 0
B 1
B 2
A 0
A 1
A 2
A 3
A 4
A 5
A 6
A 7
A 8
A 9
B 3
B 4
B 5
B 6
B 7
B 8
B 9Hmmm... vely intarasting :-)
Keith.
liz,
Try to explain this one...
package forums;
public class ThreadPrinter {
static synchronized Thread makeThread(final String id,boolean d) {
Thread t = new Thread(id) {
public void run() {
for(int i=0; i<10; i++) {
System.out.println(id+" "+i);
t.start();
return t;
public static void main(String s[]) {
Thread a=makeThread("A",false);
Thread b=makeThread("B",false);
System.out.println("End");
}produces
Test 1
A 0
A 1
A 2
A 3
A 4
A 5
A 6
A 7
A 8
A 9
End
B 0
B 1
B 2
B 3
B 4
B 5
B 6
B 7
B 8
B 9Test 2
End
B 0
B 1
B 2
A 0
A 1
A 2
A 3
A 4
A 5
A 6
A 7
A 8
A 9
B 3
B 4
B 5
B 6
B 7
B 8
B 9Hmmm... vely intarasting :-)
Keith.
Sql query to generate this output
Hi,
I have a table as follows;
SET_MASTER
ID set_id attribute_id attribute_value
1 1 2 10
2 1 3 20
3 1 4 50
4 1 5 60
5 2 2 10
6 2 3 30
7 2 4 40
8 2 5 50
I want to generate an output as folllows;
Attr_id Set1_attr_value Set2_attr_value min_attr_value max_attr_value
2 10 10 10 10
3 20 30 20 30
4 50 40 40 50
5 60 50 50 60
Please provide the query to generate this output.
Thanks.
SQL> create table set_master (id,set_id,attribute_id,attribute_value)
2 as
3 select 1, 1, 2, 10 from dual union all
4 select 2, 1, 3, 20 from dual union all
5 select 3, 1, 4, 50 from dual union all
6 select 4, 1, 5, 60 from dual union all
7 select 5, 2, 2, 10 from dual union all
8 select 6, 2, 3, 30 from dual union all
9 select 7, 2, 4, 40 from dual union all
10 select 8, 2, 5, 50 from dual
11 /
Tabel is aangemaakt.
SQL> select attribute_id attr_id
2 , max(decode(set_id,1,attribute_value)) set1_attr_value
3 , max(decode(set_id,2,attribute_value)) set2_attr_value
4 , least(max(decode(set_id,1,attribute_value)),max(decode(set_id,2,attribute_value))) min_attr_value
5 , greatest(max(decode(set_id,1,attribute_value)),max(decode(set_id,2,attribute_value))) max_attr_value
6 from set_master
7 group by attribute_id
8 order by attribute_id
9 /
ATTR_ID SET1_ATTR_VALUE SET2_ATTR_VALUE MIN_ATTR_VALUE MAX_ATTR_VALUE
2 10 10 10 10
3 20 30 20 30
4 50 40 40 50
5 60 50 50 60
4 rijen zijn geselecteerd.Regards,
Rob.
How to take this output from javacreator?
i wanna take this output.
123456
12345
1234
123
12
1
... What? Can you word that into a somewhat sensible English sentence? Are you trying to create that output? I assume javacreator = JCreator? Anyways... I would suggest starting with a for loop nested within another for loop. That would be your best bet in terms of difficulty to implement.
Hint: first for loop would be your max number, going down, nested loop should be for printing each line.
Edited by: XTTX on Nov 25, 2007 5:52 AM
Maybe you are looking for
-
Error when run without admin rights
I created a program that need to be run on a companies computers, the people who will run it can't have admin rights, however, if the program is run without admin rights all it does is create an error txt file, with the following: # An unexpected err
-
Best TV display to connect to Mac Pro 1.1
Right now i have 30" apple display and 45" samsung tV monitor. I want to get rid off both and replace with 55-60" TV monitor. But I don't want to loose resolution while I am using that monitor for computer work like writing projects/editing movies/pi
-
4 hours and Security Wipe still continuing in Q5
I set my phone on security wipe and its been 4 hours and its still not finished. I removed the media card... Need urgent help. Hard reboot is alos not working Solved! Go to Solution.
-
Hello Gurus when MRP runs , what is the process of BOM selection. Are there any user exits to control the BOM selection.
-
We have Application Express (APEX) installed on one of our production database servers. When I do a search for java I find it in Oracle 10g home and I also find it in the Oracle 10g home for APEX. I know that APEX creates Java in the background for t