Skip to contentSkip to conversation

btrfs df confusion

DISCUSSION Brendan Hide 2 participants 3 messages Dec 27, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi

I've made some updates on the wiki and I'd like a technical review for correctness. This particular topic is already confusing - some unnecessary sarcasm made it even more so:
https://btrfs.wiki.kernel.org/index.php/FAQ#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F

Due to the terms "used" and "allocated" in the wiki, viric in #btrfs made the good suggestion that we could adjust the show and df output with more intuitive language:

Before I git a patch together, please let me know if there are any good reasons why we wouldn't want to make such a change.

(13:31:29) viric: zatricky: "devid ... used" are allocated data, while "FS bytes used" is the sum of used bytes, isn't it? (13:33:28) zatricky: viric: correct
(13:33:52) viric: zatricky: maybe the devid lines could be changed s/used/allocated/
(13:34:37) zatricky: viric: that's a good idea - would make it more intuitive
(13:35:29) viric: the same way, 'btrfs fi df' could change s/total/allocated
^ GMT+2 ;)

Thanks

Signature · 5 lines
__________
Brendan Hide
Mobile: +27 83 448 3867
Web Africa - Internet Business Solutions
http://www.webafrica.co.za/?AFF1E97
#1 lore raw
Quoted 1 line · Brendan Hide

Hi

Hi,

Quoted 5 lines

I've made some updates on the wiki and I'd like a technical review for correctness. This particular topic is already confusing - some unnecessary sarcasm made it even more so:
https://btrfs.wiki.kernel.org/index.php/FAQ#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F

I posted some patches in order to address this issue. However these aren't integrated (yet). At the end I think that I reached a general consensus about the wording. A general description is here [1]. The patch related to man page is here [2], which can help about the wording.

I hope that it will help your work.

BR
G.Baroncelli

Quoted 20 lines

Due to the terms "used" and "allocated" in the wiki, viric in #btrfs made the good suggestion that we could adjust the show and df output with more intuitive language:

Before I git a patch together, please let me know if there are any good reasons why we wouldn't want to make such a change.

(13:31:29) viric: zatricky: "devid ... used" are allocated data, while "FS bytes used" is the sum of used bytes, isn't it? (13:33:28) zatricky: viric: correct
(13:33:52) viric: zatricky: maybe the devid lines could be changed s/used/allocated/
(13:34:37) zatricky: viric: that's a good idea - would make it more intuitive
(13:35:29) viric: the same way, 'btrfs fi df' could change s/total/allocated
^ GMT+2 ;)

Quoted 2 lines

Thanks

[1] http://permalink.gmane.org/gmane.comp.file-systems.btrfs/21071
[2]
http://markmail.org/thread/nol2gcjky4cxndhv#query:+page:1+mid:xqnyqp7slb7rrach+state:results

Signature · 2 lines
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5
#2 lore raw

Thanks, duplicate effort averted :)

Quoted 44 lines · Goffredo Baroncelli
Quoted 1 line · Brendan Hide

Hi

Hi,

Quoted 4 lines

I've made some updates on the wiki and I'd like a technical review for correctness. This particular topic is already confusing - some unnecessary sarcasm made it even more so:
https://btrfs.wiki.kernel.org/index.php/FAQ#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F

I posted some patches in order to address this issue. However these aren't integrated (yet). At the end I think that I reached a general consensus about the wording. A general description is here [1]. The patch related to man page is here [2], which can help about the wording.

I hope that it will help your work.

BR
G.Baroncelli

Quoted 19 lines

Due to the terms "used" and "allocated" in the wiki, viric in #btrfs made the good suggestion that we could adjust the show and df output with more intuitive language:

Before I git a patch together, please let me know if there are any good reasons why we wouldn't want to make such a change.

(13:31:29) viric: zatricky: "devid ... used" are allocated data, while "FS bytes used" is the sum of used bytes, isn't it? (13:33:28) zatricky: viric: correct
(13:33:52) viric: zatricky: maybe the devid lines could be changed s/used/allocated/
(13:34:37) zatricky: viric: that's a good idea - would make it more intuitive
(13:35:29) viric: the same way, 'btrfs fi df' could change s/total/allocated
^ GMT+2 ;)

Quoted 2 lines

Thanks

[1] http://permalink.gmane.org/gmane.comp.file-systems.btrfs/21071
[2]
http://markmail.org/thread/nol2gcjky4cxndhv#query:+page:1+mid:xqnyqp7slb7rrach+state:results

Signature · 4 lines
Brendan Hide

083 448 3867
http://swiftspirit.co.za/