Coder Social home page Coder Social logo

rbd_freeze's Introduction

rbd_freeze

Small C utility and Bash scripts to remotely freeze a Ceph RBD before taking a Snapshot, so that the contents are consistent

rbd_freeze.c - is the utility that runs on the server with the mounted RBD's and data you wish to snapshot

The below two script are expected to found in /usr/local/bin:
rbd_freeze.sh - is the example script the utility runs to carry out checks and freeze the filesystem
rbd_unfreeze.sh - is the example script that the utility runs to unfreeze the filesystem once the snapshot has been taken

rbd_take_snap.sh - is an example script that is run on something like a backup server and is responsible for sending the RADOS notify, checking the return status, taking the RBD snapshot and mounting it
rbd_remove_snap.sh - is an example script to unmount and remove the RBD snapshot

rbd_freeze parameters Usage is -p <pool> -o <object> -u <client.username>

Where the:
pool is the RADOS pool
object is a RADOS object. I use rbd_id.<Object_Name>
client.username is a valid Ceph keyring user

take/remove snap parameters
Usage is <RADOS client name> Pool RBD

rbd_freeze's People

Contributors

fiskn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.