All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry MiksIr <miksir@maker.ru>
To: linux-btrfs@vger.kernel.org
Subject: how to cleanup old superblock
Date: Mon, 25 Jun 2012 23:54:50 +0400	[thread overview]
Message-ID: <jsafma$896$1@dough.gmane.org> (raw)

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.

fdisk -u -c -l /dev/sda

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xde07ba46

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048  3907029167  1953513560   fd  Linux raid


btrfs fi show
Label: 'storage'  uuid: ea3824ec-2fd5-4813-88da-d96c319029f4
         Total devices 1 FS bytes used 50.87GB
         devid    1 size 1.82TB used 138.04GB path /dev/md127

Label: 'mainst'  uuid: 1bd2b9be-5464-4926-88da-af8e12c21f94
         Total devices 3 FS bytes used 45.94GB
         devid    1 size 1.82TB used 123.04GB path /dev/sda
         *** Some devices missing

Last one is wrong.



             reply	other threads:[~2012-06-25 20:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 19:54 Dmitry MiksIr [this message]
2012-06-25 22:49 ` how to cleanup old superblock David Sterba
2012-06-26  8:53   ` Xavier Nicollet
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='jsafma$896$1@dough.gmane.org' \
    --to=miksir@maker.ru \
    --cc=linux-btrfs@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.