From: Alexander A. <akh...@ri...> - 2011-08-26 11:07:15
|
Hi All! I wonder if it is a good idea to put in init/rc script which starts mfsmaster something like mfs_data_path=`grep DATA_PATH /etc/mfsmaster.cfg | grep -v ^# | awk '{print $NF}'` if [ ! -f $mfs_data_path/metadata.mfs ] then mfsmetarestore -a -d $mfs_data_path fi ??????? In my opinion it is bare necessity to automatically make MooseFS healthy in case of power failure/restore. wbr Alexander |
From: Michał B. <mic...@ge...> - 2011-09-24 13:05:22
|
Hi! Of course you may do it but we recommend recovering the master server manually - it is wise to observe the mfsmetarestore process. The automatic recovery process is quite complicated and until some better scripts are prepared, you'd rather recover it manually. Kind regards Michal -----Original Message----- From: Alexander Akhobadze [mailto:akh...@ri...] Sent: Friday, August 26, 2011 12:51 PM To: moo...@li... Subject: [Moosefs-users] Auto MetaRestore Hi All! I wonder if it is a good idea to put in init/rc script which starts mfsmaster something like mfs_data_path=`grep DATA_PATH /etc/mfsmaster.cfg | grep -v ^# | awk '{print $NF}'` if [ ! -f $mfs_data_path/metadata.mfs ] then mfsmetarestore -a -d $mfs_data_path fi ??????? In my opinion it is bare necessity to automatically make MooseFS healthy in case of power failure/restore. wbr Alexander ---------------------------------------------------------------------------- -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ moosefs-users mailing list moo...@li... https://lists.sourceforge.net/lists/listinfo/moosefs-users |
From: Alexander A. <akh...@ri...> - 2011-09-26 06:10:36
|
Hm... So as far as I understand something may go wrong during restore and/or something needs my attension. Could you describe more exactly what scenarios may I face to ? wbr Alexander ====================================================== Hi! Of course you may do it but we recommend recovering the master server manually - it is wise to observe the mfsmetarestore process. The automatic recovery process is quite complicated and until some better scripts are prepared, you'd rather recover it manually. Kind regards Michal -----Original Message----- From: Alexander Akhobadze [mailto:akh...@ri...] Sent: Friday, August 26, 2011 12:51 PM To: moo...@li... Subject: [Moosefs-users] Auto MetaRestore Hi All! I wonder if it is a good idea to put in init/rc script which starts mfsmaster something like mfs_data_path=`grep DATA_PATH /etc/mfsmaster.cfg | grep -v ^# | awk '{print $NF}'` if [ ! -f $mfs_data_path/metadata.mfs ] then mfsmetarestore -a -d $mfs_data_path fi ??????? In my opinion it is bare necessity to automatically make MooseFS healthy in case of power failure/restore. wbr Alexander ---------------------------------------------------------------------------- -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ moosefs-users mailing list moo...@li... https://lists.sourceforge.net/lists/listinfo/moosefs-users |
From: Michał B. <mic...@ge...> - 2011-09-26 06:22:34
|
It depends on the type of failure. Some changelogs may be missing or corrupted. If you run out of your disk space, the metadata dump maybe be corrupted. You should also use changelogs from metaloggers for recovery, etc. You may want to check the history of our group (http://sourceforge.net/search/?group_id=228631&type_of_search=mlists) and find some detailed explanations made by Thomas S Hatch, eg.: http://sourceforge.net/mailarchive/message.php?msg_id=27235785 Kind regards Michal -----Original Message----- From: Alexander Akhobadze [mailto:akh...@ri...] Sent: Monday, September 26, 2011 8:10 AM To: Michał Borychowski Cc: moo...@li... Subject: Re: [Moosefs-users] Auto MetaRestore Hm... So as far as I understand something may go wrong during restore and/or something needs my attension. Could you describe more exactly what scenarios may I face to ? wbr Alexander ====================================================== Hi! Of course you may do it but we recommend recovering the master server manually - it is wise to observe the mfsmetarestore process. The automatic recovery process is quite complicated and until some better scripts are prepared, you'd rather recover it manually. Kind regards Michal -----Original Message----- From: Alexander Akhobadze [mailto:akh...@ri...] Sent: Friday, August 26, 2011 12:51 PM To: moo...@li... Subject: [Moosefs-users] Auto MetaRestore Hi All! I wonder if it is a good idea to put in init/rc script which starts mfsmaster something like mfs_data_path=`grep DATA_PATH /etc/mfsmaster.cfg | grep -v ^# | awk '{print $NF}'` if [ ! -f $mfs_data_path/metadata.mfs ] then mfsmetarestore -a -d $mfs_data_path fi ??????? In my opinion it is bare necessity to automatically make MooseFS healthy in case of power failure/restore. wbr Alexander ---------------------------------------------------------------------------- -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ moosefs-users mailing list moo...@li... https://lists.sourceforge.net/lists/listinfo/moosefs-users ---------------------------------------------------------------------------- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ moosefs-users mailing list moo...@li... https://lists.sourceforge.net/lists/listinfo/moosefs-users |