From: Michał B. <mic...@ge...> - 2010-08-10 07:32:45
|
Normally you do not run the master process on the metalogger machine. You do it only when the main master server breaks down. In this situation you stop metalogger, do metarestore and run the master process. You do not need to do anything special to generate metadata_ml.mfs.back on the metalogger machine. It will be just created. See http://www.moosefs.org/news-reader/items/metadata-ins-and-outs.html and read about recovering metadata by mfsmetarestore. Generally you would need to run "mfsmetarestore -a". Regards Michał From: Roast [mailto:zha...@gm...] Sent: Thursday, July 29, 2010 4:11 AM To: moosefs-users Subject: [Moosefs-users] problem with mfsmetarestore. Hi,all. I want to setup the metalogger server as the backup for the master, so I use mfsmetarestore to generate the metadata.mfs to start the master at the metalogger server. But it doesn't works. Here is some logs: ---------------------------------------------------------------------------- ------------------------------------------- [root@localhost ~]# /usr/local/mfs/sbin/mfsmetarestore -m /data/mfs/meta/metadata_ml.mfs.back -o /data/mfs/meta/metadata.mfs /data/mfs/meta/changelog_ml.*.mfs loading objects (files,directories,etc.) ... ok loading names ... ok loading deletion timestamps ... ok checking filesystem consistency ... ok loading chunks data ... ok connecting files and chunks ... ok applying changes from file: /data/mfs/meta/changelog_ml.0.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.10.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.11.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.12.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.13.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.14.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.15.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.16.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.17.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.18.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.19.mfs meta data version: 961564 version after applying changelog: 961564 applying changes from file: /data/mfs/meta/changelog_ml.1.mfs meta data version: 961564 963911: version mismatch [root@localhost ~]# ---------------------------------------------------------------------------- ------------------------------------------- version mismatch? How to fix this problem? Thanks. -- The time you enjoy wasting is not wasted time! |