Date: Fri, 7 Oct 2005 06:05:04 -0600 From: "Kenneth D. Merry" <ken@freebsd.org> To: Danny Braniss <danny@cs.huji.ac.il> Cc: scsi@freebsd.org Subject: Re: 2048kb block size Message-ID: <20051007120504.GA38496@nargothrond.kdm.org> In-Reply-To: <E1ENp93-0002Ry-80@cs1.cs.huji.ac.il>
index | next in thread | previous in thread | raw e-mail
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. 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.) Ken -- Kenneth Merry ken@FreeBSD.ORGhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051007120504.GA38496>
