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 AM
I 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.
Similar Messages
-
Mounted.ocfs2 -f shows "Unknown"
Hi,
I have installed Oracle VM on two seperate servers and configured external SAN storage repository in cluster.
I can create file on shared storage from first server and remove it from second server, means my cluster configuration is working correctly as expected.
But when I type mounted.ocfs2 -f command on both servers then it shows _"Unknown"_ for second server(i.e. test02), any idea what am I missing?
*[root@test01]# mounted.ocfs2 -f*
Device FS Nodes
/dev/sda3 ocfs2 Not mounted
/dev/sdb1 ocfs2 test01, Unknown
*[root@test02]# mounted.ocfs2 -f*
Device FS Nodes
/dev/sda3 ocfs2 Not mounted
/dev/sdb1 ocfs2 test01, Unknown
Thank you.There is a problem with having node numbers in /etc/ocfs2/cluster.conf that are greater or equal to node_count. If that's the case, for example you have a node with number 2 and node_count = 2, then change the node number to 1 on both nodes, make a note of the currently mounted filesystems (devices and their mount points), unmount the ocfs2 filesystems, run service o2cb stop on both nodes, service o2cb start on both nodes, then mount the ocfs2 filesystems again, and it should be fixed.
-
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 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 -
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 -
In BEx, how to display hierarchy Upper Node with selected Lower Nodes only
Currently I am displaying the Cost Centre (GFL Responsibility Cost Centre) hierarchy in a workbook. I want to be able to filter on this hierarchy dynamically. E.g. the upper node must be displayed including the rolled up results for this node, together with a selection of the lower nodes e.g 2 nodes ( not all the lower nodes related to the upper node must be displayed in the query).
What's possible when filtering :
To filter on the 2 lower nodes only ( results are displayed as required)
Not possible:
When I include the higher node of the 2 lower nodes in the query, All the lower nodes of the higher node are displayed, and the filter selection of the lower nodes are over written.
This is logically what's expected when the higher node is included in the filter.
Creating a hierarchy variable gives the same problem, I am not able to filter on the hierarchy nodes as required.
<b>Upper Node</b>
<b>Lower Node1 LowerNode2 LowerNode3</b>
Filter the report for UpperNode and LowerNode 2 & 3 only
<b><i>Thanking YOU in advance. Will reward points for the correct help</i></b>Hi
Do you want to show particular node or particular level ?
If you want particular node , then create hierarchy node variable and restrict to that node ( 3rd node)
If you want particular level, what does that mean say i am taking employee hierarchy and the hierarchy is as below.
Ihe setting that we have is to expand upto n levels but if yiou say i need level 2 what does that mean and how do you want to show in report ?
A -
(level 1)
B,C,D( --child of A ) --- level 2
E(Child of B), F(Child of C) -
level 3.
Regards
vamsi -
Search with "Current Node + All Subfolders" not functioning correctly
Hi,
We are having an issue with the search function of SCCM 2012 Admin Console. We have built multi-level folder structure to SCCM which matches our organizational unit structure in AD.
The issue occurs when trying to search with "Current Node + All Subfolders" option in a folder to get listing of all collections nested in the structure. As a result we get incomplete list of collections and majority of them are not showing
up. Sometimes the console even crashes when trying to do this kind of search. Note that this behaviour only occurs when searching inside a folder, not in the device collections root node.
We managed to trace the SQL query in the above situation from SMSProv.log, and it is as follows:
select all SMS_Collection.SiteID,SMS_Collection.CollectionType,SMS_Collection.CollectionVariablesCount,SMS_Collection.CollectionComment,SMS_Collection.CurrentStatus,SMS_Collection.HasProvisionedMember,SMS_Collection.IncludeExcludeCollectionsCount,SMS_Collection.IsBuiltIn,SMS_Collection.IsReferenceCollection,SMS_Collection.LastChangeTime,SMS_Collection.LastMemberChangeTime,SMS_Collection.LastRefreshTime,SMS_Collection.LimitToCollectionID,SMS_Collection.LimitToCollectionName,SMS_Collection.LocalMemberCount,SMS_Collection.ResultClassName,SMS_Collection.MemberCount,SMS_Collection.MonitoringFlags,SMS_Collection.CollectionName,SMS_Collection.PowerConfigsCount,SMS_Collection.RefreshType,SMS_Collection.ServiceWindowsCount from vCollections AS SMS_Collection where (SMS_Collection.SiteID
in (select all Folder##Alias##810314.InstanceKey from vFolderMembers AS Folder##Alias##810314
where (Folder##Alias##810314.ObjectTypeName = N'SMS_Collection_Device'
AND Folder##Alias##810314.ContainerNodeID in
(16777237,16777374,16777384,16777385,16777375,16777376,16777377,16777378)))
AND SMS_Collection.CollectionType = 2) order by SMS_Collection.CollectionName
From this we noticed that not all ContainerNodeIDs are searched, but a list of only 8 ContainerNodeIDs. These ContainerNodeIDs remain the same if the search is done again in the same folder. The same behaviour repeats also in other folders with a different
list of ContainerNodeIDs.
For clarification I'll attach a picture which shows our folder structure with ContainerNodeIDs and ParentContainerIDs. We have also marked the containers which were present in SQL statement. From this you can clearly see there should have been far more ContainerNodeIDs
than listed in the SQL query. Is this a bug in the admin console or could this be a problem with our site database? Is anyone else experiencing similar issues? We have written a custom
powershell script that reads containers from SMS_ObjectContainerNode WMI-class recursively and is able to return complete list of folders and their subfolders, so we assume that our site database and WMI on site server is functioning correctly.
We noticed this on CU2 (could have been present also earlier) and updating to CU3 did not fix the problem. Currently we are running SCCM 2012 SP1 CU3 with one primary site. All components besides distribution point is running on the site server. Distrubution
point is running on a separate server. Our SQL server is running on the site server.
Best Regards,
Juha-MattiSorry for the very long delay. I created the ticket in the autumn of last year and just received the final verdict to this issue.
Microsoft support said they were able to reproduce the problem and that they contacted the product group about this issue. It turns out that this behaviour is by design (wait, what?) and since it is by design there is nothing they
can/will do about it.
So the only choice is to request a tailored customization for SCCM2012, which probably in this case (as it is by design) would cost.
I feel a bit puzzled: how can it be by design if it clearly does not work? -
In portal it shows both status in bex it shows current
Hi experts,
Can anyone please tell me when i run sales order report it shows (current)Booked status in BW(BEX) but in portal it shows open and Booked status(it should show only Booked status).ThanksHi Rohit,
As per your suggestion i have removed high value from filter and then checkd CRMSUBTAB in ERP it shows an entry CRS_MATERIAL_EXTRACT
Entries in ERP-table CRMSUBTAB
Client
User
Object Name Downloaded
Up-or downloaded
object class
Function Module name
CRM
D
MATERIAL
CRS_MATERIAL_EXTRACT
Also find the entries in CRM-table CRMSUBTAB
Entries in CRM-table CRMSUBTAB
Client
User
Object Name Downloaded
Up-or downloaded
object class
Function Module name
CRM
ADPTESTMBDOC
D
ADPTEST
ADPTST_EXTRACT_MODULE
CRM
ADPTESTMBDOC
U
ADPTEST
CRM_ADPTESTMBDOC_LOAD_PROXY
CRM
BUAG_MAIN
D
BUPA
CRM_BUAG_MAIN_EXTRACT_GUIDS
CRM
BUPA_MAIN
D
BUPA
CRM_BUPA_MAIN_EXTRACT_GUIDS
CRM
BUPA_REL
D
BUPA
CRM_BUPA_REL_EXTRACT_GUIDS
CRM
CMDOC_NOTIFY
D
CMDOC_NOTIFY
CRM_CM_EXTRACT_GUIDS
CRM
VEND_MAIN
D
BUPA
CRM_BUPA_MAIN_EXTRACT_GUIDS
After that i did material replication but it still shows block size 0 -
Possible to show current time during call (not length of call)?
when i am on a call, the lock screen shows the phone number and the length of time i have been on the call. is it possible to change this, so that the lock screen shows me the current time (like it does when i am not on the phone)?
currently, the only way to bring up the current time is to (1) hit the home button (brings up phone controls), (2) slide to unlock, (3) hit home again (to get to enter passcode screen), and (4) enter passcode to see time in green bar at the top of the screen. it's a cumbersome process.If I receive a call when locked, after answering, I can see the time in the top status bar...
-
Show Current Date in Year Format (and now - 1, etc.)
Our form has some column headers that need to change each year, the headings are current year (2010) + previous 3 years. Am trying to programatically add the titles to eliminate modifying the form just to change the year, but not finding how to accomplish, and was checking out some date samples found, but no success yet. My question is 2 part - how/where do I put code, I don't need the user to enter anything, just want a column header. This example below is where I copied the idea from a sample and tried to adjust, it's on the calculate event of a date/time field, and I get an error message that says 'the display pattern "date-{MM/DD]" is incompatible with the object's data format. Define a compatible Display pattern. This display pattern error is the 2nd part of the question. How do I display only the 4 digit year?
year1.rawValue
= num2date(date(), "YYYY")
How do I accomplish this - am newbie on this! Thank you very much!
1) I typically use a hidden field to capture the current date on the layout:ready event.
2) If year1 is a date object your script is valid but you are probably missing the display pattern date{YYYY} on year1.
If year1 is a text field you could could capture current year in a hidden field as
// form1.page1.currentYear::ready:layout - (FormCalc, client)
$.rawValue = Num2Date(Date(), "YYYY")
where currentYear has the display pattern date{YYYY} and add
this.rawValue = form1.page1.currentYear.rawValue;
to the calculate event of year1.
Steve
1) I typically use a hidden field to capture the current date on the layout:ready event.
2) If year1 is a date object your script is valid but you are probably missing the display pattern date{YYYY} on year1.
If year1 is a text field you could could capture current year in a hidden field as
// form1.page1.currentYear::ready:layout - (FormCalc, client)
$.rawValue = Num2Date(Date(), "YYYY")
where currentYear has the display pattern date{YYYY} and add
this.rawValue = form1.page1.currentYear.rawValue;
to the calculate event of year1.
Steve
External Video: Show Current Frame
This isn't hugely important but since starting with FCP I have wanted to be able to show external video whenever I'm parked on a frame - i.e. not moving video. I often want "All Frames" off because it can choke on the full resolution/framerate I'm trying to assess.
For the longest time I thought External Video / Show Current Frame was supposed to do this but just wasn't working. It eventually occurred to me that you have to shift-f12 every time you want the output updated.
Is there a way to tell FCP to "show current frame" whenever I pause playback or step through frames?
Another strategy is to turn off 'mirror on desktop'. That reduces the processor overhead significantly which is very useful on low power machines yet you get all your images sent to the external monitor.
The check box can be found in: Menu Bar>Final Cut Pro>Audio/Video Settings> A/V Devices>
Scrubbing in the Canvas works and the current frame will show up in Canvas when you stop messing around. Canvas is only bypassed when you play the timeline.
good luck.
x
Hi all,
I am working with a report where I am showing a hierarchy. I am wondering if it is possible to see all nodes in the hierarchy, that is even if some nodes do not contain data. By default only the nodes that contain data are displayed. How do I show all nodes in BI 3.5?
Thanks in advance!
CL
Hi CL,
You can try following.
Make sure you have some data in say KF A for the each node even if it is zero in the cube on which you are creating report Add this KF A to your query and Hide the KF. Make sure you do not have any restrictions to this KF A.
I just took example KF A . This can be any of your KF in the cube or a Calculated KF,
Jaya
OCFSV2 : mount.ocfs2: Bad magic number in inode
Hi everyone,
DUe to high load I/O, i can't mount my ocfsV2 partition :
mount.ocfs2: Bad magic number in inode while trying to determine heartbeat information
marge:~# fsck.ocfs2 /dev/sdc1
fsck.ocfs2: Bad magic number in inode while initializing the DLM
The disk is an iscsi device, there are no block damaged.
I try to modify the signature with bvi but the result is the same.
The disk containt image file created with dd (Virtual machine).
Do you have a software or a workaround to recover my vm's ?
Or i must consider to format my parttion ?
Thank you
I know , i wan't to switch to Linux forum but how to do that ? :-)
marge:~# modinfo ocfs2
filename: /lib/modules/2.6.26-2-xen-amd64/kernel/fs/ocfs2/ocfs2.ko
license: GPL
author: Oracle
version: 1.5.0
description: OCFS2 1.5.0
srcversion: C692B48692BFC8597E4D7A7
depends: jbd,ocfs2_stackglue,ocfs2_nodemanager
vermagic: 2.6.26-2-xen-amd64 SMP mod_unload modversions Xen
I created the filesystem with debian :
mkfs.ocfs2 /dev/sdc1
By default it create 4K cluster size. And it make 6 backup off superblock.
But recover superblock doesn"t work :
marge:~# fsck.ocfs2 -r 1 /dev/sdc1
[RECOVER_BACKUP_SUPERBLOCK] Recover superblock information from backup block#262144? <n> y
fsck.ocfs2: Bad magic number in inode while initializing the DLM
marge:~# debugfs.ocfs2 -R stats /dev/sdc1
Revision: 0.90
Mount Count: 0 Max Mount Count: 20
State: 0 Errors: 0
Check Interval: 0 Last Check: Thu May 7 16:26:37 2009
Creator OS: 0
Feature Compat: 1 BackupSuper
Feature Incompat: 16 Sparse
Tunefs Incomplete: 0 None
Feature RO compat: 1 Unwritten
Root Blknum: 5 System Dir Blknum: 6
First Cluster Group Blknum: 3
Block Size Bits: 12 Cluster Size Bits: 12
Max Node Slots: 4
Label:
UUID: 3677066B5C7B424BB79FE30764552B57
Cluster stack: classic o2cb
Inode: 2 Mode: 00 Generation: 3020404948 (0xb407b8d4)
FS Generation: 3020404948 (0xb407b8d4)
Type: Unknown Attr: 0x0 Flags: Valid System Superblock
User: 0 (root) Group: 0 (root) Size: 0
Links: 0 Clusters: 52432135
ctime: 0x4a02ef9d -- Thu May 7 16:26:37 2009
atime: 0x0 -- Thu Jan 1 01:00:00 1970
mtime: 0x4a02ef9d -- Thu May 7 16:26:37 2009
dtime: 0x0 -- Thu Jan 1 01:00:00 1970
ctime_nsec: 0x00000000 -- 0
atime_nsec: 0x00000000 -- 0
mtime_nsec: 0x00000000 -- 0
Last Extblk: 0
Sub Alloc Slot: Global Sub Alloc Bit: 65535
debugs say superblock is ok but unable to mount the partition :
mount.ocfs2: Bad magic number in inode while trying to determine heartbeat information
CS4 Actions change "Show Current Layer, Toggle With Others" MIA
Greetings forumers,
I have been using Photoshop for years as a hobby and professionally. My employer recently upgraded our Mac Pro Quad-Core Intel Xeon computers to Photoshop CS4. The transition has been mostly painless accept for all the changes to the keyboard shortcuts (I'll live).
Recently we have come across an issue with one of our customer's workflows that we have not been able to get by using CS4. Or customer has a workflow that we must work within in order to provide them with the artwork files in a way they can use for other processes. The main parts of this workflow involve layer structure and a set of actions that they have been using since Photoshop 7. Our customer uses Photoshop CS3.
With the transition to Photoshop CS4 in our shop, one line of their action does not function in CS4.
Show Current Layer
Toggle With Others
What needs to happen is at the end of the action all layers need to be turned visible. In CS3, in the layer palette, by Control & Clicking the eye and selecting "Show/Hide all other layers" produced the recorded action 'Show Current Layer, Toggle With Others'. The names of the layers are not recorded. This is good because the action will work on any layer no matter what the name of the layer is. In essence all layers are made visible.
In CS4 performing the same above clicks produces a recorded action 'Show , ...' The diference is that in CS4 the action is recording the name of every layer that it is showing/hiding. Simply change the name of one of your layers and running the action again produces a verbose error box.
So any thoughts on how to make visible all layers in a document using an action that will work on any layered file?
We are constructing our files in CS4 and opening them in CS3 to run the action for our customer as a work around. Or we are manually toggling the visibility, but what fun is that when it used to be automatable?
Any help would be greatly appreciated.
You could try this script (CS4 only) to make all layers/groups visible. If it works for you, you could then call it as part of your action.
selectAllLayers();
var sl = getSelectedLayersIdx();
var sLayers = new Array();
for( var i = 0; i < sl.length; i++ ){
makeActiveByIndex( [ sl[ i ] ], false );
sLayers.push( activeDocument.activeLayer.name );
ShowAllLayers(sLayers);
function ShowAllLayers(layerNames) {
var desc = new ActionDescriptor();
var list = new ActionList();
var ref = new ActionReference();
for(var a in layerNames){
ref.putName( charIDToTypeID('Lyr '), layerNames[a] );
$.writeln(layerNames[a] );
list.putReference( ref );
desc.putList( charIDToTypeID('null'), list );
executeAction( charIDToTypeID('Shw '), desc, DialogModes.NO );
function selectAllLayers(){
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
desc.putReference( charIDToTypeID( "null" ), ref );
executeAction( stringIDToTypeID( "selectAllLayers" ), desc, DialogModes.NO );
function getSelectedLayersIdx(){
var selectedLayers = new Array;
var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
var desc = executeActionGet(ref);
if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
var c = desc.count
var selectedLayers = new Array();
for(var i=0;i<c;i++){
try{
activeDocument.backgroundLayer;
selectedLayers.push( desc.getReference( i ).getIndex() );
}catch(e){
selectedLayers.push( desc.getReference( i ).getIndex()+1 );
}else{
var ref = new ActionReference();
ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
try{
activeDocument.backgroundLayer;
selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ))-1);
}catch(e){
selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" )));
return selectedLayers;
function makeActiveByIndex( idx, visible ){
for( var i = 0; i < idx.length; i++ ){
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putIndex(charIDToTypeID( "Lyr " ), idx[i])
desc.putReference( charIDToTypeID( "null" ), ref );
if( i > 0 ) {
var idselectionModifier = stringIDToTypeID( "selectionModifier" );
var idselectionModifierType = stringIDToTypeID( "selectionModifierType" );
var idaddToSelection = stringIDToTypeID( "addToSelection" );
desc.putEnumerated( idselectionModifier, idselectionModifierType, idaddToSelection );
desc.putBoolean( charIDToTypeID( "MkVs" ), visible );
executeAction( charIDToTypeID( "slct" ), desc, DialogModes.NO );
Oracle client 8i connecting to one node only
Hello all,
I had 2 node RAC database setup, in which when a person in development team tries to connect to the RAC database via oracle client,He can able to connect to one node only,when i tried tnsping80 utility it showing one VIP address
He using oracle 8i client on windows7
Database is 10G RAC and load balance is on in both database and client
please provide the solution
Hi,
Also I am not sure whether 8i client is certified with 10g database or not.
Do you have a metalink account. Read this Doc ID 207303.1
Regards
Maybe you are looking for
-
3g usb modem does not work on Lion?
I have had a 3g usb modem for almost two years now, it worked fine on Snow Leopard but does not pick up any connection to any cell tower after my upgrade to Lion. Any suggestions?
-
How to use development certificate on more than one machine?
Hello, I have two Mac Mini's. One which I use to run the publicly released OS's on, and one I use to run beta software on. I do this because if the beta machine gets "screwy" due to a buggy beta release (which is usually inevitable) I don't really ca
-
Can't print to my HP D2460 over the network anymore, after upgrade to SL.
Hi, I upgraded to Snow Leopard today. Now I can't print to my HP D2460 Deskjet printer anymore. The printer is shared from my Windows XP system via SMB. When I try to print I see the following message in the print queue on the Windows XP system: "Rem
-
How to run a VB macros code on Query refresh?
Hi BW gurus, Please help me out with this task. I have a macros as below <b>Sub Table_To_Cons() 'Copy the occupied rows Application.DisplayAlerts = False TargetSheet = ActiveSheet.Name Sheets("Table").Activate j = 2 For i = 21
-
Help-Multiple Home Directory stores
I'm having issues getting my home directories to function the way I'd like them to. Basically, I have two groups of users "Studio" and "WebClients." I have a partition setup with the respective store locations: /Volumes/Homes/Studio/username /Volumes