From: Evert Vorster <evorster@gmail.com>
To: Helmut Hullen <Hullen@t-online.de>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: 800 GByte free, but "no space left"
Date: Sun, 5 Dec 2010 11:00:41 -0700 [thread overview]
Message-ID: <AANLkTim_vYJtsknDEYFkOXqZ9BtpReywpy2ajFq_8QR6@mail.gmail.com> (raw)
In-Reply-To: <BbJP6kxy1uB@helmut.hullen.de>
On Sun, Dec 5, 2010 at 7:33 AM, Helmut Hullen <Hullen@t-online.de> wrot=
e:
> Hallo, Evert,
>
> Du meintest am 05.12.10 zum Thema Re: 800 GByte free, but "no space l=
eft":
>
>>>>>>> =A0 =A0 =A0 devid =A0 =A02 size 1.35TB used 1.35TB path /dev/sd=
c3
>>>>>>> =A0 =A0 =A0 devid =A0 =A01 size 1.81TB used 1.35TB path /dev/sd=
f2
>
I'd like to point to this output of btrfs filesystem show again...
Here devid is 100% full. This, I assume, is both data and metadata.
When you do a df, what you see is only data, and not the metadata.
That might account for the difference you see.
I did a little bit of testing on my machine....
I created two partitions, /dev/sdb6 (1Gb) and /dev/sdb7(2Gb)
When I created an btrfs with the following command:
mkfs.btrfs -d raid0 /dev/sdb6 /dev/sdb7
I got a filesystem that started giving ENOSPACE with only 1.6Gb full.
Running a filesystem balance did not do anything.... and it was
predictably slow...
When I created a file system with
mkfs.btrfs -d single /dev/sdb6 /dev/sdb7
I was able to fill the resulting file system to 2.7Gb before it
started throwing ENOSPACE this file system was quite a bit faster...
So, by far the simplest solution would be to re-create your file
system with "single" mode, and then you will be able to utilize all of
the space of both disks. I was using quite chunky files, so there
would be some granularity in the test results, but it clearly shows
that raid0 is limited in space to (smallest subdevice) x (number of
subdevices) whereas "single" tries to use all of the available space
on all the subdevices.
Kind regards,
-Evert Vorster-
--
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:[~2010-12-05 18:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTimJ3dDdOFiQb8G=rrjCk2h68Y59oWdKEGH-80jN@mail.gmail.com>
2010-12-05 7:48 ` 800 GByte free, but "no space left" Helmut Hullen
2010-12-05 8:59 ` cwillu
2010-12-05 9:51 ` Helmut Hullen
2010-12-05 10:36 ` cwillu
2010-12-05 11:46 ` Helmut Hullen
2010-12-05 11:08 ` Evert Vorster
2010-12-05 11:22 ` Hugo Mills
2010-12-05 12:21 ` Helmut Hullen
2010-12-05 13:49 ` Evert Vorster
2010-12-05 14:33 ` Helmut Hullen
2010-12-05 18:00 ` Evert Vorster [this message]
2010-12-05 18:26 ` Helmut Hullen
2010-12-06 9:56 ` Brian Rogers
2010-12-06 11:41 ` Hugo Mills
2010-12-05 20:28 ` Helmut Hullen
2010-12-06 7:43 ` Helmut Hullen
2010-12-06 11:43 ` Hugo Mills
2010-12-06 12:42 ` Helmut Hullen
2010-12-06 12:48 ` Hugo Mills
2010-12-06 13:13 ` Helmut Hullen
2010-12-06 13:28 ` Hugo Mills
2010-12-06 14:45 ` Helmut Hullen
2010-12-06 15:18 ` Hugo Mills
2010-12-06 17:13 ` Helmut Hullen
2010-12-06 18:29 ` Hugo Mills
2010-12-07 17:05 ` Helmut Hullen
2010-12-07 17:25 ` Hugo Mills
2010-12-07 17:44 ` Helmut Hullen
2010-12-05 11:35 ` Helmut Hullen
2010-12-02 18:23 Helmut Hullen
2010-12-03 3:28 ` Mike Fedyk
2010-12-03 6:47 ` Helmut Hullen
2010-12-04 17:17 ` 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=AANLkTim_vYJtsknDEYFkOXqZ9BtpReywpy2ajFq_8QR6@mail.gmail.com \
--to=evorster@gmail.com \
--cc=Hullen@t-online.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 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).