From owner-freebsd-fs@FreeBSD.ORG Sat Jun 7 14:39:51 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7477A10656A8 for ; Sat, 7 Jun 2008 14:39:51 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206046210.chello.pl [87.206.46.210]) by mx1.freebsd.org (Postfix) with ESMTP id E7BEA8FC25 for ; Sat, 7 Jun 2008 14:39:50 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id DEFF245C99; Sat, 7 Jun 2008 16:39:48 +0200 (CEST) Received: from localhost (chello087206046210.chello.pl [87.206.46.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0B02E45B26; Sat, 7 Jun 2008 16:39:44 +0200 (CEST) Date: Sat, 7 Jun 2008 16:39:44 +0200 From: Pawel Jakub Dawidek To: Andrei Kolu Message-ID: <20080607143944.GC1344@garage.freebsd.pl> References: <200712071131.31773.antik@bsd.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kfjH4zxOES6UT95V" Content-Disposition: inline In-Reply-To: <200712071131.31773.antik@bsd.ee> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: raidtest: Cannot open 'raidtest.data' device: Operation not permitted X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2008 14:39:51 -0000 --kfjH4zxOES6UT95V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 07, 2007 at 11:31:31AM +0200, Andrei Kolu wrote: > # uname -a > FreeBSD test.demo 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 2 16:34:41 UTC= 2007 =20 > root@myers.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > 3ware device driver for 9000 series storage controllers, version: 3.70.05= .001 > twa0: <3ware 9000 series Storage Controller> port 0x3000-0x30ff mem=20 > 0xd8000000-0xd9ffffff,0xda300000-0xda300fff irq 16 at device 0.0 on pci7 > twa0: [ITHREAD] > twa0: INFO: (0x04: 0x0053): Battery capacity test is overdue: > twa0: INFO: (0x15: 0x1300): Controller details:: Model 9650SE-8LPML, 8 po= rts,=20 > Firmware FE9X 3.08.02.007, BIOS BE9X 3.08.00.002 >=20 > raidtest-1.1 =3D up-to-date with port >=20 > # set mediasize=3D`diskinfo /dev/da0 | awk '{print $3}'` > # set sectorsize=3D`diskinfo /dev/da0 | awk '{print $2}'` > # raidtest genfile -s $mediasize -S $sectorsize -n 50000 > # raidtest test -d /dev/da0 -n 10 > raidtest: Cannot open 'raidtest.data' device: Operation not permitted >=20 > # echo $mediasize > 1919932170240 > # echo $sectorsize > 512 >=20 >=20 > Or anyone can recommend other raid performance testing utility? A bit late, but... There was a bug in raidtest that it printed wrong file name. What it wanted to say was: raidtest: Cannot open '/dev/da0' device: Operation not permitted Which means it cannot open /dev/da0 for reading and writing, because it is already open for writting. If you only want to test reading performance try 'raidtest test -r'. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --kfjH4zxOES6UT95V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFISp2vForvXbEpPzQRAi5EAJ9JTxOhdAiRxnD6GCX3BeeAlIAjiACgsIrL XtzrorG/+XTCIkFaShujdxA= =4Bm5 -----END PGP SIGNATURE----- --kfjH4zxOES6UT95V--