Displaying 5 results from an estimated 5 matches for "ocfs_dlm_no_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
...n 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 = OCFS_DLM_NO_LOCK&quo...
2006 Nov 16
1
Regarding debugocfs
...uch as file_size, alloc_size, next_free_ext were 0.
(/dev/sdi1 contains datafiles and arc files)
# debugocfs -a 0 /dev/sdi1
debugocfs 1.0.10-PROD1 Fri Mar 5 14:35:29 PST 2004
(build fcb0206676afe0fcac47a99c90de0e7b)
file_extent_0:
file_number = 128
disk_offset = 1433600
curr_master = 0
file_lock = OCFS_DLM_NO_LOCK
oin_node_map = 00000000000000000000000000000000
seq_num = 0
local_ext = true
granularity = -1
filename = ExtentFile128
filename_len = 0
file_size = 0
alloc_size = 0
next_free_ext = 0
extent[0].file_off = 0
extent[0].num_bytes = 0
extent[0].disk_off = 0
We don't have a clue why these values ar...
2004 Feb 20
1
ocfs hung
...rhxd01.dbf
bomx01.dbf czx01.dbf grx01.dbf iscx01.dbf okxx01.dbf
rhxx01.dbf
(this same "ls" command will not execute on node 2)
[root@dc1node1 root]# debugocfs -f /oracle/prod/ /dev/sdd
fileinfo:
Name = /oracle/prod/
curr_master = 1
file_lock = OCFS_DLM_NO_LOCK
oin_node_map = 00000000000000000000000000000000
seq_num = 0
local_ext = false
granularity = 0
filename = prod
filename_len = 4
file_size = 131072
alloc_size = 131072
attribs = OCFS_ATTRIB_DIRECTORY
prot_bits = S_IRUSR S...