From: cwillu <cwillu@cwillu.com>
To: CACook@quantum-sci.com
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Cannot Deinstall a Debian Package
Date: Thu, 5 May 2011 15:48:49 -0600 [thread overview]
Message-ID: <BANLkTi=qRCM3Rt5oBkCfxi4af2GYeHWJGg@mail.gmail.com> (raw)
In-Reply-To: <201105051440.07434.CACook@quantum-sci.com>
On Thu, May 5, 2011 at 3:40 PM, <CACook@quantum-sci.com> wrote:
> On Thursday 5 May, 2011 13:40:25 cwillu wrote:
>> Could you include the information I asked for previously? =C2=A0(Ker=
nel
>> version, output of btrfs fi df and btrfs fi show)
>
> Kernel 2.6.37-2
> # btrfs fi df /home
> Data, RAID0: total=3D2.61TB, used=3D2.47TB
> Data: total=3D8.00MB, used=3D8.00MB
> System, RAID1: total=3D8.00MB, used=3D196.00KB
> System: total=3D4.00MB, used=3D0.00
> Metadata, RAID1: total=3D6.88GB, used=3D4.64GB
> Metadata: total=3D8.00MB, used=3D0.00
> # df /dev/sdb
> Filesystem =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1K-blocks =C2=A0 =C2=A0=
=C2=A0Used Available Use% Mounted on
> /dev/sdb =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 3907029168 2659716=
272 1242565920 =C2=A069% /home
> # df /dev/sdc
> Filesystem =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1K-blocks =C2=A0 =C2=A0=
=C2=A0Used Available Use% Mounted on
> udev =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1=
895384 =C2=A0 =C2=A0 =C2=A0 268 =C2=A0 1895116 =C2=A0 1% /dev
> (this doesn't make any sense)
> # btrfs fi show
> failed to read /dev/sdg
> failed to read /dev/sdf
> failed to read /dev/sde
> failed to read /dev/sdd
> failed to read /dev/sr0
> Label: none =C2=A0uuid: 85537aa8-30dc-4f87-ac55-6c8344304184
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Total devices 2 FS bytes used 2.47TB
> =C2=A0 =C2=A0 =C2=A0 =C2=A0devid =C2=A0 =C2=A01 size 1.82TB used 1.31=
TB path /dev/sdb
> =C2=A0 =C2=A0 =C2=A0 =C2=A0devid =C2=A0 =C2=A02 size 1.82TB used 1.31=
TB path /dev/sdc
> Btrfs Btrfs v0.19
>
>
>> Defrag is not the same as balancing, and neither is quite the same a=
s
>> the balancing of the internal b-trees that make up the filesystem.
>
> I know they're not the same. =C2=A0But I am asking:
>
> I thought balancing was supposed to be automatic in BTRFS?
>
> Is defrag not automatic?
=46air enough.
Btrfs works mostly like ext in this sense: the way it reads and
writes data generally avoids fragmentation. There are some issues in
this area still, but they're not the cause of no-space problems
typically, rather they tend to cause performance loss.
A "balance" operation is more about balancing the space use of the
large allocations btrfs makes from its pool of free disk-space to one
of the block groups that holds data or metadata. "mkdir" failing
while you still have lots of disk space free would typically mean
something along the lines of: all the free disk space has been
allocated to either the metadata or data block groups, and the
metadata block groups are full. This sort of behaviour has mostly
gone away in the last couple releases, although it would take a
balance operation (as you performed) to get everything working right.
How old was the filesystem? It might just have been lingering
problems from an older kernel, which would be cleared up entirely by
the balance you just ran.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-05-05 21:48 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-03 19:27 Cannot Deinstall a Debian Package CACook
2011-05-03 21:26 ` Fajar A. Nugraha
2011-05-03 22:20 ` CACook
2011-05-03 23:02 ` Chuck Burns
2011-05-04 0:12 ` CACook
2011-05-04 0:25 ` Chuck Burns
2011-05-04 1:20 ` Chris Samuel
2011-05-04 2:44 ` Fajar A. Nugraha
2011-05-04 9:51 ` Sander
2011-05-05 14:49 ` CACook
2011-05-05 18:09 ` CACook
2011-05-05 19:09 ` cwillu
2011-05-05 19:28 ` cwillu
2011-05-05 19:50 ` CACook
2011-05-05 19:55 ` Chris Mason
2011-05-05 20:32 ` CACook
2011-05-05 20:40 ` cwillu
2011-05-05 21:40 ` CACook
2011-05-05 21:48 ` cwillu [this message]
2011-05-05 22:33 ` CACook
2011-05-05 23:06 ` Miguel Garrido
2011-05-06 3:53 ` Helmut Hullen
2011-05-06 6:49 ` Sander
2011-05-05 20:31 ` cwillu
2011-05-05 20:57 ` CACook
2011-05-05 20:59 ` Lars Wirzenius
2011-05-05 21:48 ` CACook
2011-05-05 21:50 ` cwillu
2011-05-05 21:11 ` cwillu
2011-05-06 6:43 ` Sander
2011-05-06 6:33 ` Sander
2011-05-06 12:09 ` CACook
2011-05-06 12:20 ` Sander
2011-05-06 12:57 ` CACook
2011-05-06 13:21 ` Sander
2011-05-06 13:56 ` CACook
2011-05-06 14:17 ` Sander
2011-05-06 14:53 ` CACook
2011-05-06 14:58 ` Sander
2011-05-06 15:15 ` CACook
2011-05-06 17:09 ` CACook
2011-05-06 20:04 ` CACook
2011-05-06 20:16 ` Tomasz Torcz
2011-05-06 20:56 ` CACook
2011-05-06 21:23 ` Peter Stuge
2011-05-06 20:40 ` Sander
2011-05-06 20:51 ` Peter Stuge
2011-05-06 21:20 ` CACook
2011-05-06 21:28 ` Peter Stuge
2011-05-06 21:32 ` Hugo Mills
2011-05-06 22:17 ` David G Beausang
2011-05-07 1:51 ` C Anthony Risinger
2011-05-07 2:05 ` C Anthony Risinger
[not found] ` <201105062008.26159.CACook@quantum-sci.com>
2011-05-07 6:21 ` C Anthony Risinger
2011-05-07 7:03 ` Helmut Hullen
2011-05-06 13:30 ` Helmut Hullen
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='BANLkTi=qRCM3Rt5oBkCfxi4af2GYeHWJGg@mail.gmail.com' \
--to=cwillu@cwillu.com \
--cc=CACook@quantum-sci.com \
--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 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).