<pre style="margin-left: 0.79in; margin-bottom: 0.2in;">I added the device below and now it seems to work. <br>Thanks<br><br>mogadm --lib=/usr/local/share/perl/5.8.4 --trackers=<a href="http://192.168.0.21:6001">192.168.0.21:6001
</a> device add mogilestorage1 1</pre><br><br><div><span class="gmail_quote">On 10/30/06, <b class="gmail_sendername">Washington DC</b> <<a href="mailto:dc.1.618@gmail.com">dc.1.618@gmail.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;">
I'm just starting to play around with MogileFS. I got the latest from SVN installed and configured. I added test domain & class but when I attempt to put a file in the system this is what happens:<br><br>#!/usr/bin/perl
<br>use MogileFS::Client;<br>my $mogfs = MogileFS::Client->new(domain => 'testdomain',<br> hosts => [ '<a href="http://192.168.0.20:6001" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.0.20:6001</a>' ]);<br>die "Unable to initialize MogileFS object.\n" unless $mogfs;
<br>my $fh = $mogfs->new_file("testkey", "testclass");<br>print $mogfs->errstr();<br><br>It comes back with:<br> no_devices No devices found to store file<br><br>The domain & class show up as showne blow but the storage device looks odd as it doesn't show total/free/used. Is there some place where i configure what the storage server can take up?
<br><br><br><br>mogadm --lib=/usr/local/share/perl/5.8.4 --trackers=<a href="http://192.168.0.20:6001" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.20:6001</a>,<a href="http://192.168.0.21:6001" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.0.21:6001</a> device list<br>mogilestorage1 [1]: alive
<br> used(G) free(G) total(G)<br><br>mogadm --lib=/usr/local/share/perl/5.8.4 --trackers=<a href="http://192.168.0.20:6001" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.20:6001
</a>, <a href="http://192.168.0.21:6001" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.21:6001</a>
domain list<br> domain class mindevcount<br>-------------------- -------------------- -------------<br> testdomain default 0<br> testdomain testclass 2
<br>
</blockquote></div><br>