Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Problem Resolution Sure Solution 1011886.1 : Data corruption on the Sun StorEdge[TM] T3 after a hardware failure
PreviouslyPublishedAs 216275 Symptoms It's important to understand how the Sun StorEdge[TM] T3 cache settings work in order to avoid data corruption when components fail. There is plenty of documentation about what the recommended settings are, but there is very little in the documentation about what can happen if the Sun StorEdge[TM] T3 is configured with non-standard settings. Occasionally we see instances of data corruption on the Sun StorEdge[TM] T3 after a hardware failure which can be traced back to the cache settings. This affects all types of Sun StorEdge[TM] T3s, including the Sun StorEdge[TM] T3+ or Sun StorEdge[TM] T3B. Resolution The command to check the settings on the Sun StorEdge[TM] T3 is `sys list`. The settings we're interested in are "cache" and "mirror". By default, both parameters are set to "auto" to allow the T3 to set them appropriately without user intervention, like so: my_t3:/:<1>sys list blocksize : 64k cache : auto mirror : auto .... The behavior of the "auto" settings is documented in the Sun StorEdge[TM] T3 Disk Tray Configuration Guide. With this configuration, the data is protected even in the event of hardware failures because the cache is mirrored. The Sun StorEdge[TM]T3 will allow users to configure it so that it is vulnerable to data corruption due to loss of the cache. If the cache is not mirrored (either because it's a single-brick configuration and cache mirroring is set to "auto", or a partner pair with sys mirror set to "off") and the Sun StorEdge[TM] T3 is set to "writebehind" mode (forcing it to use the cache for writes), there is a danger of data corruption. For example: my_t3:/:<1>sys list blocksize : 64k cache : writebehind mirror : off .... In this situation, if there is a hardware failure that prevents cache data from being flushed to disk (such as a controller failure) and there are pending writes in the Sun StorEdge[TM] T3 cache, data corruption will occur. Even though the OS received acknowledgement that the writes were completed, they haven't actually been written to disk yet, and when access to the cache is lost, so is the data in the pending writes. Since the writes never complete, the data on disk becomes inconsistent and cannot be repaired. Even after fixing the hardware problem, some or all of the data will generally need to restored. Product Sun StorageTek T3+ Array Sun StorageTek T3 Array Internal Comments None. Previously Published As 49095 Change History Date: 2007-05-11 User Name: 36260 Action: Update Canceled Comment: *** Restored Published Content *** blah Version: 0 Date: 2007-05-10 User Name: 36260 Action: Update Started Comment: test Version: 0 Date: 2004-04-13 User Name: 13128 Action: Approved Comment: Publish Version: 0 Date: 2004-04-13 User Name: 13128 Action: Accepted Comment: Version: 0 Date: 2004-04-12 User Name: 88109 Action: Approved Comment: Looks like this was pulled for an update, however nothing was changed. Sending to final stage Version: 0 Date: 2004-04-12 User Name: 88109 Action: Accepted Comment: Version: 0 Date: 2004-03-30 User Name: 76353 Action: Approved Comment: Everything looks good. No need to update. Version: 0 Date: 2004-03-25 User Name: 76353 Action: Updated Comment: Looked at the Doc, everything looks ok. No update needed. Version: 0 Date: 2003-05-20 User Name: Administrator Action: Migration from KMSCreator Comment: updated by : Nita Streit comment : Made minor changes, fixed typos, did Tmark. date : Nov 26, 2002 updated by : John Mountain comment : Article created. date : Nov 25, 2002 updated by : John Mountain comment : Please review. date : Nov 25, 2002 updated by : Matthew Teeter comment : No comment date : Nov 25, 2002 Version: 0 Product_uuid 2a714b10-0a18-11d6-86e2-d56b387d4fbf|Sun StorageTek T3+ Array 2a6d7d50-0a18-11d6-8e0b-f0bd33b24928|Sun StorageTek T3 Array Attachments This solution has no attachment |
||||||||||||
|