[GH-ISSUE #5] Reboot not necessary on db change #6

Closed
opened 2026-03-07 19:13:47 +03:00 by kerem · 4 comments
Owner

Originally created by @mh-muc on GitHub (Mar 7, 2023).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/5

The reboot on changing the drive db is not necessary, just execute this and the drive db will be reloaded:

/usr/syno/sbin/synostgdisk --check-all-disks-compatibility

Originally created by @mh-muc on GitHub (Mar 7, 2023). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/5 The reboot on changing the drive db is not necessary, just execute this and the drive db will be reloaded: /usr/syno/sbin/synostgdisk --check-all-disks-compatibility
kerem 2026-03-07 19:13:47 +03:00
Author
Owner

@007revad commented on GitHub (Mar 8, 2023):

Very nice. Thank you.

<!-- gh-comment-id:1459236576 --> @007revad commented on GitHub (Mar 8, 2023): Very nice. Thank you.
Author
Owner

@007revad commented on GitHub (Mar 8, 2023):

I notice that that would work in DSM 6 but I'm not sure about DSM 7

In DSM 6 "synostgdisk --help" returns:
--check-all-disks-compatibility check all disk compatibility info.

In DSM 7 "synostgdisk --help" returns:

--get-dump      get the disk dump info.
--disk-activate <DISK_PATH>     activate a deactivated disk, only for debug.
--disk-deactivate <DISK_PATH>   deactivate the disk.
  • In DSM 7 synostgdisk always returns 0 as the exit code so I assume --check-all-disks-compatibility is working in DSM 7.
  • In DSM 6 synostgdisk --help returns 0 as the exit code.
  • In DSM 6 synostgdisk --check-all-disks-compatibility returns 255 as the exit code.
<!-- gh-comment-id:1459249281 --> @007revad commented on GitHub (Mar 8, 2023): I notice that that would work in DSM 6 but I'm not sure about DSM 7 In DSM 6 "synostgdisk --help" returns: `--check-all-disks-compatibility check all disk compatibility info.` In DSM 7 "synostgdisk --help" returns: ``` --get-dump get the disk dump info. --disk-activate <DISK_PATH> activate a deactivated disk, only for debug. --disk-deactivate <DISK_PATH> deactivate the disk. ``` - In DSM 7 synostgdisk always returns 0 as the exit code so I assume --check-all-disks-compatibility is working in DSM 7. - In DSM 6 synostgdisk --help returns 0 as the exit code. - In DSM 6 synostgdisk --check-all-disks-compatibility returns 255 as the exit code.
Author
Owner

@mh-muc commented on GitHub (Mar 8, 2023):

For me ist is working well with DSM 7.1.1-42962 Update 4 on RS2421+

<!-- gh-comment-id:1459632361 --> @mh-muc commented on GitHub (Mar 8, 2023): For me ist is working well with DSM 7.1.1-42962 Update 4 on RS2421+
Author
Owner

@007revad commented on GitHub (Mar 8, 2023):

Thank you for confirming that.

I'll use /usr/syno/sbin/synostgdisk --check-all-disks-compatibility for both DSM 7 and DSM 6 but leave the "You may need to reboot..." message for DSM 6.

<!-- gh-comment-id:1460000626 --> @007revad commented on GitHub (Mar 8, 2023): Thank you for confirming that. I'll use `/usr/syno/sbin/synostgdisk --check-all-disks-compatibility` for both DSM 7 and DSM 6 but leave the "You may need to reboot..." message for DSM 6.
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_HDD_db#6
No description provided.