[Ocfs2-users] problem mounting ocfs2: heartbeat

Bruce Schwartz bruce.schwartz at gmail.com
Tue Jul 12 13:35:51 CDT 2005


As you recommeneded I rebooted and then restarted and reloaded.  I can
see my one node is /config/cluster.  Also, when I run "o2cb status" at
that point I get:

/home/bruce/bin/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 OCFS2CLUSTER: Online
Checking heartbeat: Not active

I've attached the results of running strace on the mount command as
well as on a call to /sbin/ocfs2_hb_ctl by itself.

-- 
Bruce Schwartz
Orion Multisystems, Inc.
bruce at orionmulti.com
-------------- next part --------------
execve("/bin/mount", ["mount", "-t", "ocfs2", "/dev/hda4", "/mnt"], [/* 27 vars */]) = 0
uname({sys="Linux", node="n0006", ...}) = 0
brk(0)                                  = 0x805c000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=127376, ...}) = 0
old_mmap(NULL, 127376, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa2000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300;hC"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1459344, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa1000
old_mmap(0x4366f000, 1162188, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4366f000
old_mmap(0x43785000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x116000) = 0x43785000
old_mmap(0x43789000, 7116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x43789000
close(3)                                = 0
mprotect(0x43785000, 4096, PROT_READ)   = 0
mprotect(0x4366b000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fa1580, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7fa2000, 127376)              = 0
brk(0)                                  = 0x805c000
brk(0x807d000)                          = 0x807d000
brk(0)                                  = 0x807d000
umask(022)                              = 022
open("/dev/null", O_RDWR|O_LARGEFILE)   = 3
close(3)                                = 0
getuid32()                              = 0
geteuid32()                             = 0
lstat64("/etc/mtab", {st_mode=S_IFLNK|0777, st_size=12, ...}) = 0
stat64("/sbin/mount.ocfs2", {st_mode=S_IFREG|0755, st_size=246749, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fa15c8) = 1174
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 1174
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(1)                           = ?
-------------- next part --------------
execve("/sbin/ocfs2_hb_ctl", ["/sbin/ocfs2_hb_ctl", "-S", "-d", "/dev/hda4"], [/* 27 vars */]) = 0
uname({sys="Linux", node="n0006", ...}) = 0
brk(0)                                  = 0x80b6000
brk(0x80d7000)                          = 0x80d7000
open("/proc/fs/ocfs2_nodemanager/interface_revision", O_RDONLY) = 3
read(3, "3\n", 15)                      = 2
read(3, "", 13)                         = 0
close(3)                                = 0
open("/dev/hda4", O_RDONLY|O_DIRECT|O_LARGEFILE) = 3
pread(3, "\2\2\2\2\2\2\2\2this is an ocfs2 volume\0"..., 512, 0) = 512
pread(3, "\2\2\2\2\2\2\2\2this is an ocfs2 volume\0"..., 512, 0) = 512
pread(3, "\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2"..., 512, 1024) = 512
pread(3, "\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2"..., 1024, 2048) = 1024
pread(3, "\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2\2"..., 2048, 4096) = 2048
pread(3, "OCFSV2\0\0R[\2460\377\377\377\377\0\0\0\0\342h\215\0\0"..., 4096, 8192) = 4096
open("/dev/hda4", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, BLKSSZGET, 0xbf826aec)         = 0
close(4)                                = 0
pread(3, "INODE01\0R[\2460\377\377\2\0\0\0\0\0\1\0\0\0\0\0\0\0\0"..., 4096, 24576) = 4096
pread(3, "INODE01\0R[\2460\377\377\2\0\0\0\0\0\1\0\0\0\0\0\0\0\0"..., 4096, 24576) = 4096
pread(3, "\6\0\0\0\0\0\0\0\20\0\1\2.\0\0\0\6\0\0\0\0\0\0\0\20\0\2"..., 4096, 851968) = 4096
pread(3, "INODE01\0R[\2460\377\377\6\0\0\0\0\0\0\1\0\0\0\0\0\0\0"..., 4096, 40960) = 4096
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0
semget(936939937, 2, IPC_CREAT|0)       = 0
semop(0, 0xbf826ab0, 2)                 = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/config/cluster", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 3 entries */, 4096)    = 80
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
mkdir("/config/cluster/OCFS2CLUSTER/heartbeat/A61D1AD64ADE41BD847C4E8B1BF8F5E2", 0755) = 0
open("/config/cluster/OCFS2CLUSTER/heartbeat/A61D1AD64ADE41BD847C4E8B1BF8F5E2/block_bytes", O_WRONLY) = 3
write(3, "512", 3)                      = 3
close(3)                                = 0
open("/config/cluster/OCFS2CLUSTER/heartbeat/A61D1AD64ADE41BD847C4E8B1BF8F5E2/start_block", O_WRONLY) = 3
write(3, "1672", 4)                     = 4
close(3)                                = 0
open("/config/cluster/OCFS2CLUSTER/heartbeat/A61D1AD64ADE41BD847C4E8B1BF8F5E2/blocks", O_WRONLY) = 3
write(3, "255", 3)                      = 3
close(3)                                = 0
open("/dev/hda4", O_RDWR|O_LARGEFILE)   = 3
open("/config/cluster/OCFS2CLUSTER/heartbeat/A61D1AD64ADE41BD847C4E8B1BF8F5E2/dev", O_WRONLY) = 4
write(4, "3", 1)                        = -1 EINVAL (Invalid argument)
close(4)                                = 0
close(3)                                = 0
rmdir("/config/cluster/OCFS2CLUSTER/heartbeat/A61D1AD64ADE41BD847C4E8B1BF8F5E2") = 0
semop(0, 0xbf826ae0, 1)                 = 0
write(2, "ocfs2_hb_ctl", 12)            = 12
write(2, ": ", 2)                       = 2
write(2, "Internal logic failure", 22)  = 22
write(2, " ", 1)                        = 1
write(2, "while starting heartbeat", 24) = 24
write(2, "\r\n", 2)                     = 2
rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV], NULL, 8) = 0
exit_group(1)                           = ?


More information about the Ocfs2-users mailing list