linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to run xfstests against btrfs on multipath disks on SuSE?
@ 2012-11-26  1:26 Ryan Wang
  2012-11-26  1:39 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Wang @ 2012-11-26  1:26 UTC (permalink / raw)
  To: linux-xfs, linux-btrfs

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-26  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-26  1:26 How to run xfstests against btrfs on multipath disks on SuSE? Ryan Wang
2012-11-26  1:39 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).