From: Deon C. <deo...@gm...> - 2013-09-26 00:40:35
|
Going into the meta directory and looking in the trash does not tell you which chunks are pending deletion. I currently have 7058 chunks as pending deletion and my trash is empty. As far as I am aware there is no easy way to work out where these chunks are located. I know how I got my pending deletion chunks. I lost one of my chunk servers earlier this month. It was running off a USB key and the key died. I took my time bringing this chunk server back up but when I did I simply re-imported the ZFS drives which had existing chunks on them. Obviously a whole bunch of chunks were deleted in the meantime from the system during the chunkserver downtime and it appears that the pending deletion chunks in my system are all these old chunks which are surplus. On a previous implementation of moose, I had an application which wrote a file every second and then delete it to check that the directory was working. Over time this caused a growing number of pending deletion chunks as well. I haven't worked out how to get rid of pending deletion chunks in either case. On Wed, Sep 25, 2013 at 6:33 PM, Laurent Wandrebeck <lw...@hy...> wrote: > On Tue, 24 Sep 2013 08:21:57 -0700 > Brandon Foster <bra...@li...> wrote: > > > Hey all, > Hi, > > > Im wondering if there is a way to see which files are pending deletion. > > You need to mount mfsmeta…hmmmm can't get my fingers to find it on the > website right now. > mfsmount /mfsmeta fuse > mfsmaster=cluster,mfsport=9421,mfsmeta,_netdev 0 0 > here is the entry I have on the master. > mount it, go to /mfsmeta (or whatever you want to call it), ls and here > you have files waiting to be effectively deleted. > mv them to undel if you want to get them back, rm them if you want to > empty the trash right now. > settrashtime to 0 if you want future files to be deleted without > waiting. Anyway, pebkac happens, and users are often happy to get their > files back after a mistake :) > > HTH, > -- > Laurent Wandrebeck > HYGEOS, Earth Observation Department / Observation de la Terre > Euratechnologies > 165 Avenue de Bretagne > 59000 Lille, France > tel: +33 3 20 08 24 98 > http://www.hygeos.com > GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C > D17C F64C > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users > |