List of devices added to a btrfs file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux