| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: raidctl.8,v 1.61 2010/01/27 09:26:16 wiz Exp $ | | 1 | .\" $NetBSD: raidctl.8,v 1.62 2011/07/28 18:25:22 buhrow Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1998, 2002 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 1998, 2002 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Greg Oster | | 7 | .\" by Greg Oster |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -1587,15 +1587,27 @@ RAID is | | | @@ -1587,15 +1587,27 @@ RAID is |
1587 | .Em NOT | | 1587 | .Em NOT |
1588 | a substitute for good backup practices. | | 1588 | a substitute for good backup practices. |
1589 | .Pp | | 1589 | .Pp |
1590 | Recomputation of parity | | 1590 | Recomputation of parity |
1591 | .Em MUST | | 1591 | .Em MUST |
1592 | be performed whenever there is a chance that it may have been compromised. | | 1592 | be performed whenever there is a chance that it may have been compromised. |
1593 | This includes after system crashes, or before a RAID | | 1593 | This includes after system crashes, or before a RAID |
1594 | device has been used for the first time. | | 1594 | device has been used for the first time. |
1595 | Failure to keep parity correct will be catastrophic should a | | 1595 | Failure to keep parity correct will be catastrophic should a |
1596 | component ever fail \(em it is better to use RAID 0 and get the | | 1596 | component ever fail \(em it is better to use RAID 0 and get the |
1597 | additional space and speed, than it is to use parity, but | | 1597 | additional space and speed, than it is to use parity, but |
1598 | not keep the parity correct. | | 1598 | not keep the parity correct. |
1599 | At least with RAID 0 there is no perception of increased data security. | | 1599 | At least with RAID 0 there is no perception of increased data security. |
| | | 1600 | .Pp |
| | | 1601 | When replacing a failed component of a RAID set, it is a good |
| | | 1602 | idea to zero out the first 64 blocks of the new component to insure the |
| | | 1603 | RAIDframe driver doesn't erroneously detect a component label in the |
| | | 1604 | new component. This is particularly true on |
| | | 1605 | .Em |
| | | 1606 | RAID 1 |
| | | 1607 | sets because there is at most one correct component label in a failed RAID |
| | | 1608 | 1 installation, and the RAIDframe driver picks the component label with the |
| | | 1609 | highest serial number and modification value as the authoritative source |
| | | 1610 | for the failed RAID set when choosing which component label to use to |
| | | 1611 | configure the RAID set. |
1600 | .Sh BUGS | | 1612 | .Sh BUGS |
1601 | Hot-spare removal is currently not available. | | 1613 | Hot-spare removal is currently not available. |