Displaying 4 results from an estimated 4 matches for "ocfs_dlm_enable_cache_lock".
2004 Mar 10
9
Lock contention issue with ocfs
I am still having this weird problem with nodes hanging while I'm
running OCFS. I'm using OCFS 1.0.9-12 and RHAS 2.1
I've been working on tracking it down and here's what I've got so far:
1. I create a file from node 0. This succeeds; I can /bin/cat the
file, append, edit, or whatever.
2. From node 1, I do an operation that accesses the DirNode (e.g.
/bin/ls)
3. Node 0
2004 Mar 10
9
Lock contention issue with ocfs
I am still having this weird problem with nodes hanging while I'm
running OCFS. I'm using OCFS 1.0.9-12 and RHAS 2.1
I've been working on tracking it down and here's what I've got so far:
1. I create a file from node 0. This succeeds; I can /bin/cat the
file, append, edit, or whatever.
2. From node 1, I do an operation that accesses the DirNode (e.g.
/bin/ls)
3. Node 0
2004 Mar 12
0
Node hangs when trying to create/delete file
...there are any database files in that directory.
The fix is to basically move all the files to a new directory then
delete the old and rename the new. Step 2 sounds kinda weird, but it's
actually the crucial step that will prevent the bug. Step 2 changes
"file_lock" (in step 3) from OCFS_DLM_ENABLE_CACHE_LOCK to
OCFS_DLM_NO_LOCK.
1. create a new directory.
2. create a file in the new directory and /bin/cat the file from a
different node than the one where you created the directory. delete the
file.
3. debugocfs -D /relative/path/to/newdir/from/mountpoint/ /dev/device
-- confirm that "file_lock =...
2004 Feb 20
1
ocfs hung
....num_bytes = 0
extent[1].disk_off = 0
extent[2].file_off = 0
extent[2].num_bytes = 0
extent[2].disk_off = 0
[root@dc1node1 root]# debugocfs -f /oracle/prod/proddata/ /dev/sdd
fileinfo:
Name = /oracle/prod/proddata/
curr_master = 1
file_lock = OCFS_DLM_ENABLE_CACHE_LOCK
oin_node_map = 00000000000000000000000000000000
seq_num = 0
local_ext = false
granularity = 0
filename = proddata
filename_len = 8
file_size = 131072
alloc_size = 131072
attribs = OCFS_ATTRIB_DIRECTORY
prot_bits = S_IRU...