All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: filesystem show still has stale filesystem
Date: Sun, 5 Aug 2012 12:55:48 +0200	[thread overview]
Message-ID: <201208051255.48466.Martin@lichtvoll.de> (raw)
In-Reply-To: <CAJtBfr9mX-T8+-nGAvkinaO3yEw20zjRdab=4vjukwZTj0nR7w@mail.gmail.com>

Am Sonntag, 5. August 2012 schrieb Florian Lindner:
> Hello,

Hi Florian,

> I was playing with btrfs and accidentally formatted the disk directly
> (/dev/sdb instead of sdb1). Since then I rewrote the GPT partition
> table, recreated the partition and ran btrfs device scan. Still, btrfs
> filesystem show prints:
> 
> root@horus /mnt # btrfs fi sh --all-devices
> failed to read /dev/sr0: No medium found
> Label: 'test'  uuid: ffab72f2-eff1-4ac8-a694-d56dd84fda24
>         Total devices 1 FS bytes used 28.00KB
>         devid    1 size 2.73TB used 2.04GB path /dev/sdb
> 
> Label: 'home'  uuid: c465d715-098a-4d0d-bebc-6aa51f4cb349
>         Total devices 1 FS bytes used 28.00KB
>         devid    1 size 2.73TB used 2.04GB path /dev/sdb1

wipefs shows and removes filesystem signatures. No need to dd.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

  parent reply	other threads:[~2012-08-05 10:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 10:27 filesystem show still has stale filesystem Florian Lindner
2012-08-05 10:46 ` Helmut Hullen
2012-08-05 10:55 ` Martin Steigerwald [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-05 10:56 Martin Steigerwald

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=201208051255.48466.Martin@lichtvoll.de \
    --to=martin@lichtvoll.de \
    --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.