format -e is your window to cache settings.

As for the auto-enabling, I'm not sure, as IIRC, we do different things 
based on disk technology.

eg: IDE + SATA - Always enabled
     SCSI - Disabled by default, unless you give ZFS the whole disk.

I think.

On a couple of my systems, this seems to ring true.

Not at all sure about SAS.

If I'm wrong here, hopefully someone else will provide the complete set 
of logic for determining cache enabling semantics.

:)

Nathan.

Brian Hechinger wrote:
> On Wed, Jun 04, 2008 at 09:17:05PM -0400, Ellis, Mike wrote:
>> The FAQ document (
>> http://opensolaris.org/os/community/zfs/boot/zfsbootFAQ/ ) has a
>> jumpstart profile example:
> 
> Speaking of the FAQ and mentioning the need to use slices, how does that
> affect the ability of Solaris/ZFS to automatically enable the disk's
> cache?  Does it need to be manually over-ridden (unlike giving ZFS the
> whole disk where it automatically turns the disk cache on)?
> 
> Also, how can you check if the disk's cache has been enabled or not?
> 
> Thanks,
> 
> -brian

-- 
//////////////////////////////////////////////////////////////////
// Nathan Kroenert              [EMAIL PROTECTED]     //
// Technical Support Engineer   Phone:  +61 3 9869-6255         //
// Sun Services                 Fax:    +61 3 9869-6288         //
// Level 3, 476 St. Kilda Road                                  //
// Melbourne 3004   Victoria    Australia                       //
//////////////////////////////////////////////////////////////////
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to