* List of devices added to a btrfs file system
@ 2009-11-07 13:04 Prasad Joshi
2009-11-07 16:43 ` Chris Ball
0 siblings, 1 reply; 2+ messages in thread
From: Prasad Joshi @ 2009-11-07 13:04 UTC (permalink / raw)
To: linux-btrfs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: List of devices added to a btrfs file system
2009-11-07 13:04 List of devices added to a btrfs file system Prasad Joshi
@ 2009-11-07 16:43 ` Chris Ball
0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2009-11-07 16:43 UTC (permalink / raw)
To: Prasad Joshi; +Cc: linux-btrfs
Hi Prasad,
> 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?
btrfs-show does this.
- Chris.
--
Chris Ball <cjb@laptop.org>
One Laptop Per Child
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-07 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-07 13:04 List of devices added to a btrfs file system Prasad Joshi
2009-11-07 16:43 ` Chris Ball
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox