[GH-ISSUE #173] DSM factory reset did not erase the M2 storage pool #238

Closed
opened 2026-03-12 18:22:53 +03:00 by kerem · 4 comments
Owner

Originally created by @turbamulta on GitHub (Oct 19, 2024).
Original GitHub issue: https://github.com/007revad/Synology_M2_volume/issues/173

Not sure if bug or feature, I'm testing my new DS423+ NAS and have been trying a number of things, included this fantastic script.

After satisfied with my testing I did a factory reset to start clean with the final config. I expected the M2 storage pool to be erased like the rest of SP created by DSM but no, after the setup was completed the M2 storage pool was there, safe and sound.

This kind of reset persistence is kind of scary. How is it possible?

DS423+ with Synology DSM 7.2.2-72806.
WD SN700 with 11150WD firmware, 4k native enabled.

Originally created by @turbamulta on GitHub (Oct 19, 2024). Original GitHub issue: https://github.com/007revad/Synology_M2_volume/issues/173 Not sure if bug or feature, I'm testing my new DS423+ NAS and have been trying a number of things, included this fantastic script. After satisfied with my testing I did a factory reset to start clean with the final config. I expected the M2 storage pool to be erased like the rest of SP created by DSM but no, after the setup was completed the M2 storage pool was there, safe and sound. This kind of reset persistence is kind of scary. How is it possible? DS423+ with Synology DSM 7.2.2-72806. WD SN700 with 11150WD firmware, 4k native enabled.
kerem closed this issue 2026-03-12 18:22:59 +03:00
Author
Owner

@007revad commented on GitHub (Oct 19, 2024):

It would seem to be bug, or feature, in DSM itself.

Can you run https://github.com/007revad/Synology_HDD_db then reboot and create the M2 storage pool and volume in storage manager. Then reset again and see if DSM deletes the M2 storage pool.

By the way, with a DS423+ you should use Synology_HDD_db instead of Synology_M2_volume

<!-- gh-comment-id:2424257975 --> @007revad commented on GitHub (Oct 19, 2024): It would seem to be bug, or feature, in DSM itself. Can you run https://github.com/007revad/Synology_HDD_db then reboot and create the M2 storage pool and volume in storage manager. Then reset again and see if DSM deletes the M2 storage pool. By the way, with a DS423+ you should use Synology_HDD_db instead of Synology_M2_volume
Author
Owner

@turbamulta commented on GitHub (Oct 20, 2024):

OK, I'll try that!

By the way, with a DS423+ you should use Synology_HDD_db instead of Synology_M2_volume

Really? I undestood that Synology_M2_volume was the main tool and Synology_HDD_db was to fix the SP after DSM updates plus some extras, seems I got it wrong.

<!-- gh-comment-id:2424876808 --> @turbamulta commented on GitHub (Oct 20, 2024): OK, I'll try that! > By the way, with a DS423+ you should use Synology_HDD_db instead of Synology_M2_volume Really? I undestood that Synology_M2_volume was the main tool and Synology_HDD_db was to fix the SP after DSM updates plus some extras, seems I got it wrong.
Author
Owner

@turbamulta commented on GitHub (Oct 20, 2024):

So I did as explained.

  • Removed the M2 Storage Pool created by Synology_M2_volume
  • Cannot create new M2 SP due to non compatible drives.
  • Run Synology_HDD_db
  • Now I can create a M2 storage pool.
  • Factory reset
  • M2 storage pool is still there.
  • Remove the M2 storage pool.
  • Cannot create new M2 SP due to non compatible drives.

So it seems DSM will not touch the M2 storage pool in a factory reset, it only removes and overwrites the SPs in HDD drives. After factory reset it will just detect the M2 SP it and continue using it. Changes made by Synology_HDD_db are indeed reset.

So it is a you said a DSM thing. TBH I would prefer a factory reset to actually remove everything but has nothing to do with Synology_HDD_db or Synology_M2_volume, the scripts work perfectly.

Thanks for clarifying!

<!-- gh-comment-id:2425170319 --> @turbamulta commented on GitHub (Oct 20, 2024): So I did as explained. - Removed the M2 Storage Pool created by Synology_M2_volume - Cannot create new M2 SP due to non compatible drives. - Run Synology_HDD_db - Now I can create a M2 storage pool. - Factory reset - M2 storage pool is still there. - Remove the M2 storage pool. - Cannot create new M2 SP due to non compatible drives. So it seems DSM will not touch the M2 storage pool in a factory reset, it only removes and overwrites the SPs in HDD drives. After factory reset it will just detect the M2 SP it and continue using it. Changes made by Synology_HDD_db are indeed reset. So it is a you said a DSM thing. TBH I would prefer a factory reset to actually remove everything but has nothing to do with Synology_HDD_db or Synology_M2_volume, the scripts work perfectly. Thanks for clarifying!
Author
Owner

@007revad commented on GitHub (Oct 20, 2024):

By the way, with a DS423+ you should use Synology_HDD_db instead of Synology_M2_volume

Really? I undestood that Synology_M2_volume was the main tool and Synology_HDD_db was to fix the SP after DSM updates plus some extras, seems I got it wrong.

Models that officially support M2 volumes can create them in storage manager but they need to think the M2 drives are Synology M2 drives. There is a comparison table showing the differences between syno_hdd_db, syno_m2_volume and syno_enable_m2_volume.
https://github.com/007revad/Synology_enable_M2_volume#how-is-this-different-to-the-synology_m2_volume-script

<!-- gh-comment-id:2425179233 --> @007revad commented on GitHub (Oct 20, 2024): > > By the way, with a DS423+ you should use Synology_HDD_db instead of Synology_M2_volume > > Really? I undestood that Synology_M2_volume was the main tool and Synology_HDD_db was to fix the SP after DSM updates plus some extras, seems I got it wrong. Models that officially support M2 volumes can create them in storage manager but they need to think the M2 drives are Synology M2 drives. There is a comparison table showing the differences between syno_hdd_db, syno_m2_volume and syno_enable_m2_volume. https://github.com/007revad/Synology_enable_M2_volume#how-is-this-different-to-the-synology_m2_volume-script
Sign in to join this conversation.
No labels
bug
pull-request
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_M2_volume#238
No description provided.