Are you sure thar write cache is back on after restart?
Yes, I've checked with format -e, on each drive.
When disabling the write cache with format, it also gives a warning
stating this is the case.
What I'm looking for is a faster way to do this than format -e -d <disk>
-f <script>, for all 48 disks.
From format, after a reboot:
selecting c10t7d0
[disk formatted]
/dev/dsk/c10t7d0s0 is part of active ZFS pool export. Please see zpool(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show vendor, product and revision
scsi - independent SCSI mode selects
cache - enable, disable or query SCSI disk cache
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> cache
CACHE MENU:
write_cache - display or modify write cache settings
read_cache - display or modify read cache settings
!<cmd> - execute <cmd>, then return
quit
cache> write_cache
WRITE_CACHE MENU:
display - display current setting of write cache
enable - enable write cache
disable - disable write cache
!<cmd> - execute <cmd>, then return
quit
write_cache> display
Write Cache is enabled
write_cache> disable
This setting is valid until next reset only. It is not saved permanently.
write_cache> display
Write Cache is disabled
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss