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

R. B. Riddick arne_woerner at yahoo.com
Wed Jan 10 08:58:52 UTC 2007


--- Vasil Dimov <vd at FreeBSD.org> wrote:
> On Sat, Dec 30, 2006 at 04:39:39AM -0800, R. B. Riddick wrote:
> > neo# gnop create -S 16384 md0
> > neo# dd if=/dev/md0.nop of=/dev/null 
> > dd: /dev/md0.nop: Invalid argument
> > 0+0 records in
> > 0+0 records out
> > 0 bytes transferred in 0.000155 secs (0 bytes/sec)
> 
> This is because default dd's read block size is 512b
>
Yup... Its the default...

> > Just UFS seems to have a problem:
> > 
> > neo# newfs /dev/md0.nop
> > /dev/md0.nop: 16.0MB (32768 sectors) block size 16384, fragment size 16384
> >         using 4 cylinder groups of 4.02MB, 257 blks, 128 inodes.
> > newfs: can't read old UFS1 superblock: read error from block device:
> > Invalid argument
> 
> Look at newfs's -S switch, this is the same issue as with dd above.
> 
I tried, but no success... newfs should be able to find out the sector size...
But -S does not help, too... Tried it urself?

-Arne

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-geom mailing list