linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs on LVM: Out of space
@ 2010-09-08 11:18 Marcel Lohmann
  2010-09-08 14:53 ` Zhu Yanhai
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Lohmann @ 2010-09-08 11:18 UTC (permalink / raw)
  To: linux-btrfs

Hi,

I'm really new to btrfs and wanted to give it a try. But now I have
some strange behavior with a "full disk". My setup is currently as
follows:
An LVM volume group that is configured as RAID1. In that there is a
logical volume of 130 GB in size. So physically 2x130 GB as of RAID 1,
but logically you can use 130 GB.
In that complete logical volume I created a btrfs partition. And
btrfs-show displays 130GB space. Fine.
Then I started to fill that volume with thousands of files until it
was unexpectedly "full". But I am sure that there is far less than
130GB in files! Now btrfs-show says that I used 130GB of 130GB, while
df -h shows 38GB of free space. And as I know, df -h has problems to
determine the real space. So I used "btrfs filesystem df /mountpoint"
to give me the actual numbers. And that tells me:
Data: total=23.97GB, used=23.97GB
Metadata: total=53.01GB, used=33.98GB
System: total=12.00MB, used=16.00KB
So what does that mean? I have 130GB disk capacity and I can only use
1/5 of that for real data? That can't be true. Even if there is a
problem with the RAID recognition (but RAID should be invisible for
btrfs) then I would have 65GB of "available" space, but btrfs
currently uses 77GB already.

What did I do wrong, or how can I solve that? The kernel is the
"official" 2.6.35-20-server that ships with Ubuntu 10.10 beta. With
Ubuntu 10.04 I had the same problem, but there was no "btrfs" command
and the buggy "df -h" so I thought the new kernel would solve the
problem. But it does not solve it.

Marcel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-09-17 15:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 11:18 btrfs on LVM: Out of space Marcel Lohmann
2010-09-08 14:53 ` Zhu Yanhai
2010-09-08 20:35   ` Marcel Lohmann
2010-09-09  2:15     ` Zhu Yanhai
2010-09-09  9:23       ` Marcel Lohmann
2010-09-09  9:37         ` Tamás Gulácsi
2010-09-09  9:52         ` Zhu Yanhai
2010-09-09 10:54           ` Marcel Lohmann
2010-09-10 19:46       ` Marcel Lohmann
2010-09-17 15:29         ` Johannes Hirte

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).