committed by
GitHub
1 changed files with 76 additions and 0 deletions
@ -0,0 +1,76 @@ |
|||||
|
## 2025 series DS Plus models |
||||
|
|
||||
|
### Deleting and recreating your storage pool on unverified HDDs |
||||
|
|
||||
|
You can't download Synology HDD db to a volume because you've just deleted your storage pool. So you'd first need to download Synology HDD db to a system folder and run it from there. |
||||
|
|
||||
|
You can do this via SSH or via a scheduled task. |
||||
|
|
||||
|
#### Via SSH |
||||
|
|
||||
|
1. Create and cd to /opt |
||||
|
``` |
||||
|
sudo mkdir /opt && sudo chmod 775 /opt |
||||
|
``` |
||||
|
|
||||
|
2. Create /opt |
||||
|
``` |
||||
|
sudo mkdir -m775 /opt |
||||
|
``` |
||||
|
|
||||
|
2. cd to /opt |
||||
|
``` |
||||
|
cd /opt || (echo "Failed to CD to /opt"; exit 1) |
||||
|
``` |
||||
|
|
||||
|
3. Download syno_hdd_db.sh to /opt |
||||
|
``` |
||||
|
sudo curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_db.sh" |
||||
|
``` |
||||
|
|
||||
|
4. Download syno_hdd_vendor_ids.txt to /opt |
||||
|
``` |
||||
|
sudo curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_vendor_ids.txt" |
||||
|
``` |
||||
|
|
||||
|
5. Then set permissions on /opt/syno_hdd_db.sh |
||||
|
``` |
||||
|
sudo chmod 750 /opt/syno_hdd_db.sh |
||||
|
``` |
||||
|
|
||||
|
6. Finally run syno_hdd_db. You don't need any options at this point. |
||||
|
``` |
||||
|
sudo -s /opt/syno_hdd_db.sh |
||||
|
``` |
||||
|
|
||||
|
8. If Storage Manager is already open close then open it, or refresh the web page. |
||||
|
9. You can now create your storage pool from Storage Manager. |
||||
|
|
||||
|
#### Via a scheduled task |
||||
|
|
||||
|
First setup email notifications (if you haven't already): |
||||
|
|
||||
|
1. Go to **Control Panel** > **Notification** > **Email** > click **Setup**. |
||||
|
|
||||
|
Then create the scheduled task: |
||||
|
|
||||
|
1. Go to **Control Panel** > **Task Scheduler** > click **Create** > **Scheduled Task** > **User-defined script**. |
||||
|
2. Enter a task name. |
||||
|
3. Select **root** as the user (The script needs to run as root). |
||||
|
4. Untick **Enable**. |
||||
|
5. Click **Task Settings**. |
||||
|
6. Tick **Send run details by email** and enter your email address. |
||||
|
7. In the box under **User-defined script** paste the following: |
||||
|
``` |
||||
|
mkdir -m775 /opt |
||||
|
cd /opt || (echo "Failed to CD to /opt"; exit 1) |
||||
|
curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_db.sh" |
||||
|
curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_vendor_ids.txt" |
||||
|
chmod 750 /opt/syno_hdd_db.sh |
||||
|
/opt/syno_hdd_db.sh -e |
||||
|
``` |
||||
|
8. Click **OK** > **OK** > type your password > **Submit** to save the scheduled task. |
||||
|
9. Now select the scheduld task and click **Run** > **OK**. |
||||
|
10. Check your emails to make sure the scheduled task ran without any error. |
||||
|
11. If Storage Manager is already open close then open it, or refresh the web page. |
||||
|
12. You can now create your storage pool from Storage Manager. |
||||
Loading…
Reference in new issue