Line 217: |
Line 217: |
| | | |
| ====RAID Notes==== | | ====RAID Notes==== |
− | Many on board hardware raid cards are in fact software RAID. Turn it off as cheap "fakeraid" cards aren't good. You will get better performance and reliability with Linux Software RAID (http://linux-ata.org/faq-sata-raid.html). Linux software RAID is fast and robust. | + | Many on-board hardware raid cards are in fact software RAID. Turn it off as cheap "fakeraid" cards aren't good for Linux. You will generally get better performance and reliability with Linux Software RAID (http://linux-ata.org/faq-sata-raid.html). Linux software RAID is fast and robust. |
| | | |
− | If your persistent on getting a hardware raid, buy a well supported raid card which has a proper RAID BIOS. This hides the disks and presents a single disk to Linux (http://linuxmafia.com/faq/Hardware/sata.html). Please check that it is supported by the kernel and has some form of management. Also avoid anything which requires a driver. Try googling for the exact model of RAID controller before buying it. Please note that you won't get a real hardware raid controller cheap. | + | If you are insistent on getting a hardware RAID, buy a well supported RAID card which has a proper RAID BIOS. This hides the disks and presents a single disk to Linux (http://linuxmafia.com/faq/Hardware/sata.html). Please check that it is supported by the kernel and has some form of management. Also avoid anything which requires a driver. Try googling for the exact model of RAID controller before buying it. Please note that you won't get a real hardware raid controller cheap. |
| | | |
| It rarely happens, but sometimes when a device has finished rebuilding, | | It rarely happens, but sometimes when a device has finished rebuilding, |
Line 229: |
Line 229: |
| | | |
| Theses operations are logged, however, no emails will be sent to admin as of the release of packages associated with Bug #6160 or the release of the 8.1 ISO. | | Theses operations are logged, however, no emails will be sent to admin as of the release of packages associated with Bug #6160 or the release of the 8.1 ISO. |
− | ====Receive periodic check of Raid by email==== | + | ====Receive periodic check of RAID by email==== |
| | | |
− | There are routines in SME Server to check the raid and sent mail to the admin user, when the raid is degraded or when the raid is resynchronizing. But the admin user receive a lot of emails and some time messages can be forgotten. | + | There are routines in SME Server to check the RAID and sent mail to the admin user, when the RAID is degraded or when the RAID is resynchronizing. But the admin user may receive a lot of emails and sometimes messages can be forgotten. |
− | So the purpose is to have a routine which sent email to the user of your choice each week. | + | So the purpose is to have a routine which sends email to the user of your choice each week. |
| | | |
| nano /etc/cron.weekly/raid-status.sh | | nano /etc/cron.weekly/raid-status.sh |
Line 346: |
Line 346: |
| Login as root, type console. Select Item 5. "Manage disk reduncancy" | | Login as root, type console. Select Item 5. "Manage disk reduncancy" |
| <nowiki>--------Disk Reduncancy status as of Thursday Dec 22 ------- | | <nowiki>--------Disk Reduncancy status as of Thursday Dec 22 ------- |
− | Current RAID status:
| + | Current RAID status: |
− |
| + | |
− | Personalities : [raid1]
| + | Personalities : [raid1] |
− | md2 : active raid1 hda2[0] <-- NOTICE hdb2[#] is missing. Means hdb2[#] failed.
| + | md2 : active raid1 hda2[0] <-- NOTICE hdb2[#] is missing. Means hdb2[#] failed. |
− | 38973568 blocks [2/1] [U_]
| + | 38973568 blocks [2/1] [U_] |
− |
| + | |
− | md1 : active raid1 hda1[0] hdb1[1]
| + | md1 : active raid1 hda1[0] hdb1[1] |
− | 104320 blocks [2/2] [UU]
| + | 104320 blocks [2/2] [UU] |
− |
| + | |
− | unused devices: <none>
| + | unused devices: <none> |
− | Only Some of the RAID devices are unclean. <-- NOTICE This message and
| + | Only Some of the RAID devices are unclean. <-- NOTICE This message and |
− | Manual intervention may be required.</nowiki> <-- this message.
| + | Manual intervention may be required.</nowiki> <-- this message. |
| Notice the last 2 sentences of the window above. You have some problems. <br> | | Notice the last 2 sentences of the window above. You have some problems. <br> |
| If your system is healthy however the message you will see at the bottom of Raid Console window is: | | If your system is healthy however the message you will see at the bottom of Raid Console window is: |