Changes between Version 21 and Version 22 of SmartArray


Ignore:
Timestamp:
09/04/13 11:34:49 (8 years ago)
Author:
Adam Cécile
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SmartArray

    v21 v22  
    159159
    160160[[BR]][[BR]]
     161
     162Controller policies (write cache, disk cache, battery), only interesting lines kept:
     163{{{
     164root@server:~# hpacucli ctrl slot=0 show
     165
     166Smart Array P420i in Slot 0 (Embedded)
     167   Serial Number: *SERIAL*
     168   Controller Status: OK
     169   Firmware Version: 3.54
     170   Cache Board Present: True
     171   Cache Status: OK
     172   Cache Ratio: 25% Read / 75% Write
     173   Drive Write Cache: Disabled
     174   Total Cache Size: 512 MB
     175   No-Battery Write Cache: Disabled
     176   Cache Backup Power Source: Capacitors
     177   Battery/Capacitor Count: 1
     178   Battery/Capacitor Status: OK
     179}}}
     180
     181Cache is ok, Battery is too. Write cache disabled if battery back isn't enabled, that's ok.
     182
     183Enable/Disable write cache for all arrays:
     184
     185Check current state:
     186{{{
     187root@server:~# hpacucli ctrl slot=0 ld all show detail
     188
     189Smart Array P420i in Slot 0 (Embedded)
     190
     191   array A
     192
     193      Logical Drive: 1
     194         Size: 136.7 GB
     195         Fault Tolerance: RAID 1
     196         Status: OK
     197         Caching:  Disabled
     198
     199}}}
     200
     201Enable caching:
     202{{{
     203root@server:~# hpacucli ctrl slot=0 ld all modify arrayaccelerator=enable
     204}}}
     205
     206Enable disks' write cache:
     207{{{
     208root@server:~# hpacucli ctrl slot=0 modify dwc=enable
     209
     210Warning: Without the proper safety precautions, use of write cache on physical
     211         drives could cause data loss in the event of power failure.  To ensure
     212         data is properly protected, use redundant power supplies and
     213         Uninterruptible Power Supplies. Also, if you have multiple storage
     214         enclosures, all data should be mirrored across them. Use of this
     215         feature is not recommended unless these precautions are followed.
     216         Continue? (y/n) y
     217}}}
     218
     219Warning is self-explaining I guess. Disks's cache aren't protected by controller's battery. It's up to you but I wouldn't enable such features if your power supply isn't protected.