Both sides previous revision Previous revision Next revision | Previous revision |
omv6:omv6_plugins:snapraid [2023/08/03 01:31] – [Normal Operations] crashtest | omv6:omv6_plugins:snapraid [2024/04/22 04:02] (current) – crashtest |
---|
{{indexmenu_n>6}} | {{indexmenu_n>9}} |
\\ | \\ |
<html><center><b>SnapRAID Plugin For OMV6</b></center></html> | <html><center><b>SnapRAID Plugin For OMV6</b></center></html> |
\\ | \\ |
For the admin's convenience, much of the monitoring processes can be automated as follows:\\ | For the admin's convenience, much of the monitoring processes can be automated as follows:\\ |
Configuring -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#server_notifications|Server Notifications]] and configuring -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#hard_drive_health_and_smart|SMART]], as recommend, will go a long way toward providing as much notice as possible that a hard drive is begining to fail. If user / admins receive SMART advisory E-mails regarding a particular drive, take note of the -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#smart_attributes|SMART attributes]] that are associated with drive failure. In addition, the SnapRAID plugin has a "drive failure probability" indicator. It can be found under; **Services**, **SnapRAID**, **Drives**. Under the **Info** button {{:omv6-plugins-snapraid-05-04.jpg?20|}} select **SMART** from the drop down menu.\\ | Configuring -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#server_notifications|Server Notifications]] and configuring -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#hard_drive_health_and_smart|SMART]], as recommend, will go a long way toward providing as much notice as possible that a hard drive is beginning to fail. If user / admins receive SMART advisory E-mails regarding a particular drive, take note of the -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#smart_attributes|SMART attributes]] that are associated with drive failure. In addition, the SnapRAID plugin has a "drive failure probability" indicator. It can be found under; **Services**, **SnapRAID**, **Drives**. Under the **Info** button {{:omv6-plugins-snapraid-05-04.jpg?20|}} select **SMART** from the drop down menu.\\ |
\\ | |
If symptoms of a failing drive are noted, see Recovery Operations. | |
| |
| |
| |
\\ | \\ |
| If symptoms of a failing drive are noted, see Recovery Operations (below).\\ |
\\ | \\ |
{{ :divider2.png?nolink&800 |}} | {{ :divider2.png?nolink&800 |}} |
===== Recovery Operations ===== | ===== Recovery Operations ===== |
| |
Recovery operation examples for single files, missing files, etc., are provided in the -> [[https://www.snapraid.it/faq|SnapRAID FAQ]] page. | Recovery examples for single files, missing files, etc., are provided in the -> [[https://www.snapraid.it/faq|SnapRAID FAQ]] page. |
| |
==== Recovering a Failed Drive ==== | ==== Recovering a Failed Drive ==== |
* First it's crucial that the **Diff script**, if automated, is turned **OFF**. | * First it's crucial that the **Diff script**, if automated, is turned **OFF**. |
* Do not run a **Snyc** operation until after the replacement is completed. | * Do not run a **Snyc** operation until after the replacement is completed. |
* If user / admins have automated processes (downloaders, media centers, etc.) that save or move files on protected drives, they should be paused or turned off. | * If user / admins have automated processes (downloaders, media centers, etc.) that save or move files on SnapRAID protected drives, they should be paused or turned off. |
* Server users should be informed to not use the server during the drive replacement. (This could be enforced by temporarily disabling file sharing services like SMB or NFS.) | * Server users should be informed to not use the server during the drive replacement. (This could be enforced by temporarily disabling file sharing services like SMB or NFS.) |
| |
When server notifications are -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#server_notifications|configured as recommended]] , user / admins are notified by e-mail of **file system failures** and other issues.\\ | When server notifications are -> [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#server_notifications|configured as recommended]] , user / admins are notified by e-mail of **file system failures** and other issues.\\ |
\\ | \\ |
{{ ::omv6-plugins-snapraid-14.jpg?nolink&600 |}} | {{ ::omv6-plugins-snapraid-14.jpg?nolink&700 |}} |
| |
---- | ---- |
| |
\\ | \\ |
{{ ::omv6-plugins-snapraid-12.jpg?nolink&800 |}} | {{ ::omv6-plugins-snapraid-12.jpg?nolink&900 |}} |
\\ | \\ |
---- | ---- |
<html><center><b>Physically remove the drive.</b></center></html> | <html><center><b>Physically remove the drive.</b></center></html> |
<html><center>If necessary, ref to <b>Storage</b>, <b>Disks</b> and compare serial numbers to the device names under <b>Storage</b>, File <b>Systems</b> to insure the right drive is removed.</center></html> | <html><center>If necessary, refer to <b>Storage</b>, <b>Disks</b> and compare serial numbers to the device names under <b>Storage</b>, File <b>Systems</b> to insure the right drive is removed.</center></html> |
\\ | \\ |
{{ :omv6-plugins-snapraid-19.jpg?nolink&800 |}} | {{ :omv6-plugins-snapraid-19.jpg?nolink&900 |}} |
---- | ---- |
| |
- Click the **Save** button. | - Click the **Save** button. |
| |
{{ ::omv6-plugins-snapraid-21.jpg?nolink&600 |}} | {{ ::omv6-plugins-snapraid-21.jpg?nolink&800 |}} |
| |
<html><center>When the format is complete, click the <b>Close</b> button.</center></html> | <html><center>When the format is complete, click the <b>Close</b> button.</center></html> |
\\ | \\ |
| |
{{ ::omv6-plugins-snapraid-22.jpg?nolink&600 |}} | {{ ::omv6-plugins-snapraid-22.jpg?nolink&800 |}} |
\\ | \\ |
<html><center>Click <b>Save</b> and <b>apply</b> the configuration change.</center></html> | <html><center>Click <b>Save</b> and <b>apply</b> the configuration change.</center></html> |
<html><center><b>/dev/sde1</b> appears, empty and formatted to <b>EXT4</b></center></html>. | <html><center><b>/dev/sde1</b> appears, empty and formatted to <b>EXT4</b></center></html>. |
| |
{{ ::omv6-plugins-snapraid-23.jpg?nolink&600 |}} | {{ ::omv6-plugins-snapraid-23.jpg?nolink&800 |}} |
| |
---- | ---- |
{{ ::omv6-plugins-snapraid-26.jpg?nolink&600 |}} | {{ ::omv6-plugins-snapraid-26.jpg?nolink&600 |}} |
\\ | \\ |
<html><center>(The UNRECOVERABLE error may be due to a change made //after// the last **Sync** operation, that cannot be restored.)</center></html> | <html><center>(The UNRECOVERABLE error may be due to a change made <b><i>after</i></b> the last <b>Sync</b> operation, that cannot be restored.)</center></html> |
---- | ---- |
| |
This concludes data restoration to a SnapRAID protected drive.\\ | This concludes data restoration to a SnapRAID protected drive.\\ |
**MergerFS users** skip see the section below titled; **Replacing a Failed Drive in MergerFS**. \\ | **MergerFS users** skip see the section below titled; **Replacing a Failed Drive in MergerFS**. \\ |
| |
---- | ---- |
| |
The remainder of tasks, within OMV, would be to repointing **Shared Folders** and other services to the replacement drive. To repoint shared folders, see the guidance provided -> [[https://wiki.omv-extras.org/doku.php?id=omv6:utilities_maint_backup#repointing_a_shared_folder|here]].\\ | The remainder of tasks, within OMV, would be to repointing **Shared Folders** and other services to the replacement drive. To repoint shared folders, see the guidance provided -> [[https://wiki.omv-extras.org/doku.php?id=omv6:utilities_maint_backup#repointing_a_shared_folder|here]].\\ |
\\ | \\ |
When all references to the failed drive have been redirected to the new drive, or removed, under **Storage**, **File Systems**, the "**Referenced**" check mark should be removed. Highlight the **missing** drive, **unmount** it and **Apply** the change.\\ | When all references to the failed drive have been redirected to the new drive, or removed, under **Storage**, **File Systems**, the "**Referenced**" check mark should be removed. Highlight the **missing** drive, **unmount** it and **Apply** the change.\\ |
\\ | \\ |
Finally, re-enable all automated tasks and enable network shared (if previously disabled.)\\ | Finally, re-enable all automated tasks and enable SMB or NFS network shares (if previously disabled.)\\ |
\\ | \\ |
\\ | \\ |