Date: Fri, 07 Oct 2005 15:10:56 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: "Kenneth D. Merry" <ken@freebsd.org> Cc: scsi@freebsd.org Subject: Re: 2048kb block size Message-ID: <E1ENr3w-00064V-Rj@cs1.cs.huji.ac.il> In-Reply-To: Your message of Fri, 7 Oct 2005 06:05:04 -0600 .
next in thread | raw e-mail | index | archive | help
> On Fri, Oct 07, 2005 at 13:08:05 +0300, Danny Braniss wrote: > > hope this doesn't sound too silly, but can the scsi blcksize be set/changed? > > i know that the 'disk' can be formated to any blocksize, the question > > is does the CAM/da know about non 512 block size? > > CDROM drives often have jumpers to go between 2048 byte and 512 byte > blocks. > ha, yes, the old suns could only handle 512! > Some hard drives can be formatted for block sizes from 512 to 528 bytes. > Anything larger than 512 in that case is used for per-sector ECC > information and is typically only used by RAID controllers. > > The da(4) driver uses read capacity to get the device size and blocksize, > and should be able to handle most any blocksize. (You might want to stick > with powers of 2, although it would be interesting to see if anything in > the stack breaks with a blocksize that isn't a power of 2.) > this is a iSCSI target that was so configured and my driver stopped working, so while im trying to debug it, i am shooting in the dark. thanks, danny > Ken > -- > Kenneth Merry > ken@FreeBSD.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ENr3w-00064V-Rj>