xfs
[Top] [All Lists]

Re: How to run xfstests against btrfs on multipath disks on SuSE?

To: Ryan Wang <openspace.wang@xxxxxxxxx>
Subject: Re: How to run xfstests against btrfs on multipath disks on SuSE?
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon, 26 Nov 2012 12:39:31 +1100
Cc: linux-xfs@xxxxxxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <CAPxxNQ=SRZ33U8nLjK8a3+MPfy3Qz98ALcALXWK_x=dmW9+BoA@xxxxxxxxxxxxxx>
References: <CAPxxNQ=SRZ33U8nLjK8a3+MPfy3Qz98ALcALXWK_x=dmW9+BoA@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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@xxxxxxxxxxxx

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • Re: How to run xfstests against btrfs on multipath disks on SuSE?, Dave Chinner <=