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

* Re: How to run xfstests against btrfs on multipath disks on SuSE?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2012-11-26  1:39 UTC (permalink / raw)
  To: Ryan Wang; +Cc: linux-xfs, linux-btrfs, xfs

On Mon, Nov 26, 2012 at 09:26:31AM +0800, Ryan Wang wrote:
> 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?

seeing as you've now sent this to 3 lists that the xfstests
maintainers are likely not to read, I've added the proper list to
the cc list. i.e. xfs@oss.sgi.com.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

^ 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).