linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xavier Nicollet <nicollet@jeru.org>
To: Dmitry MiksIr <miksir@maker.ru>, linux-btrfs@vger.kernel.org
Subject: Re: how to cleanup old superblock
Date: Tue, 26 Jun 2012 10:53:24 +0200	[thread overview]
Message-ID: <20120626085324.GC16957@jeru.org> (raw)
In-Reply-To: <20120625224900.GN28144@twin.jikos.cz>

Le 26 June 2012 ? 00:49, David Sterba a écrit:
> On Mon, Jun 25, 2012 at 11:54:50PM +0400, Dmitry MiksIr wrote:
> > Hello!
> > Long time ago I created btrfs on /dev/sda
> > After some changes btrfs moved to /dev/sda1 (well, to md, and sda1 is part
> > of md).
> > 
> > As result, <btrfs fi show> show me 2 filesystems: new one and old one.
> > Probably I need to do some cleaning. Can someone tell me what to do.
> 
> quick aid is to run this command:
> 
> dd if=/dev/zero of=/dev/sda bs=1k count=4 seek=64
> 
> (deletes just the btrfs superblock and will not touch anything
> else)

Updated the wiki: 
https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#How_to_clean_up_old_superblock_.3F

-- 
Xavier Nicollet

  reply	other threads:[~2012-06-26  8:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 19:54 how to cleanup old superblock Dmitry MiksIr
2012-06-25 22:49 ` David Sterba
2012-06-26  8:53   ` Xavier Nicollet [this message]
2012-06-26 10:17     ` David Sterba
2012-06-26 11:11       ` Sander

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=20120626085324.GC16957@jeru.org \
    --to=nicollet@jeru.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=miksir@maker.ru \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).