-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Deduplication configuration still not showing up for HDDs #88
Comments
It is looking like it's a an issue with virtual disks. Xpenology, proxmox and virtual disks are all beyond my level of knowledge. |
Definitely not. As I've mentioned, the sata controller is passed through, meaning that the drives are communicating with DSM exactly as they would in a real bare metal hardware DSM system. As far as virtual disks are concerned. Actually, the deduplication for those was ironically easily available even before running your scripts, despite me not needing it. |
Would you mind sending me your patched |
@007revad There's a different js file that's being sent to the DSM web clients than the one your script is modifying, or something like that. Because, even if the It's not browser cache, and I have rebooted Synology - multiple times, and cold booted it as well. Now I can't say what to do now. Maybe there's another caching going on in the Synology itself or something? I really don't feel like grepping entire file system just to find where is the other file / string hiding, but that's my last resort for now. |
After a reboot is the I just searched DSM 7.2.2 update 2 for files named
I wonder if DSM is loading the backup storage_panel.js.1.0.0-00502 file as storage_panel.js. You could try moving, renaming or deleting storage_panel.js.1.0.0-00502. |
I removed the check, and made both files the same. There has to be some other place where it's pulling it from still… And btw, yes, the modifications do survive reboots. |
Oh, and maybe this will help, this is the file that Synology is sending despite having the files above modified: storage_panel_sentBySyno.zip |
Do you have syno_enable_dedupe.sh scheduled? My real Synology NAS don't have the storage_panel.js.gz (or storage_panel.js.gz.bak) files. I assume they are created by the xpe loader. Does the storage-panel.js in storage_panel.js.gz contain I suspect what is happening is your xpe loader, or trcp-addons etc, is recreating storage-panel.js during the junior boot stage and then syno_enable_dedupe is editing it. But where the ui is loading an unedited copy from is a mystery. A quick look at storagepanel.sh and install.sh shows they are creating the gzipped copy of storage-manager.js |
I don't.
Oh, I didn't know that! |
If you reboot does the storage_panel.js.gz still contain your edits? I might change the script to delete the existing storage_panel.js.gz and gzip storage_panel.js But before I do that can you provide a zip file containing everything in /usr/local/packages/@appstore/StorageManager/ui |
So far, yes they do. However, I suspect that updates to the loader can easily break it / revert the changes.
Sure can do. Here you go, should be in more-less unmodified (xpenology / loader) state: |
I'm running DSM as a Proxmox VM with passed-trough SATA controller for the drives.
I have run both enable deduplication with --hdd parameter and hdd_db script. Rebooted multiple times. Everything is healthy, performance analysis is enabled, and I've waited more than 10 minutes for the menu to show up. Like #79 but I still can't get it to work.
Any ideas about what I'm missing??
The text was updated successfully, but these errors were encountered: