xfs
[Top] [All Lists]

Re: dmapi app cannot receive events

To: Peter Lu <peterlu_2000@xxxxxxxxx>
Subject: Re: dmapi app cannot receive events
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Tue, 20 Jul 2004 12:06:58 -0500
Cc: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
>From:  Peter Lu <peterlu_2000@xxxxxxxxx>
>Hello, I just installed xfs and dmapi on red-hat linux
>9. I wrote some simple code to play with it. Initially
>it worked fine. Then I tweaked the code, somehow the
>xfs file system was unavailable and any access got
>stucked. I rebooted the system and mounted it back.
>The xfs system is accessible, but the dmapi app cannot
>receive any event. Even I tried the previous code
>which worked fine before, it no longer works. Any
>idea? Thanks!


What did you tweak?  Why did the XFS filesystem become unavailable?  What did
the system log say?  What is the mount commandline that you are using?  Did
the call to dm_init_service() succeed?

Do you have a dmapi device under /proc/fs or under /proc/fs/xfs?  What is it's
name?  Does the /lib/libdm.so.0 library look for that same file (run 'strings'
on the library and grep for dmapi)?

Under /proc/fs or under /proc/fs/xfs there should be a directory with "dmapi"
in its name.  After your filesystem is mounted check the contents of all the
files under that directory.

Maybe show us your "simple code".  Do you have dmapi and XFS built-in to the
kernel or are they modules?  If modules, did all of them load?  Is there
anything in the system log about DMAPI, XFS, or your filesystem?

Is the machine plugged-in and turned on? :)

Dean


<Prev in Thread] Current Thread [Next in Thread>