From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
To: Joe Doliner <jdoliner@pachyderm.io>,
linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: finding path of subvolume from uuid
Date: Wed, 17 Dec 2014 11:56:27 +0900 [thread overview]
Message-ID: <5490F0DB.5020309@jp.fujitsu.com> (raw)
In-Reply-To: <CAA2X+Rn0LgVEcovYLGvu_kjHBqc7qQgXgEAQ7mKs6MORmeop4A@mail.gmail.com>
Hi,
(2014/12/16 18:52), Joe Doliner wrote:
> Using `btrfs subvolume show path` I can get information about what a
> subvolume's parent is by uuid.
> I'd like to use that information to perform a find-new between the
> subvolume and its parent. To do that though I need the path of the
> parent and I'm not sure the best way to do find it.
I couldn't understand what the meaning of "a find new between
the subvolume and its parent." Could you explain it more clearly?
>
> One way would be to grep a `btrfs subvolume list` which is probably
> fine but needlessly slow if there's a direct way to convert from uuid
> to path.
>
> Also just subscribed to this list, nice to meet all of you I'm jdoliner.
Nice to meet you too :-D
Thanks,
Satoru
>
> Thanks in advance for the help.
>
>
> Likely irrelevant but here's system config:
>
> Linux jd.c.celtic-guru-651.internal 3.17.2+ #2 SMP Thu Dec 4 18:08:02
> UTC 2014 x86_64 Intel(R) Xeon(R) CPU @ 2.60GHz GenuineIntel GNU/Linux
> Btrfs v3.14_pre20140414
> Label: 'ROOT' uuid: 4c2a047c-c81f-4838-b281-0e562fe02afe
> Total devices 1 FS bytes used 3.43GiB
> devid 1 size 6.68GiB used 4.82GiB path /dev/sda9
>
> Label: none uuid: 25db08a6-4771-48b6-bcae-999a65f49bf1
> Total devices 1 FS bytes used 24.56GiB
> devid 1 size 100.00GiB used 27.04GiB path /dev/sdb
>
> Label: none uuid: dc6cd8a9-ff7e-4577-9098-3909061be47c
> Total devices 1 FS bytes used 379.74MiB
> devid 1 size 10.00GiB used 3.04GiB path /dev/loop0
>
> Btrfs v3.14_pre20140414
> Data, single: total=24.01GiB, used=23.70GiB
> System, DUP: total=8.00MiB, used=16.00KiB
> System, single: total=4.00MiB, used=0.00
> Metadata, DUP: total=1.50GiB, used=880.41MiB
> Metadata, single: total=8.00MiB, used=0.00
> unknown, single: total=304.00MiB, used=0.00
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2014-12-17 2:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 9:52 finding path of subvolume from uuid Joe Doliner
2014-12-17 2:56 ` Satoru Takeuchi [this message]
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=5490F0DB.5020309@jp.fujitsu.com \
--to=takeuchi_satoru@jp.fujitsu.com \
--cc=jdoliner@pachyderm.io \
--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.