raidtest: Cannot open 'raidtest.data' device: Operation not permitted

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Jun 7 14:39:51 UTC 2008


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     
> root at myers.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> 3ware device driver for 9000 series storage controllers, version: 3.70.05.001
> twa0: <3ware 9000 series Storage Controller> port 0x3000-0x30ff mem 
> 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 ports, 
> Firmware FE9X 3.08.02.007, BIOS BE9X 3.08.00.002
> 
> raidtest-1.1                        =   up-to-date with port
> 
> # set mediasize=`diskinfo /dev/da0 | awk '{print $3}'`
> # set sectorsize=`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
> 
> # echo $mediasize
> 1919932170240
> # echo $sectorsize
> 512
> 
> 
> 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'.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20080607/134488c4/attachment.pgp


More information about the freebsd-fs mailing list