I fixed the problem by manually creating the dir dev[456] in /var/mogdata.<br>It seems like there is a problem with the mogstored demon (I think?) <a href="http://lists.danga.com/pipermail/mogilefs/2006-January/000244.html">
http://lists.danga.com/pipermail/mogilefs/2006-January/000244.html</a> is having the same problem as I am.<br><br>I hope this problem can get fixed.<br><br>Thanks,<br><br>Arnoud Vermeer<br><br><div><span class="gmail_quote">
On 1/29/06, <b class="gmail_sendername">Arnoud Vermeer</b> <<a href="mailto:a.vermeer@freshway.biz">a.vermeer@freshway.biz</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your replies.<br><br>Regarding Joshua:<br>mfs1:# df -l<br>Filesystem 1K-blocks Used Available Use% Mounted on<br>/dev/hda1 37776652 555432 35302260 2% /<br>tmpfs 124472 0 124472 0% /dev/shm
<br><br>mfs2:# df -l<br>Filesystem 1K-blocks Used Available Use% Mounted on<br>/dev/hda1 37136300 501176 34748696 2% /<br>tmpfs 225764 0 225764 0% /dev/shm<br>
<br>mfs3:# df -l<br>Filesystem 1K-blocks Used Available Use% Mounted on<br>/dev/hda1 37744520 510772 35316392 2% /<br>tmpfs 128520 0 128520 0% /dev/shm<br><br>
I didn't map any device to the devicenames in mogilefs, should I ? and how?<br><br>Regarding brad:<br><br>telnet localhost 7500<span class="q"><br>Trying 127.0.0.1...<br>Connected to localhost.localdomain.<br>Escape character is '^]'.
<br>
GET <a href="http://81.171.121.30:7500/dev4/usage" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://81.171.121.30:7500/dev4/usage</a><br><br></span>doesn't return anything..<br><br>This is my config:
<br>cat /etc/mogilefs/mogstored.conf<br>httplisten = <a href="http://0.0.0.0:7500" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
0.0.0.0:7500</a><br>docroot = /var/mogdata<br><br>--<br><br>cat /etc/mogilefs/mogilefsd.conf<br>daemonize = 1<br>db_dsn = DBI:mysql:mogilefs:host=<a href="http://111.111.111.43" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
111.111.111.43</a><br>db_user = mogilefs<br>
db_pass = PASSWD<br>conf_port = 7001<br>listener_jobs = 10<br>delete_jobs = 1<br>replicate_jobs = 5<br>mog_root = /mnt/mogilefs<br>reaper_jobs = 1<br># debug = 3<br><br>any suggestions?<br><br>Thanks,<br><span class="sg">
<br>Arnoud</span><div><span class="e" id="q_1091627aa577ae6d_4"><br><br>
<div><span class="gmail_quote">On 1/29/06, <b class="gmail_sendername">Brad Fitzpatrick</b> <<a href="mailto:brad@danga.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">brad@danga.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You have some port numbers wrong somewhere... the tracker doesn't speak<br>HTTP.<br><br>- Brad<br><br><br>On Sat, 28 Jan 2006, Arnoud Vermeer wrote:<br><br>> Hi guys,<br>><br>> I'm trying to setup a small test cluster of MogileFS, but I'm running into a
<br>> problem.<br>> I've got 3 desktop PC's in the datacenter running Debian Sarge (installed<br>> via netinstall)<br>> 2 x 1200 Mhz intel with a single PATA 40 gb HD<br>> and a AMD 2400+ also with a PATA 40 gb HD.
<br>><br>> I've installed mogileFS just fine, first the .tar.gz release from the site,<br>> but that one was running into problems with adding disks.<br>> So I grabbed the latest CVS (28-jan-2006), but this one seems to run into
<br>> the same problems.<br>><br>> mfs1 (1200Mhz+40GB HD) runs Perlbal, mogilefsd and mogstored<br>> mfs2 (2400Mhz+40GB HD) runs Perlbal, mogilefsd and mogstored<br>> mfs3 (1200Mhz+40GB HD) just runs mogstored
<br>><br>> I've added the hosts and disks via the mogadm commandline, but when I run a:<br>> mogadm -c /etc/mogilefs/mogadm.conf check<br>><br>> I get the following result:<br>><br>> mogadm -c /etc/mogilefs/mogadm.conf check (IP's and domain removed..)
<br>> Checking trackers...<br>> <a href="http://111.111.111.30:7001" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">111.111.111.30:7001</a> ... OK<br>> <a href="http://111.111.111.31:7001" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
111.111.111.31:7001</a> ... OK<br>><br>> Checking hosts...
<br>> [ 1] mfs1.domain ... OK<br>> [ 2] mfs2.domain ... OK<br>> [ 3] mfs3.domain ... OK<br>><br>> Checking devices...<br>> host device size(G) used(G) free(G) use%
<br>> ---- --------------- ---------- ---------- ---------- ------<br>> [ 1] dev4 REQUEST FAILURE<br>> [ 2] dev3 REQUEST FAILURE<br>> [ 3] dev5 REQUEST FAILURE<br>
> Illegal division by zero at /usr/bin/mogadm line 165,<br>> <Sock_81.171.121.31:7001> line 2.<br>><br>> So I looked into the source and found the command at line 165, and gave this<br>> via telnet onto the the tracker:
<br>><br>> telnet localhost 7001<br>> Trying 127.0.0.1...<br>> Connected to localhost.localdomain.<br>> Escape character is '^]'.<br>> GET <a href="http://81.171.121.30:7500/dev4/usage" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://81.171.121.30:7500/dev4/usage
</a><br>> ERR unknown_command Unknown+server+command<br>><br>> So now I'm stumped.<br>><br>> Does anybody have a clue?<br>><br>> Thanks,<br>><br>> Arnoud Vermeer<br>> FreshWay Innovations<br>
><br></blockquote></div><br>
</span></div></blockquote></div><br>