Date: Sat, 7 Jun 2008 16:39:44 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Andrei Kolu <antik@bsd.ee> Cc: freebsd-fs@freebsd.org Subject: Re: raidtest: Cannot open 'raidtest.data' device: Operation not permitted Message-ID: <20080607143944.GC1344@garage.freebsd.pl> In-Reply-To: <200712071131.31773.antik@bsd.ee> References: <200712071131.31773.antik@bsd.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080607143944.GC1344>