List of devices added to a btrfs file system

2009-11-07 Thread Prasad Joshi
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 $ mo

Re: Errors in btrfsck after converting ext2 FS to btrfs.

2009-10-19 Thread Prasad Joshi
On Mon, Oct 19, 2009 at 7:56 AM, Yan, Zheng wrote: > On Sun, Oct 18, 2009 at 10:35 PM, Prasad Joshi > wrote: >> Hi, >> >> I tried using the btrfs-convert utility to convert the ext2 fs to >> btrfs. After the conversion was over, just to verify the correctness >&

Errors in btrfsck after converting ext2 FS to btrfs.

2009-10-18 Thread Prasad Joshi
Hi, I tried using the btrfs-convert utility to convert the ext2 fs to btrfs. After the conversion was over, just to verify the correctness of operation, ran btrfsck on the device. It showed errors 800. I am not sure what does it mean, so thought of repoting it on mailing list. # btrfsck /dev/sdb

[PATCH] btrfs-progs: Corrected return values from btrfsctl.c

2009-10-17 Thread Prasad Joshi
btrfsctl.c should return 0 if ioctl succeeds Signed-off-by: Prasad Joshi --- diff --git a/btrfsctl.c b/btrfsctl.c index 66c4e89..d602fc4 100644 --- a/btrfsctl.c +++ b/btrfsctl.c @@ -232,8 +232,8 @@ int main(int ac, char **av) } printf("%s\n", BTRFS_BUILD_VERSION);