Problem putting a file into the system

Washington DC dc.1.618 at gmail.com
Mon Oct 30 22:24:55 UTC 2006


I added the device below and now it seems to work.
Thanks

mogadm --lib=/usr/local/share/perl/5.8.4 --trackers=192.168.0.21:6001
device add mogilestorage1 1



On 10/30/06, Washington DC <dc.1.618 at gmail.com> wrote:
>
> 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:
>
> #!/usr/bin/perl
> use MogileFS::Client;
> my $mogfs = MogileFS::Client->new(domain => 'testdomain',
>                           hosts  => [ '192.168.0.20:6001' ]);
> die "Unable to initialize MogileFS object.\n" unless $mogfs;
> my $fh = $mogfs->new_file("testkey", "testclass");
> print $mogfs->errstr();
>
> It comes back with:
>     no_devices No devices found to store file
>
> 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?
>
>
>
> mogadm --lib=/usr/local/share/perl/5.8.4 --trackers=192.168.0.20:6001,
> 192.168.0.21:6001 device list
> mogilestorage1 [1]: alive
>                    used(G) free(G) total(G)
>
> mogadm --lib=/usr/local/share/perl/5.8.4 --trackers=192.168.0.20:6001,
> 192.168.0.21:6001 domain list
>  domain               class                mindevcount
> -------------------- -------------------- -------------
>  testdomain           default                   0
>  testdomain           testclass                 2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/mogilefs/attachments/20061030/e423f313/attachment.htm


More information about the mogilefs mailing list