-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameter -S (write_mostly) seems to mix up SATA IDs #406
Comments
responding to #367 (reply in thread)
and
=> same problem as CT1024M550SSD1 is actually the SSD: EDIT: This is quite strange:
but |
Can you run this and reply with the output: https://github.com/007revad/Synology_HDD_db/blob/test/writemostly_debug.sh |
[The script returned an error due to the missing "!" in
|
What does this command return? (you can obscure the serial numbers)
|
And these commands:
|
I swear the SSD is in physical slot 4... |
The /dev/sata# is assigned to each drive when they are first initialised. And you can move them to different drive bays and DSM still knows which drive is sata1 and sata2 etc. This is why Synology added a "Locate Drive" button in storage manager so when a drive needs replacing you make it's LED flash so you know which drive it is. In my DS1821+ I set it up with 4 HDDs in bays 2, 3 and 5, 6 so It has:
When I add more drives I'll move the existing drives to bays 1, 2, 3 and 4 (because I prefer sata1 to be in bay 1 etc.) |
Ok, I thought there'd be another level of indirection/mapping somewhere as DSM displays it actually according to physical bays. But for write_mostly it should not really matter, as long as it goes to I have now run the script w/
Do I actually need to reboot for Thanks a lot for the help! |
Thanks for reminding me. I noticed this issue yesterday.
Actually I'm not sure. I may have added that message just in case. |
**SEPARATE ISSUE CREATED AS SUGGESTED IN THREAD #367 **
Last week I finally had the time to proceed as suggested in order to drastically reduce the time the HDDs are actually in spun up state. Already back in October I had moved all packages and package data to the M.2s. The problem was with DSM still residing only on the HDDs.
So, I put an older Crucial SATA SSD as Drive 4 and put its own independent Storage Pool with a "Basic" RAID configuration. Then I added the
write_mostly
parameter-S
to the script and rebooted the box.Unfortunately, for a week or so now the box behaves similar to before: HDDs are spinning up every couple of hours during the night (without reasonable activity).
There are two things slightly strange that I have observed:
write_mostly
), whereas Drive 4 is the SSD. However, the log somehow missessata2
and putssata4
instead:Originally posted by @TorbenSchreiter in #367 (reply in thread)
The text was updated successfully, but these errors were encountered: