Update from 0.9.2 to 2.6

13 views
Skip to first unread message

hber...@gmail.com

unread,
May 19, 2013, 4:51:29 AM5/19/13
to mog...@googlegroups.com
Hello,

currently i'm running mogilefs on production with the version 0.9.2 and i'm planing to update to the most recent version. I have about 4TB production data distributed on 5 servers + 1 tracker server.

Does anybody know, how to update from this old version? Is it even possible?

Many thanks in advance.

Best regards,
Kevin

dormando

unread,
May 19, 2013, 5:05:05 AM5/19/13
to mog...@googlegroups.com
Holy crap. I didn't even know that was a version? You haven't upgraded
since 2006? 2005?

Is your cluster currently exhibiting any issues or problems? Errors in
syslog/etc? Good to know about those up front before attempting an
upgrade.

I'd recommend you upgrade in stages. There's an upgrading guide on the
wiki... See if you can get up to version 2.0-something, run that for a
little bit, then try to go to 2.37 - or go all the way to 2.37.

Once you're on 2.37 and everything seems okay, I'd recommend running a
FSCK. That should ensure you're upraded from the old replication method
into the "new" table based one, and any files which got stuck over the
years are examined.

Let it run on 2.37 for a few days in case of any issues, then upgrade
straight from 2.37 to the latest version. The reason why I recommend 2.37
is that was where a lot of the architecture changed along with some DB
changes.

Once you're on the latest version, run FSCK again. The newer FSCK should
catch any final issues?

hber...@gmail.com

unread,
May 19, 2013, 9:38:34 AM5/19/13
to mog...@googlegroups.com
Oh sorry, i got the version from the file "mogilefs-0.9.1.tgz", this was a PECL extension, not mogilefs itself. Sorry for shocking you :)
However, i could'nt find out how to get the running version of mogilefs, could'nt find any verbose or version flags. Do you may know how?

Eric Wong

unread,
May 19, 2013, 4:37:53 PM5/19/13
to mog...@googlegroups.com
hber...@gmail.com wrote:
> However, i could'nt find out how to get the running version of mogilefs,
> could'nt find any verbose or version flags. Do you may know how?

From 2.08 onwards, you can telnet into the tracker port and type
'!version'

Otherwise, I'd look for the Makefile/Makefile.PL CPAN created.

hber...@gmail.com

unread,
May 21, 2013, 4:37:39 PM5/21/13
to mog...@googlegroups.com
I have the version 2.65. I will see trough the changes and then decide whether or not i'm doing an update.
Thank you!
Reply all
Reply to author
Forward
0 new messages