More than one device on a host
Oezcan Acar
acar at unitedinter.net
Fri May 11 21:22:18 UTC 2007
That was actually my question: how detects mogilefs the device on the storage node? In my case I added to mogstored.conf
docroot=/database/mogdata
and created with mkdir -p /database/mogdata
After this operation device list output was:
dev1: alive 1.618 462.119 463.737
Mogilefs was able to detect the device on the storage node. After that I added the second device on the same storage node. Device list showing:
dev1: alive 1.618 462.119 463.737
dev2: alive 0.000 0.000 0.000
How mogilefs now knows on which disk dev2 resides?
thanks.
-------- Original-Nachricht --------
Datum: Fri, 11 May 2007 21:18:27 +0000 (UTC)
Von: Brad Fitzpatrick <brad at danga.com>
An: Oezcan Acar <acar at unitedinter.net>
CC: mogilefs at lists.danga.com
Betreff: Re: More than one device on a host
> MogileFS keeps track of two states, for both devices and hosts:
>
> 1) what you told it ("alive")
> 2) what it actually observed.
>
> My guess is that dev2 isn't actually writable, so it's not being used.
> Verify permissions and such?
>
> You can see what mogile thinks of your devices with one of the mogadm
> commands (in somewhat-but-not-too recent mogadm/mogilefsd...)
>
> - Brad
>
>
> On Fri, 11 May 2007, Oezcan Acar wrote:
>
> > Hi,
> >
> > I added 2 harddisk one one host to mogilefs.
> >
> > device list:
> >
> > storage1 [1]: alive
> > used(G) free(G) total(G)
> > dev1: alive 1.618 462.119 463.737
> > dev2: alive 0.000 0.000 0.000
> >
> >
> > mogstored.conf on storage1:
> >
> > httplisten=0.0.0.0:7500
> > mgmtlisten=0.0.0.0:7501
> > docroot=/database/mogdata
> >
> > How to activate dev2 on storage1?
> >
> > thanks.
> >
> >
> >
> > --
> > Mit freundlichen Grüßen
> >
> > ___________________________
> >
> > Özcan Acar, Dipl. Inf(FH)
> > Vorstand
> > Smart Web Business AG
> >
> > Im Niederfeld 8
> > 65462 Gustavsburg
> >
> > +49 171 57 33 66 5
> > acar at unitedinter.net
> >
> >
--
Mit freundlichen Grüßen
___________________________
Özcan Acar, Dipl. Inf(FH)
Vorstand
Smart Web Business AG
Im Niederfeld 8
65462 Gustavsburg
+49 171 57 33 66 5
acar at unitedinter.net
More information about the mogilefs
mailing list