From: Wolfgang <moo...@wo...> - 2016-01-21 21:55:47
|
Hi Piotr Robert! When using < or > should I use the * also? like: <* /data/disc1 when disc1 should be removed in near future? or either * /data/disc1 < /data/disc1 So to make this clear: data from discs marked with * will be moved anywhere in the cluster data from discs marked with < will be moved to other discs (or if set only to the ">" marked discs) on the same chunkserver So I guess using * or < but not both - am I right? Thank you & Greetings Wolfgang On 2016-01-21 17:31, Piotr Robert Konopelko wrote: > Marking disk as removal just informs MooseFS that: > > 1. It should not write new chunks to this drive (as you observed) > 2. Chunks are replicated to another Chunkservers > > > There is a feature available to achieve what you want, but it is not > documented yet (it will be). > > You can migrate chunks from e.g. one (or more than one) drive(s) on > chunkserver to another drive(s) on the same chunkserver. > > If you put in mfshdd.conf sign '>' (without quotes of course) before > specific path, such disk is marked as target/destination for migration. > If you put sign '<', such disk is marked as a source for migration. > > If you define in mfshdd.conf more than one source or destination > drive, all of them will be grouped - respectively source ones or > destination ones. If you mark only source drive(s), all other will be > treated as target (so it is your case - mark only one as a source), > and similarly - if you mark only target drive(s), all other will be > treated as source ones. > > Target drives can be filled up in 99% max (it is a hard-coded > constant, maybe it will be configurable for specific HDD(s) in the future) > > And one more note: if any drive is marked as source or target drive, > space usage equalisation algorithm is disabled. > > > Best regards, > > -- > Piotr Robert Konopelko > *MooseFS Technical Support Engineer*| moosefs.com <https://moosefs.com> > >> On 21 Jan 2016, at 5:01 PM, Wolfgang <moo...@wo... >> <mailto:moo...@wo...>> wrote: >> >> Hi List! >> >> In my cluster I have a chunkserver with 3 discs mounted to seperate >> directories and showing as 3 lines in the "Disks" overview. >> >> When I mark one of these discs for removal (by prepending a * in the >> mfshdd.cfg and reload this disc gets status "marked for removal (not >> ready)" and doesn't get any new chunks which is what I expected. >> >> When I now watch as chunks get copied so this disc can be removed - it >> seems to me that the 2 other discs of this chunkserver (or the whole >> chunkserver) don't get any new chunks either? Why is this? Wouldn't it >> be the fastest to move the chunks from the "marked for removal" disc to >> the other discs at the same chunkserver? >> >> Thanks for clearification. >> >> Greetings from snowy austria! >> Wolfgang >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> _________________________________________ >> moosefs-users mailing list >> moo...@li... >> https://lists.sourceforge.net/lists/listinfo/moosefs-users > |