From: Michal B. <mic...@ge...> - 2011-02-28 12:36:30
|
Hi Heiko! You are definitely right! I made a mistake writing all chunks of the file with goal=1 would reside just on one chunkserver. Each chunk of the file would go (more or less by random) to different chunkservers. On the other hand we again focus on the point that using goal=1 is almost useless. Unless these are some temporary, unimportant files. The expectation of distributed file system is to keep at least two copies of the file :) Thank you for being conscious :) Kind regards Michał Borychowski MooseFS Support Manager _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Gemius S.A. ul. Wołoska 7, 02-672 Warszawa Budynek MARS, klatka D Tel.: +4822 874-41-00 Fax : +4822 874-41-01 From: Heiko Schröter [mailto:sch...@iu...] Sent: Saturday, February 26, 2011 2:28 PM To: mic...@ge... Cc: moo...@li... Subject: Re: [Moosefs-users] Chunks On Fri, 25 Feb 2011 11:21:33 +0100 "Michal Borychowski" < <mailto:mic...@ge...> mic...@ge...> wrote: > Hi! > > If you set goal=1, all chunks belonging to the same file will go to the same > chunk server. Supposed to, but it does not work this way. In our test setup (one master, one client, two chunkservers) the chunks are beeing spread across the two chunkservers, even with "goal=1". df on on the chunksrevr clearly shows that the files are spread evenly across them. mfsfileinfo shows that the chunks are placed alternatingly on the chunk servers. Incrementing "goal" only increases the number of copies. Screenshots can be supplied on tuesday since our server room is under reconstruction over the weekend. Heiko |