[GH-ISSUE #75] Small scheduled task question - big thank you #440

Closed
opened 2026-03-12 15:41:10 +03:00 by kerem · 5 comments
Owner

Originally created by @Fonta on GitHub (Jun 20, 2023).
Original GitHub issue: https://github.com/007revad/Synology_enable_M2_volume/issues/75

Not an issue, just a small question and a big thank you for this script.
After updating my 1019+ to DSM 7.2-64570 Update 1 the storage pool on the m.2 disks was no longer available.
Ran this script and restarted after which the storage pool was available again.
Thanks!!

I've configured a scheduled task to run on shutdown.
My question is if it's needed to add the --noupdate after syno_hdd_db.sh or if can leave that out.
I did use --noupdate the first time running the script.

Also, would it be better to run these scripts at shutdown or at startup? I'd think on shutdown?

Current commands:
Screenshot 2023-06-20 at 13 14 12@2x

Originally created by @Fonta on GitHub (Jun 20, 2023). Original GitHub issue: https://github.com/007revad/Synology_enable_M2_volume/issues/75 Not an issue, just a small question and a big thank you for this script. After updating my 1019+ to DSM 7.2-64570 Update 1 the storage pool on the m.2 disks was no longer available. Ran this script and restarted after which the storage pool was available again. Thanks!! I've configured a scheduled task to run on shutdown. My question is if it's needed to add the --noupdate after syno_hdd_db.sh or if can leave that out. I did use --noupdate the first time running the script. Also, would it be better to run these scripts at shutdown or at startup? I'd think on shutdown? Current commands: <img width="475" alt="Screenshot 2023-06-20 at 13 14 12@2x" src="https://github.com/007revad/Synology_enable_M2_volume/assets/6190791/c2d9a442-b7f5-44bc-bf71-c3d135c6897b">
kerem closed this issue 2026-03-12 15:41:15 +03:00
Author
Owner

@007revad commented on GitHub (Jun 20, 2023):

I would continue using the --noupdate option because without it DSM can update the drive databases whenever it wants.

<!-- gh-comment-id:1599390598 --> @007revad commented on GitHub (Jun 20, 2023): I would continue using the --noupdate option because without it DSM can update the drive databases whenever it wants.
Author
Owner

@007revad commented on GitHub (Jun 21, 2023):

Also, would it be better to run these scripts at shutdown or at startup? I'd think on shutdown?

I missed this question in my previous reply.

Originally I used to think running the scripts at shutdown was the better choice. But now I think at startup might be better.

<!-- gh-comment-id:1599789984 --> @007revad commented on GitHub (Jun 21, 2023): > Also, would it be better to run these scripts at shutdown or at startup? I'd think on shutdown? I missed this question in my previous reply. Originally I used to think running the scripts at shutdown was the better choice. But now I think at startup might be better.
Author
Owner

@Fonta commented on GitHub (Jun 21, 2023):

Any arguments on why that would be better?
How about running the scripts on shutdown and startup?

<!-- gh-comment-id:1600481824 --> @Fonta commented on GitHub (Jun 21, 2023): Any arguments on why that would be better? How about running the scripts on shutdown and startup?
Author
Owner

@007revad commented on GitHub (Jun 21, 2023):

There was one person who had the scripts scheduled to run at shutdown and they noticed that after a DSM update they had to run the run script again after it booted up.

It wouldn't hurt to run the scripts at shutdown and bootup.

<!-- gh-comment-id:1600591418 --> @007revad commented on GitHub (Jun 21, 2023): There was one person who had the scripts scheduled to run at shutdown and they noticed that after a DSM update they had to run the run script again after it booted up. It wouldn't hurt to run the scripts at shutdown and bootup.
Author
Owner

@Fonta commented on GitHub (Jun 22, 2023):

Configured it to run at boot and shutdown. Better safe then sorry.

Thanks for the info!

<!-- gh-comment-id:1602266488 --> @Fonta commented on GitHub (Jun 22, 2023): Configured it to run at boot and shutdown. Better safe then sorry. Thanks for the info!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_enable_M2_volume#440
No description provided.