How to backup mon-data?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/23/14 16:20 , C?dric Lemarchand wrote:
> Out of curiosity, what's the current beef with zfs? I know what 
> problems are cited for btrfs, but I haven't heard much about zfs lately.
> The Linux implementation (ZoL) is actually stable for production, but is quiet memory hungry because of a spl/slab fragmentation issue ...
>
> But I would ask a question : even with a snapshot capable FS, is it sufficient to achieve a consistent backup of a running leveldb ? Or did you plan to stop/snap/start the mon ? (No knowledge at all about leveldb ...)
>
> Cheers
>

A ZFS snapshot is atomic, but it doesn't tell the daemons to flush their 
logs to disk.  Reverting to a snapshot looks the same as if you turned 
off the machine by yanking the power cord at the instant the snapshot 
was taken.

It's not a nice thing to do to a daemon, but the monitors need to be 
able to handle a dirty shutdown.

It would be better to stop the monitor, snapshot, and start the 
monitor.  It shouldn't cause any problems if you don't, and I wouldn't 
bother.



-- 

*Craig Lewis*
Senior Systems Engineer
Office +1.714.602.1309
Email clewis at centraldesktop.com <mailto:clewis at centraldesktop.com>

*Central Desktop. Work together in ways you never thought possible.*
Connect with us Website <http://www.centraldesktop.com/>  | Twitter 
<http://www.twitter.com/centraldesktop>  | Facebook 
<http://www.facebook.com/CentralDesktop>  | LinkedIn 
<http://www.linkedin.com/groups?gid=147417>  | Blog 
<http://cdblog.centraldesktop.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140527/962b5337/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux