Problems and questions
mogilefs at ezboardcorp.com
mogilefs at ezboardcorp.com
Fri Oct 14 15:15:56 PDT 2005
HI im a mogile newbie and have lots of questions.
1. The trackers are the DB right?? Can I have several DB hosts?? what happens if
say i have 2 trackers online and one of them dies? will it continue using
tracker1 and when tracker2 comes on will it resync?
2. the whole hosts devices etc is kind of confusing but i was finally able to
find then after digging a bit i was able to find that devnotes sql.txt file
with data. so i copied it and was able to get the famous schema mentioned in
main page. after that i used the data file. to enable the host etc since
mogilfsd wouldnt start because there was not host.
3. IM confused with the whole docroot and device thing I have a partition
mounted on /data where i want all my files to go to.. so i say docroot /data
then after about 1 hour of testing i figured out i need to create a directory
in that /data named dev0 for device 0 of host 1 so i did.. finally i got some
output from mogadm check
Checking trackers...
10.7.1.1:7001 ... OK
Checking hosts...
[ 1] fsc1 ... OK
Checking devices...
host device size(G) used(G) free(G) use%
---- --------------- ---------- ---------- ---------- ------
[ 1] dev0 1443.877 0.199 1443.678 0.01%
---- --------------- ---------- ---------- ---------- ------
total: 1443.877 0.199 1443.877 0.01%
Sounds like it should work but when i use mogtool inject file filekey it hangs
there and mogstored shows the following output
system error: Internal error (error = , path = /data//dev0/0/000/000, file =
0000000002.fid)
any ideas??
Im appending my conf files for reference
mogstored.conf
daemonize=0
httplisten=10.7.1.1:7500
mgmtlisten=10.7.1.1:7501
docroot=/data
mogilefsd
#daemonize = 1
db_dsn = DBI:mysql:yuku_fs:host=127.0.0.1
db_user = mogile
db_pass = XXXXXXXXX
conf_port = 7001
listener_jobs = 10
delete_jobs = 1
replicate_jobs = 5
mog_root = /data
reaper_jobs = 1
debug = 3
mogilefs.conf
lib = /usr/lib/perl5/site_perl/5.8.6/
trackers = 10.7.1.1:7001
mogtool.conf
trackers = 10.7.1.1:7001
domain = yuku
class = normal
lib = /usr/lib/perl5/site_perl/5.8.6/
gzip = 1
big = 1
overwrite = 1
chunksize = 32M
receipt = javila at ezboardcorp.com
verify = 1
concurrent = 3
mogadm domain list
domain class mindevcount
-------------------- -------------------- -------------
yuku default 2
yuku normal 1
mogadm device list
fsc1 [1]: alive
used(G) free(G) total(G)
dev0: alive 0.199 1443.678 1443.877
mogadm host list
fsc1 [1]: alive
IP: 10.7.1.1:7500
mogadm class list
domain class mindevcount
-------------------- -------------------- -------------
yuku default 2
yuku normal 1
Hope someone can help
Thanks a lot
Jose E Avila
More information about the mogilefs
mailing list