On Mon, 26 Nov 2012, Ryan Wang wrote:
> Date: Mon, 26 Nov 2012 08:00:05 +0800
> From: Ryan Wang <openspace.wang@xxxxxxxxx>
> To: linux-ext4@xxxxxxxxxxxxxxx, Theodore Ts'o <tytso@xxxxxxx>
> Subject: How to run xfstests against multipath disks on SuSE?
Maybe cc xfstests developers as well ?
xfs@xxxxxxxxxxx added to cc.
> 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?
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html