linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: "Swâmi Petaramesh" <swami@petaramesh.org>
Cc: "BTRFS, Linux" <linux-btrfs@vger.kernel.org>
Subject: Re: mkfs.btrfs broken
Date: Thu, 07 Mar 2013 07:37:16 -0600	[thread overview]
Message-ID: <5138980C.8080000@redhat.com> (raw)
In-Reply-To: <513883DD.8080203@petaramesh.org>

On 3/7/13 6:11 AM, Swâmi Petaramesh wrote:
> Hi,
> 
> mkfs.btrfs v0.20-rc1, as provided in the excellent "Parted Magic" tool,
> latest version dated 2013/02/28, is broken :

Unfortunately "v0.20-rc1" spans months of development, since btrfs-progs
has no consistent release or versioning activity.

> When trying to mkfs.btrfs - even on newly made, FS-free partition, it
> always spits an error that it cannot check partition mount status and fails.

What error messages does it emit, anything helpful?

> There has always been such an issue with mkfs.btrfs AFAIR, but it can
> more or less work depending on the distribution etc...
> 
> In the past, some versions of mkfs.btrfs had a "-f" option that would
> force formatting even if this test failed, but alas this option seems to
> have disappeared...

The option is quite new, and still exists upstream.  But it only forces
overwrite of an existing filesystem, it has never affected the mount status
check AFAIK.

> PartedMagic being a "live CD", it might be easy to reproduce and check
> what, exactly, goes wrong ?

There are also steps you could take to investigate some more yourself:

Did earlier versions of the livecd work for you?
If so, when did it break?
Looking at the PartedMagic changelog, what were relevant changes?
Can you reproduce this outside the PartedMagic CD?
Is it possibly a PartedMagic bug?
Can you capture an strace of the failing mkfs.btrfs?

-Eric

> Kind regards.
> 


  reply	other threads:[~2013-03-07 13:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 12:11 mkfs.btrfs broken Swâmi Petaramesh
2013-03-07 13:37 ` Eric Sandeen [this message]
2013-03-07 15:09   ` Swâmi Petaramesh
2013-03-07 15:13     ` Eric Sandeen
2013-03-07 15:21       ` Swâmi Petaramesh
2013-03-07 15:35         ` Chris Mason
2013-03-07 15:40           ` Swâmi Petaramesh
2013-03-07 18:06         ` Jérôme Poulin
2013-03-07 18:10           ` Swâmi Petaramesh
2013-03-07 21:38             ` Mitch Harder
2013-03-07 14:13 ` Anand Jain

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=5138980C.8080000@redhat.com \
    --to=sandeen@redhat.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=swami@petaramesh.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 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).