On Fri, Nov 11, 2011 at 09:55:29PM -0800, Richard Elling wrote:
> On Nov 10, 2011, at 7:47 PM, David Magda wrote:
> > On Nov 10, 2011, at 18:41, Daniel Carosone wrote:
> >> On Tue, Oct 11, 2011 at 08:17:55PM -0400, John D Groenveld wrote:
> >>> Under both Solaris 10 and Solaris 11x, I receive the evil message:
> >>> | I/O request is not aligned with 4096 disk sector size.
> >>> | It is handled through Read Modify Write but the performance is very low.
> >> I got similar with 4k sector 'disks' (as a comstar target with
> >> blk=4096) when trying to use them to force a pool to ashift=12. The
> >> labels are found at the wrong offset when the block numbers change,
> >> and maybe the GPT label has issues too.
> > Anyone know if Solaris 11 has better support for detecting the native block
> > size of the underlying storage?
> Better than ?
> If the disks advertise 512 bytes, the only way around it is with a whitelist.
> I would
> be rather surprised if Oracle sells 4KB sector disks for Solaris systems?
Afaik the disks advertise both the physical and logical sector size..
at least on Linux you can see that the disk emulates 512 bytes/sector,
but natively it uses 4kB/sector.
The info should be available through IDENTIFY DEVICE (ATA) or READ CAPACITY 16
zfs-discuss mailing list