Hi MarlboroMoo!
Thank you for the suggestion. We will think about a solution for quick
snapshots removal.
Kind regards
Michał Borychowski
MooseFS Support Manager
> -----Original Message-----
> From: MarlboroMoo [mailto:mar...@gm...]
> Sent: Wednesday, April 28, 2010 12:55 PM
> To: moo...@li...
> Subject: [Moosefs-users] how to increase speed of remove snapshot ?
>
> Hi there !
>
> i have about 5,000,000 files , and take about 5 second to make
> snapshot (via mfsmakesnapshot).
> but if i want to remove these snapshot ( rm -rf ), it take a very long
time !
> i need to take snapshot every hour , and keep the last three day.
>
> a directory structure like below:
> =========================
> Snapshot-Dir/
> |-- 201004260100/
> |-- 201004260200/
> |-- .
> |-- .
> |-- 201004280100/
> =========================
>
> if i want to remove the snapshot "201004260100" and create new one
> "201004280200"
> my solution is:
> 1) rename the directory "201004260100" to "201004280200" (mv
> 201004260100 201004280200)
> 2) make a new snapshot to override it. (mfsmakesnapshot
> /path/to/source /path/to/201004280200 )
>
> maybe we can have a command: mfsrmsnapshot to do this job
> cheer !
> --
> Marlboromoo
>
>
----------------------------------------------------------------------------
--
> _______________________________________________
> moosefs-users mailing list
> moo...@li...
> https://lists.sourceforge.net/lists/listinfo/moosefs-users
|