All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guido Winkelmann <guido-ceph@thisisnotatest.de>
To: ceph-devel@vger.kernel.org
Subject: Can I use btrfs-restore to restore ceph osds?
Date: Wed, 09 May 2012 19:15:19 +0200	[thread overview]
Message-ID: <8973610.uuSzCzFUvq@pc10> (raw)

Hi,

I'm currently trying to re-enable my experimental ceph cluster that has been 
offline for a few months. Unfortunately, it appears that, out of the six btrfs 
volumes involved, only one can still be mounted, the other five are broken 
somehow. (If I ever use Ceph in production, it's probably not going to be on 
btrfs after this... I cannot recall whether or not the servers were properly 
shut down the last time, but even if not, this is a bit ridiculous.)

I cannot seem to repair the broken filesystem with btrfsck, but I can extract 
data from them with btrfs-restore.

If I want to restore this whole thing, can I just run btrfs-restore to recover 
the files that were on the broken volume, then make a new filesystem on the 
old partition, and finally copy over the directories and file restored by 
btrfs-restore? Or will that lose important information?

	Guido

             reply	other threads:[~2012-05-09 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 17:15 Guido Winkelmann [this message]
2012-05-09 17:35 ` Can I use btrfs-restore to restore ceph osds? Guido Winkelmann
2012-05-10 20:55 ` Tommi Virtanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8973610.uuSzCzFUvq@pc10 \
    --to=guido-ceph@thisisnotatest.de \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.