mogilefs newbie help

Robert Rogers robrogers at mac.com
Thu Mar 31 11:55:18 PST 2005


Mark,

First you rule for answering so quick.

Second, no, I hadn't created the /var/mogdata/devN dirs just /var/mogdata (and it's owned by mogile who runs mogilefsd)  

However,  I just created /dev1 - /dev3  (which is how many devices i have in localhost:db) mogilefs  still shows the same errror:

system error: Unable to create file (error = Invalid argument, path = /var/mogdata//dev3/0/000/000, file = 0000000058.fid, fd = -1 (Error obtaining link inf\
o: No such file or directory))

On the other hand,  if I create the entire path: /var/mogdata//dev3/0/000/000, then all works perfectly.  But, I'm thinking I should have to do this.  

Thanks for your help.

-Rob

On Thursday, March 31, 2005, at 12:43PM, Mark Smith <marksmith at danga.com> wrote:

>> Mar 31 04:16:29 sls2 perlbal[30001]: system error: Unable to create 
>> file (error = Invalid argument, \
>> path = /var/mogdata//dev3/0/000/000, file = 0000000044.fid, fd = -1 
>> (Error obtaining link info: No s\
>> uch file or directory))
>
>Just to confirm --
>
>The directory /var/mogdata/dev3 exists already, and the user you're running
>the mogstored as does have permission there, yes?
>
>The top-level device directories (devN under /var/mogdata) must already
>exist before you can use mogstored.  Also, it must have permission to
>create files there.
>
>That's my first thought, let me know if that's all in order and if it's
>still broken, and we'll continue debugging!  :-)
>
>
>--
>Mark Smith
>junior at danga.com
>
>


More information about the mogilefs mailing list