:D
On Fri, Mar 14, 2014 at 3:07 PM, Becky Ligon <[email protected]
<mailto:[email protected]>> wrote:
Just saw the previous two responses. Please ignore my suggestion.
Becky
On Fri, Mar 14, 2014 at 2:05 PM, Becky Ligon <[email protected]
<mailto:[email protected]>> wrote:
Raul:
Check the software that you are using and see if you can disable
the locking. What software are you using?
Becky
On Fri, Mar 14, 2014 at 10:07 AM, Kist <[email protected]
<mailto:[email protected]>> wrote:
Ya!
Progress! =]
I looked for PVFS_ENOSYS and its alias in the code, printed
some stuff and recompiled it... but I couldn't find anything.
Then I managed to use the strace as Sam Sampson suggested
and found my ENOSYS:
(...)
fcntl(4, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=0,
len=0}) = -1 ENOSYS (Function not implemented)
(...)
fcntl(5, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=0,
len=0}) = -1 ENOSYS (Function not implemented)
(...)
So, it seems that Rob Latham was right from the beginning.
The question now is: how do I fix it? Or any idea of any
workaround?
Thanks a lot!
On Thu, Mar 13, 2014 at 2:32 PM, Sam Sampson
<[email protected] <mailto:[email protected]>> wrote:
The best explanation is the lack of lock support. The
kernel module may also return “not implemented” for a
statfs call with certain parameters.____
__ __
Locking support may be added in the future, but not in
the near term.____
__ __
You might study your software settings and seeing if
locking can be disabled.____
__ __
Thanks,____
Sam Sampson____
Omnibond LLC____
__ __
__ __
*From:*[email protected]
<mailto:[email protected]>
[mailto:[email protected]
<mailto:[email protected]>]
*On Behalf Of *Kist
*Sent:* Wednesday, March 12, 2014 8:08 PM
*To:* Becky Ligon
*Cc:* [email protected]
<mailto:[email protected]>
*Subject:* Re: [Pvfs2-users] I need some help with a
"Function not implemented" message____
__ __
Ya!____
Me too!____
This is why I was intrigued.____
__ __
This code works in the local filesystem and in the NFS.____
But it is not my code, as I was saying in the first
email. :(
____
__ __
On Wed, Mar 12, 2014 at 7:16 PM, Becky Ligon
<[email protected] <mailto:[email protected]>> wrote:____
Raul:____
I'm not seeing any reference to OrangeFS/PVFS. Are you
sorting an OrangeFS/PVFS file? Does this code work
correctly against the local filesystem?____
Becky____
__ __
On Wed, Mar 12, 2014 at 5:55 PM, Kist
<[email protected] <mailto:[email protected]>> wrote:____
So, here we go:____
nothing on /var/log/messages, pvfs2-client.log,
pvfs2-server.log.____
I am using the kernel module.____
Using 2.8.7 version.____
And about the strace... this client I'm using is
queueing (does this word exist?) some HPC jobs in the
cluster... it seems to prepare a python script to submit
them, I'll try to edit the script so it includes the
strace in the invocation. It's a little bit messy =]____
My output in the node is this
===========
error in startExecution() for tool Output (2) : Function
not implemented
++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++ Signal Handler
Invoked +++++++
+++++++ Signal :
SIGSEGV +++++++
+++++++ Meaning: Invalid memory
reference +++++++
++++++++++++++++++++++++++++++++++++++++++++++++++
Stack trace is:
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libbluefin_tools.so:
ogi::backtraceutil::get(int)+0x82
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libbluefin_tools.so:
ogi::backtraceutil::maybePrint(std::ostream&)+0x62
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libopencps_engine.so:
ogi::SignalHandling::handleSignal(int)+0x1e1
/lib64/libc.so.6() [0x309f032900]
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libopencps_engine.so:
void
std::__insertion_sort<__gnu_cxx::__normal_iterator<long*,
std::vector<long,
std::allocator<long> > >, ogi::IndexComparator<unsigned
long, int> >(__gnu_cxx::__normal_iterator<long*,
std::vector<long, std::allocator<long> > >,
__gnu_cxx::__normal_iterator<long*, std::vector<long,
std::allocator<long> > >, ogi::IndexComparator<unsigned
long, int>)+0x31
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libopencps_engine.so:
void
std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<long*,
std::vector<long, std::allocator<long> > >, long*,
ogi::IndexComparator<unsigned long, int>
>(__gnu_cxx::__normal_iterator<long*, std::vector<long,
std::allocator<long> > >,
__gnu_cxx::__normal_iterator<long*, std::vector<long,
std::allocator<long> > >, long*,
ogi::IndexComparator<unsigned long, int>)+0x64
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libopencps_engine.so:
void
std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<long*,
std::vector<long, std::allocator<long> > >, long*, long,
ogi::IndexComparator<unsigned long, int>
>(__gnu_cxx::__normal_iterator<long*, std::vector<long,
std::allocator<long> > >,
__gnu_cxx::__normal_iterator<long*, std::vector<long,
std::allocator<long> > >, long*, long,
ogi::IndexComparator<unsigned long, int>)+0xd3
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libopencps_engine.so:
ogi::OutputMSeis::flush()+0x119
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libopencps_engine.so:
ogi::OutputMSeis::finishExecution()+0x1c
/net/gis/tools/opencps/opencps-time-3.1-2013-06-26/bin/linux64/lib/libbluefin_tools.so:
ogi::Tool::finishExecutionInternal()+0x17
==========____
____
____
__ __
__ __
On Tue, Mar 11, 2014 at 12:54 PM, Mike Marshall
<[email protected] <mailto:[email protected]>>
wrote:____
Here is our implementation of lock in the kernel module:____
__ __
int pvfs2_lock(struct file *f, int flags, struct
file_lock *lock)____
{____
return -ENOSYS;____
}____
__ __
Some things (sqllite is one I noticed) pitch a big fit
if there is no file lock____
mechanism supported in the kernel...____
__ __
-Mike____
__ __
On Tue, Mar 11, 2014 at 11:29 AM, Kist
<[email protected] <mailto:[email protected]>> wrote:____
Hi!!____
Thanks for the answers!____
I was just looking at the /var/log/messages, yesterday,
when a small fire started in the building's energy board
and we had to evacuate it.____
I'll have access to the cluster again tomorrow (I hope).____
Then I'll check for everything you suggested.____
Sorry for the delay.
:)____
__ __
__ __
On Tue, Mar 11, 2014 at 9:50 AM, Sam Sampson
<[email protected] <mailto:[email protected]>>
wrote:____
You might try running strace on the client application,
and seeing what file system call results in the error.____
Thanks,
Sam Sampson____
Omnibond Systems____
__ __
On Mon, Mar 10, 2014 at 1:56 PM, Becky Ligon
<[email protected] <mailto:[email protected]>> wrote:____
Raul:____
Can you give me the exact error message that you are
seeing? Is the error message showing up in
/var/log/messages, pvfs2-client.log, pvfs2-server.log,
or stdout from your program?____
Also, are you linking the application with the pvfs2
libraries or just using the kernel module?____
Which version of OrangeFS are you using?
Becky____
__ __
On Mon, Mar 10, 2014 at 12:26 PM, Rob Latham
<[email protected] <mailto:[email protected]>> wrote:____
On 03/10/2014 08:45 AM, Kist wrote:____
Hi!
I'm testing OrangeFS (pvfs2) in a small virtual cluster
before we try it
on a big cluster for seismic processing.
I am running 8 CentOS with 2.6 kernel. All of them are
servers (io) and
clients and the headnode is the metadata server.
So far it's the best DFS I found and our standalone
tools are working
alright on it but when I try to use our libraries with a
different
client (as a plugin in another tool) I get a "Function
not implemented"
error.
I have no access to the source code of the client I'm
using and, now,
I'm looking for the pvfs2 source code for "PVFS_ENOSYS"
("Function not
implemented") references but it seems a little bit more
work than it
should be.
So, I would like to know if you guys have some ideas of
what could it be
(lock?) or some magic flag I can set to check what is
this.____
__ __
If you are using the kernel interface, the one routine
we've explicitly disabled is fcntl() with the F_SETLKW
and related flags.
slang did this years and years ago
http://www.orangefs.org/fisheye/orangefs/changelog/orangefs?cs=6613
The other thing to look at is certain kinds of mmap
operations, but I never, even at my peak, remembered all
the various details about that one...
==rob
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
_______________________________________________
Pvfs2-users mailing list
[email protected]
<mailto:[email protected]>
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users____
____
--
Becky Ligon
OrangeFS Support and Development
Omnibond Systems
Anderson, South Carolina____
_______________________________________________
Pvfs2-users mailing list
[email protected]
<mailto:[email protected]>
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users____
__ __
_______________________________________________
Pvfs2-users mailing list
[email protected]
<mailto:[email protected]>
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users____
-- ____
Raul Kist____
__ __
_______________________________________________
Pvfs2-users mailing list
[email protected]
<mailto:[email protected]>
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users____
__ __
____
-- ____
Raul Kist____
__ __
_______________________________________________
Pvfs2-users mailing list
[email protected]
<mailto:[email protected]>
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users____
__ __
-- ____
Raul Kist____
__ __
_______________________________________________
Pvfs2-users mailing list
[email protected]
<mailto:[email protected]>
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
--
Raul Kist
_______________________________________________
Pvfs2-users mailing list
[email protected]
<mailto:[email protected]>
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
--
Raul Kist
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users