From: Michał B. <mic...@ge...> - 2011-11-30 12:39:30
|
Yes, that's right you should use .tmp file. You can use this command: mfsmetarestore -m metadata.mfs.back.tmp -o metadata.mfs changelog.1.mfs changelog.0.mfs 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 -----Original Message----- From: Sébastien MERTES [mailto:seb...@u-...] Sent: Wednesday, November 30, 2011 11:42 AM To: moo...@li... Subject: Re: [Moosefs-users] problem metadata Thank you very much Davies, it works !!!!! thank you thank you and thank you !!! Sébastien On 30/11/2011 09:48, Davies Liu wrote: > Have you any other metalogger ? > > If they have some recently change logs, it may help. > > On Wed, Nov 30, 2011 at 4:44 PM, Davies Liu<dav...@gm...> wrote: >> If you found changelog.2.mfs, you should: >> >> mv metadata.mfs.back.tmp metadata.mfs.back >> >> mfsmetarestore -a -d /xxx >> >> On Wed, Nov 30, 2011 at 4:43 PM, Davies Liu<dav...@gm...> wrote: >>> I have not found changelog.2.mfs, so can not recover the full data >>> with change logs. >>> changelog.3.mfs are too older, no needed. >>> >>> metadata.mfs.back.tmp is the last snapshot, you can rename it to >>> metadata.mfs and start mfsmaster. >>> >>> Some recently modification may been lost. >>> >>> On Wed, Nov 30, 2011 at 9:50 AM, Davies Liu<dav...@gm...> wrote: >>>> I will try. >>>> >>>> On Tue, Nov 29, 2011 at 11:39 PM, Sébastien MERTES >>>> <seb...@u-...> wrote: >>>>> The metadata and changelog files are located in the ftp server >>>>> ftp://jupiter.u-bourgogne.fr/pub/mfsmaster.tar.bz2 >>>>> >>>>> The login is anonymous. >>>>> >>>>> >>>>> Can you help me ? >>>>> >>>>> >>>>> >>>>> >>>>> On 29/11/2011 15:27, Davies Liu wrote: >>>>>> Could you share the metadata and changelog out ? Then we could >>>>>> help recover it. >>>>>> >>>>>> On Tue, Nov 29, 2011 at 10:09 PM, Sébastien MERTES >>>>>> <seb...@u-...> wrote: >>>>>>> Hello, >>>>>>> >>>>>>> I have a serious problem with mfsmaster. The server crashed >>>>>>> roughly and the mfsmetaloggers are not operate. >>>>>>> >>>>>>> With the command mfsmetarestore -a -d /[directory-metadata], i >>>>>>> have the following messages : >>>>>>> >>>>>>> loading names ... loading edge: read error: ENOENT (No such file >>>>>>> or >>>>>>> directory) >>>>>>> error >>>>>>> >>>>>>> can't read metadata from file: metadata.mfs.back >>>>>>> >>>>>>> >>>>>>> >>>>>>> Can you help me please ??? >>>>>>> It's very very urgent. >>>>>>> >>>>>>> Thank you. >>>>>>> >>>>>>> Sébastien >>>>>>> >>>>>>> >>>>>>> ---------------------------------------------------------------- >>>>>>> -------------- 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. IT >>>>>>> sense. And common sense. >>>>>>> http://p.sf.net/sfu/splunk-novd2d >>>>>>> _______________________________________________ >>>>>>> moosefs-users mailing list >>>>>>> moo...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/moosefs-users >>>>>>> >>>>>> >>>> >>>> >>>> -- >>>> - Davies >>> >>> >>> -- >>> - Davies >> >> >> -- >> - Davies > > ---------------------------------------------------------------------------- -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ moosefs-users mailing list moo...@li... https://lists.sourceforge.net/lists/listinfo/moosefs-users |