All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: Roman Kapusta <roman.kapusta@gmail.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: kerenl bug after btrfs resize (reduce size)
Date: Mon, 19 Sep 2011 13:38:18 +0100	[thread overview]
Message-ID: <20110919123818.GD21530@carfax.org.uk> (raw)
In-Reply-To: <CABVOS0_vA_BrA8+3mrgKUWRhmhMBA9bJUGwJvto16k3xM92+DQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]

On Mon, Sep 19, 2011 at 02:24:55PM +0200, Roman Kapusta wrote:
> After running 'btrfs fi resize' I got following error, fortunately, it
> looks that filesystem is ok.
> I was changing filesystem size from 256 GB to 192 GB (reducing by
> 64GB), free space was 110GB.

   I would be careful here -- the FS may be OK in that it's all
readable, but it may not have shrunk by as much as you requested. In
other words, don't drop the size of the containing partition until
you've successfully run a resize without it crashing.

> My system is Fedora 14. I'm considering upgrade to Fedora 15, is this
> already fixed?
[snip]
> Not tainted 2.6.35.14-96.fc14.i686 #1 30A2/HP Compaq nx7400

   In btrfs terms, this is a kernel from the Dark Ages. You should
upgrade to something recent *immediately*. There are all kinds of
nasty bugs in 2.6.35 (and later) that have been fixed. I don't know if
this particular one is one of them, but running btrfs on 2.6.35 is
rather like juggling nitrogylcerine: bad things *will* happen, sooner
or later.

   I would strongly recommend running a 3.0 or 3.1-rc kernel (at least
until 3.1 comes out, then keep following the latest kernel releases).

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- In the future, terrorists won't be carrying their ID cards. ---   
                   They'll be carrying yours. -- Henry                   
                         Porter,  Suspect Nation                         

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

  reply	other threads:[~2011-09-19 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19 12:24 kerenl bug after btrfs resize (reduce size) Roman Kapusta
2011-09-19 12:38 ` Hugo Mills [this message]
2011-09-19 12:55   ` Roman Kapusta

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=20110919123818.GD21530@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=roman.kapusta@gmail.com \
    /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.