From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Luk=E1=A8_Czerner?= Subject: Re: Running xfstests on logical volumes Date: Thu, 15 May 2014 12:56:11 +0200 (CEST) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-fsdevel@vger.kernel.org To: Sankar P Return-path: Received: from mx1.redhat.com ([209.132.183.28]:29518 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbaEOK4P (ORCPT ); Thu, 15 May 2014 06:56:15 -0400 In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, 15 May 2014, Sankar P wrote: > Date: Thu, 15 May 2014 15:35:37 +0530 > From: Sankar P > To: linux-fsdevel@vger.kernel.org > Subject: Running xfstests on logical volumes > > Hi, > > I am trying to run the generic group of tests, on an out-of-tree > filesystem http://en.wikipedia.org/wiki/Novell_Storage_Services > > I run as: > TEST_DEV=NSSVOL TEST_DIR=/media/nss/NSSVOL FSTYP=nssvol ./check -g dir 001 > > The volume NSSVOL is a logical device and not an actual device. When I > run the xfstests, I get an error: > > common/config: Error: $TEST_DEV (NSSVOL) is not a block device or a > NFS filesystem > > How do I resolve this ? Is it possible to test such logical devices ? I do not know of any other way other than modify xfstests sources, specifically common/rc helpers, common/config checks and possibly more and update mkfs and fsck routines. xfstests simply expects block device or NFS, so you'll have to teach it to understand your file system as well. > Also, the filesystem does not have a fsck too, if it matters. I could > not get any information about this from README. I am running xfstests > current git head. -Lukas