graid3 device gives "Invalid argument" when requested to read >=128kb

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Dec 29 07:58:45 PST 2006


On Fri, Dec 29, 2006 at 04:56:57PM +0200, Vasil Dimov wrote:
> Hi,
> 
> I managed to create a graid3 array which returns "Invalid argument" when
> I attempt to read more than 128k with a single read(2) call.
> 
> Here is the test program:
[...]
> This is what /dev/raid3/r3test looks like
> (notice the sector size is 8192, that's why my test program is using
> multiples of 8192):
[...]

Using sectorsize larger than page size won't work with UFS anyway.
Not sure if this is graid3(8) issue or some general issue. Can you try
create provider with 8kB sectorsize using gnop(8) and retry your test?

	# gnop create -S 8192 /dev/ad0

-- 
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-geom/attachments/20061229/e1074b83/attachment.pgp


More information about the freebsd-geom mailing list