linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Confusing output of btrfs fi df
@ 2014-04-26 14:09 Stefan Malte Schumacher
  2014-04-26 14:30 ` Hugo Mills
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Malte Schumacher @ 2014-04-26 14:09 UTC (permalink / raw)
  To: linux-btrfs

Hello

Yesterday I created a btrfs-filesystem on two disk, using raid1 for
data and metadata. I then mounted it and rsynced several TB of data
onto it.

mkfs.btrfs -m raid1 -d raid1 /dev/sdf /dev/sdg

The command btrfs fi df /mnt/btrfs result in the following output:

Data, RAID1: total=2.64TiB, used=2.22TiB
Data, single: total=8.00MiB, used=0.00
System, RAID1: total=8.00MiB, used=380.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, RAID1: total=4.00GiB, used=2.94GiB
Metadata, single: total=8.00MiB, used=0.00

I am a bit confused because of the "single"-entries. They are not
shown in the UseCases-example on the btrfs-website and I wonder if I
did something wrong.

I also would like to know if its possible to label a multi-disk
filesystem after creation. 

For your information, I am using Btrfs v3.12+20131125 and kernel
3.11.10-7 64bit. My distribution is an openSUSE 13.1.

Yours
Stefan

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Confusing output of btrfs fi df
@ 2014-04-27 15:37 Stefan Malte Schumacher
  2014-04-28  1:48 ` Duncan
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Malte Schumacher @ 2014-04-27 15:37 UTC (permalink / raw)
  To: linux-btrfs

Hello

Chris and Duncan: I tried both your suggestions but unfortunately
without success. Here is the output:

mars:~ # btrfs balance start -susage=0 -f -v /mnt/btrfs/
Dumping filters: flags 0xa, state 0x0, force is on
  SYSTEM (flags 0x2): balancing, usage=0
  Done, had to relocate 0 out of 2708 chunks
  
mars:~ # btrfs fi df /mnt/btrfs/
  Data, RAID1: total=2.64TiB, used=2.22TiB
  System, RAID1: total=8.00MiB, used=380.00KiB
  System, single: total=4.00MiB, used=0.00
  Metadata, RAID1: total=4.00GiB, used=2.94GiB
--------------------------------------------

mars:~ # btrfs balance start -sconvert=raid1,soft -f -v /mnt/btrfs/
Dumping filters: flags 0xa, state 0x0, force is on
  SYSTEM (flags 0x300): converting, target=16, soft is on
  Done, had to relocate 0 out of 2708 chunks

mars:~ # btrfs fi df /mnt/btrfs/
  Data, RAID1: total=2.64TiB, used=2.22TiB
  System, RAID1: total=8.00MiB, used=380.00KiB
  System, single: total=4.00MiB, used=0.00
  Metadata, RAID1: total=4.00GiB, used=2.94GiB

Yours sincerely
Stefan

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Confusing output of btrfs fi df
@ 2014-04-28 11:57 Stefan Malte Schumacher
  2014-04-28 12:06 ` Hugo Mills
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Malte Schumacher @ 2014-04-28 11:57 UTC (permalink / raw)
  To: linux-btrfs



> So try this one:
> btrfs balance start -musage=0 -v

I fear that didn't work too. 

mars:/mnt # btrfs balance start -musage=0 -v btrfs/
Dumping filters: flags 0x6, state 0x0, force is off
  METADATA (flags 0x2): balancing, usage=0
  SYSTEM (flags 0x2): balancing, usage=0
  Done, had to relocate 1 out of 2708 chunks
  
mars:/mnt # btrfs fi df btrfs/
Data, RAID1: total=2.64TiB, used=2.22TiB
System, RAID1: total=8.00MiB, used=380.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, RAID1: total=4.00GiB, used=2.94GiB


>If that fails to remove the extra system chunk, then we have a mystery
>indeed.  What's different on your system and why isn't it working?

I have no idea. Its just a plain openSUSE 13.1 and they consider btrfs
support stable enough to use it as default filesystem in the upcoming
13.2. I could create the filesystem again and restore the data but of
course I would actually need to know what went wrong the first time in
order to avoid doing it again. Is there anything you need to know
about my system which would be of use? (Controller, Disks, Mainboard
etc. ?)  

Yours sincerely
Stefan

   

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Confusing output of btrfs fi df
@ 2014-04-29  1:28 Stefan Malte Schumacher
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Malte Schumacher @ 2014-04-29  1:28 UTC (permalink / raw)
  To: linux-btrfs



> The question is, why is this important?

It probably isn't, its just my overactive sense of neatness ;-) 

But, jokes aside, I am going to use the filesystem as it is now and
then when openSUSE 13.2 arrives I will give it another try with a new
kernel and new filesystem tools. 

Thank you for your input, everyone.

Yours
Stefan 

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

end of thread, other threads:[~2014-04-29  1:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-26 14:09 Confusing output of btrfs fi df Stefan Malte Schumacher
2014-04-26 14:30 ` Hugo Mills
2014-04-26 18:18   ` Stefan Malte Schumacher
2014-04-26 21:28     ` Chris Murphy
2014-04-27  1:21       ` Duncan
2014-04-28 12:55       ` Dan van der Ster
  -- strict thread matches above, loose matches on Subject: below --
2014-04-27 15:37 Stefan Malte Schumacher
2014-04-28  1:48 ` Duncan
2014-04-28 11:57 Stefan Malte Schumacher
2014-04-28 12:06 ` Hugo Mills
2014-04-29  1:28 Stefan Malte Schumacher

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