How to run xfstests against multipath disks on SuSE?

Lukáš Czerner lczerner at redhat.com
Mon Nov 26 07:43:40 CST 2012


On Mon, 26 Nov 2012, Ryan Wang wrote:

> Date: Mon, 26 Nov 2012 08:00:05 +0800
> From: Ryan Wang <openspace.wang at gmail.com>
> To: linux-ext4 at vger.kernel.org, Theodore Ts'o <tytso at mit.edu>
> Subject: How to run xfstests against multipath disks on SuSE?

Maybe cc xfstests developers as well ?

xfs at oss.sgi.com added to cc.

> 
> Hello,
> 
> I tried to kick off xfstests on multipath device, e.g I set
> TEST_DEV="/dev/mapper/mpatha", which is a symlink
> to "/dev/dm-0". I run mkfs on mpatha beforehand.
> 
> When I run "./check 001", it said:
> "
> common.rc: Error: $TEST_DEV (/dev/dm-0) is not a MOUNTED ext4 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 "ext4" for /dev/dm-0.
> 
> I run "mount" and found that devtmpfs is mount on /dev/ on opensuse
> ***by default***. 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-ext4" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



More information about the xfs mailing list