From: Prasad Joshi <prasadjoshi124@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: List of devices added to a btrfs file system
Date: Sat, 7 Nov 2009 18:34:44 +0530 [thread overview]
Message-ID: <fe291c8c0911070504v12957f85je800890fd4a89942@mail.gmail.com> (raw)
Hi All,
I want to know the list of devices added to a mounted btrfs file
system. I could not figure out how to find the list.
I created file system on 2 devices. Now I could mount the file system
using any device.
$ mkfs.btrfs /dev/sdb /dev/sdc
$ mount -t btrfs /dev/sdb /mnt
$ umount /mnt
$ mount -t btrfs /dev/sdc /mnt
$ mount -t btrfs /dev/sdb /mnt
mount -t btrfs /dev/sdb /mnt
mount: /dev/sdb already mounted or /mnt busy
mount: according to mtab, /dev/sdc is already mounted on /mnt
This works really fine, but there should be a way to list the number
of device and device names added to the file system. Is there any way
to get that list?
Thanks and Regards,
Prasad
next reply other threads:[~2009-11-07 13:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-07 13:04 Prasad Joshi [this message]
2009-11-07 16:43 ` List of devices added to a btrfs file system Chris Ball
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=fe291c8c0911070504v12957f85je800890fd4a89942@mail.gmail.com \
--to=prasadjoshi124@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