linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Steigerwald <Martin@lichtvoll.de>
To: Goffredo Baroncelli <kreijack@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH V2][BTRFS-PROGS] Improve output of mkfs.btrfs command
Date: Wed, 17 Dec 2014 23:38:56 +0100	[thread overview]
Message-ID: <5284555.ol6X7L4m1y@merkaba> (raw)
In-Reply-To: <1418847252-14184-1-git-send-email-kreijack@inwind.it>

Am Mittwoch, 17. Dezember 2014, 21:14:04 schrieb Goffredo Baroncelli:
> # mkfs.btrfs -L btrfs-test -f -M -m raid5 -d raid5 /dev/vd[b-k]"
> BTRFS filesystem summary:
>   Label:                btrfs-test
>   UUID:                 4409e381-f066-4e7b-af74-b6525fefa08b
> 
>   Node size:            4096
>   Leaf size:            4096
>   Sector size:          4096
>   Initial chunks:
>     Data+Metadata:      9.01GiB
>     System:             18.06MiB
>   Metadata profile:     RAID5
>   Data profile:         RAID5
>   Mixed mode:           YES
>   SSD detected:         NO
>   Incompat features:    mixed-bg, extref, raid56
>   Number of devices:    10
>     UUID                                  ID    SIZE    PATH
>     ------------------------------------  --  --------- -----------
>     907a3722-5d3e-4ee8-9cf1-e0e31c5edea7   1   50.00GiB /dev/vdb
>     2517a387-e060-46d1-9be7-9535802333c7   2   50.00GiB /dev/vdc
>     763dbe5e-8b16-4330-8730-8b60e245056b   3   50.00GiB /dev/vdd
>     180abbc2-4426-4f9c-a711-7735e19536d4   4   50.00GiB /dev/vde
>     666799fd-0413-42ce-bac4-a96e3e855ea2   5   50.00GiB /dev/vdf
>     a6af3e09-8469-4e57-9fa0-9d82e6c8faf1   6   50.00GiB /dev/vdg
>     e2b8a73e-2e37-4eb8-a8cb-71721a96b358   7   50.00GiB /dev/vdh
>     3fa65e67-88f6-48cc-9292-9336220e19a8   8    2.00GiB /dev/vdi
>     5a238ef4-e143-4b84-b698-347a1ceb7aa7   9    2.00GiB /dev/vdj
>     9794c5b4-8a9e-40d0-9774-b672034ef22b  10    2.00GiB /dev/vdk
> 
>   Total devices size:                         356.01GiB

I like it, thanks.

Would be nice to have an output like this also in btrfs command – to query 
existing filesystem.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

  parent reply	other threads:[~2014-12-17 22:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17 20:14 [PATCH V2][BTRFS-PROGS] Improve output of mkfs.btrfs command Goffredo Baroncelli
2014-12-17 20:14 ` [PATCH 1/8] Add -v -q switches to mkfs.btrfs Goffredo Baroncelli
2014-12-25  1:19   ` Satoru Takeuchi
2014-12-17 20:14 ` [PATCH 2/8] Move group_profile_str() in utils.c Goffredo Baroncelli
2014-12-25  1:20   ` Satoru Takeuchi
2014-12-17 20:14 ` [PATCH 3/8] Add verbose option to btrfs_add_to_fsid() Goffredo Baroncelli
2014-12-25  1:28   ` Satoru Takeuchi
2014-12-17 20:14 ` [PATCH 4/8] Add strdup in btrfs_add_to_fsid() to track the device path Goffredo Baroncelli
2014-12-25  1:29   ` Satoru Takeuchi
2014-12-17 20:14 ` [PATCH 5/8] Return the fsid from make_btrfs() Goffredo Baroncelli
2014-12-25  2:44   ` Satoru Takeuchi
2014-12-25  9:22     ` Goffredo Baroncelli
2014-12-17 20:14 ` [PATCH 6/8] Track the size of the chunk created Goffredo Baroncelli
2014-12-17 20:14 ` [PATCH 7/8] Print the summary Goffredo Baroncelli
2014-12-17 20:14 ` [PATCH 8/8] Add -v and -q switches in the mkfs.btrfs man page Goffredo Baroncelli
2014-12-17 22:38 ` Martin Steigerwald [this message]
2014-12-18  2:28 ` [PATCH V2][BTRFS-PROGS] Improve output of mkfs.btrfs command Anand Jain
2015-03-23 23:46 ` David Sterba
2015-03-25 19:07   ` Goffredo Baroncelli

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=5284555.ol6X7L4m1y@merkaba \
    --to=martin@lichtvoll.de \
    --cc=kreijack@gmail.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 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).