Hello,

I tried to kick off xfstests against btrfs on multipath device,
e.g I set TEST_DEV="/dev/mapper/mpatha", which is a
symlink to "/dev/dm-0". I mkfs.btrfs mpatha beforehand.

When I run "./check 001", it said:
"
common.rc: Error: $TEST_DEV (/dev/dm-0) is not a MOUNTED btrfs filesystem
"

The I checked the script common.rc, and found that it uses
df to determine the filesystem type and it uses the realpath
"/dev/dm-0" instead of "/dev/mapper/mpatha", while df always
shows "devtmpfs" instead of "btrfs" for /dev/dm-0.

I run "mount" and found that devtmpfs is mount on /dev/ ***by default***
in SuSE.
Even though  I run "mount -t btrfs /dev/dm-0 /somedir", df still showed
devtmpfs.

Any ideas to kick off the xfstests?

thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to