From: Marco Lorenzo Crociani <marcoc@prismatelecomtesting.com>
To: linux-btrfs@vger.kernel.org
Subject: btrfs filesystem usage - Wrong Unallocated indications - RAID10
Date: Mon, 23 May 2016 15:34:04 +0200 [thread overview]
Message-ID: <574306CC.3070906@prismatelecomtesting.com> (raw)
Hi,
as I wrote today in IRCI experienced an issue with 'btrfs filesystem usage'.
I have a 4 partitions RAID10 btrfs filesystem almost full.
'btrfs filesystem usage' reports wrong "Unallocated" indications.
Linux 4.5.3
btrfs-progs v4.5.3
# btrfs fi usage /data/
Overall:
Device size: 13.93TiB
Device allocated: 13.77TiB
Device unallocated: 167.54GiB
Device missing: 0.00B
Used: 13.44TiB
Free (estimated): 244.39GiB (min: 244.39GiB)
Data ratio: 2.00
Metadata ratio: 2.00
Global reserve: 512.00MiB (used: 0.00B)
Data,single: Size:8.00MiB, Used:0.00B
/dev/sda4 8.00MiB
Data,RAID10: Size:6.87TiB, Used:6.71TiB
/dev/sda4 1.72TiB
/dev/sdb3 1.72TiB
/dev/sdc3 1.72TiB
/dev/sdd3 1.72TiB
Metadata,single: Size:8.00MiB, Used:0.00B
/dev/sda4 8.00MiB
Metadata,RAID10: Size:19.00GiB, Used:14.15GiB
/dev/sda4 4.75GiB
/dev/sdb3 4.75GiB
/dev/sdc3 4.75GiB
/dev/sdd3 4.75GiB
System,single: Size:4.00MiB, Used:0.00B
/dev/sda4 4.00MiB
System,RAID10: Size:16.00MiB, Used:768.00KiB
/dev/sda4 4.00MiB
/dev/sdb3 4.00MiB
/dev/sdc3 4.00MiB
/dev/sdd3 4.00MiB
Unallocated:
/dev/sda4 1.76TiB
/dev/sdb3 1.76TiB
/dev/sdc3 1.76TiB
/dev/sdd3 1.76TiB
----------------------------------------------------------------------------------
# btrfs fi show /data/
Label: 'data' uuid: df6639d5-3ef2-4ff6-a871-9ede440e2dae
Total devices 4 FS bytes used 6.72TiB
devid 1 size 3.48TiB used 3.44TiB path /dev/sda4
devid 2 size 3.48TiB used 3.44TiB path /dev/sdb3
devid 3 size 3.48TiB used 3.44TiB path /dev/sdc3
devid 4 size 3.48TiB used 3.44TiB path /dev/sdd3
----------------------------------------------------------------------------------
# btrfs fi df /data/
Data, RAID10: total=6.87TiB, used=6.71TiB
Data, single: total=8.00MiB, used=0.00B
System, RAID10: total=16.00MiB, used=768.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, RAID10: total=19.00GiB, used=14.15GiB
Metadata, single: total=8.00MiB, used=0.00B
GlobalReserve, single: total=512.00MiB, used=0.00B
----------------------------------------------------------------------------------
# df -h
/dev/sda4 7,0T 6,8T 245G 97% /data
Regards,
--
Marco Crociani
Prisma Telecom Testing S.r.l.
via Petrocchi, 4 20127 MILANO ITALY
Phone: +39 02 26113507
Fax: +39 02 26113597
e-mail: marcoc@prismatelecomtesting.com
web: http://www.prismatelecomtesting.com
Questa email (e I suoi allegati) costituisce informazione riservata e confidenziale e può essere soggetto a legal privilege. Può essere utilizzata esclusivamente dai suoi destinatari legittimi. Se avete ricevuto questa email per errore, siete pregati di informarne immediatamente il mittente e quindi cancellarla. A meno che non siate stati a ciò espressamente autorizzati, la diffusione o la riproduzione di questa email o del suo contenuto non sono consentiti.
Salvo che questa email sia espressamente qualificata come offerta o accettazione contrattuale, il mittente non intende con questa email dare vita ad un vincolo giuridico e questa email non può essere interpretata quale offerta o accettazione che possa dare vita ad un contratto. Qualsiasi opinione manifestata in questa email è un'opinione personale del mittente, salvo che il mittente dichiari espressamente che si tratti di un'opinione di Prisma Engineering.
*******************************************************************************
This e-mail (including any attachments) is private and confidential, and may be privileged. It is for the exclusive use of the intended recipient(s). If you have received this email in error, please inform the sender immediately and then delete this email. Unless you have been given specific permission to do so, please do not distribute or copy this email or its contents.
Unless the text of this email specifically states that it is a contractual offer or acceptance, the sender does not intend to create a legal relationship and this email shall not constitute an offer or acceptance which could give rise to a contract. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of Prisma Engineering.
next reply other threads:[~2016-05-23 13:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 13:34 Marco Lorenzo Crociani [this message]
2016-05-23 18:34 ` btrfs filesystem usage - Wrong Unallocated indications - RAID10 Nicholas D Steeves
2016-05-23 18:49 ` Zoiled
2016-05-23 19:19 ` Hugo Mills
2016-05-25 20:14 ` Henk Slager
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=574306CC.3070906@prismatelecomtesting.com \
--to=marcoc@prismatelecomtesting.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 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.