[GH-ISSUE #303] When you are in an all-SSD environment, you may find an HDD error #106

Closed
opened 2026-03-07 19:15:38 +03:00 by kerem · 5 comments
Owner

Originally created by @proxy2008 on GitHub (Jun 12, 2024).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/303

By blocking the code below, it works fine

# Check hdds array isn't empty
if [[ ${#hdds[@]} -eq "0" ]]; then
    ding
    echo -e "\n${Error}ERROR${Off} No drives found!" && exit 2
else
    echo -e "\nHDD/SSD models found: ${#hdds[@]}"
    num="0"
    while [[ $num -lt "${#hdds[@]}" ]]; do
        echo "${hdds[num]}"
        num=$((num +1))
    done
    echo
fi

I guess if this can be controlled by adding a parameter

Originally created by @proxy2008 on GitHub (Jun 12, 2024). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/303 By blocking the code below, it works fine ``` # Check hdds array isn't empty if [[ ${#hdds[@]} -eq "0" ]]; then ding echo -e "\n${Error}ERROR${Off} No drives found!" && exit 2 else echo -e "\nHDD/SSD models found: ${#hdds[@]}" num="0" while [[ $num -lt "${#hdds[@]}" ]]; do echo "${hdds[num]}" num=$((num +1)) done echo fi ``` I guess if this can be controlled by adding a parameter
kerem closed this issue 2026-03-07 19:15:38 +03:00
Author
Owner

@007revad commented on GitHub (Jun 12, 2024):

Which Synology NAS model? And which DSM version?

Are they SATA or SAS SSDs?

<!-- gh-comment-id:2162531766 --> @007revad commented on GitHub (Jun 12, 2024): Which Synology NAS model? And which DSM version? Are they SATA or SAS SSDs?
Author
Owner

@007revad commented on GitHub (Jun 12, 2024):

I'm not seeing the issue in a NAS with just SATA SSDs and NVMes.

Are you using just NVMe drives?

<!-- gh-comment-id:2164055418 --> @007revad commented on GitHub (Jun 12, 2024): I'm not seeing the issue in a NAS with just SATA SSDs and NVMes. Are you using just NVMe drives?
Author
Owner

@proxy2008 commented on GitHub (Jun 13, 2024):

I'm not seeing the issue in a NAS with just SATA SSDs and NVMes.

Are you using just NVMe drives?

Yes, it is possible to emulate all NVMe drives on the SA6400 machine to deploy the Synology system

image

image

<!-- gh-comment-id:2164720635 --> @proxy2008 commented on GitHub (Jun 13, 2024): > I'm not seeing the issue in a NAS with just SATA SSDs and NVMes. > > Are you using just NVMe drives? Yes, it is possible to emulate all NVMe drives on the SA6400 machine to deploy the Synology system ![image](https://github.com/007revad/Synology_HDD_db/assets/7359075/a04a1b85-2871-427c-a6d2-cd391d9dc662) ![image](https://github.com/007revad/Synology_HDD_db/assets/7359075/db91bc47-1cfb-482b-8eae-428379fb7dc7)
Author
Owner

@007revad commented on GitHub (Jun 13, 2024):

Do you want to try this new release https://github.com/007revad/Synology_HDD_db/releases/tag/v3.5.91

commit c43662d

<!-- gh-comment-id:2164843506 --> @007revad commented on GitHub (Jun 13, 2024): Do you want to try this new release https://github.com/007revad/Synology_HDD_db/releases/tag/v3.5.91 [commit c43662d](https://github.com/007revad/Synology_HDD_db/commit/c43662d)
Author
Owner

@proxy2008 commented on GitHub (Jun 14, 2024):

Thank you for providing such an important and useful tool, and I will use it when reworking the system.

<!-- gh-comment-id:2167066660 --> @proxy2008 commented on GitHub (Jun 14, 2024): Thank you for providing such an important and useful tool, and I will use it when reworking the system.
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#106
No description provided.