in my case, the script qnap_mtd_resize.py ran successfully on a QNAP TS-419PII about two years ago. However, I hadn´t any time left for that until recently, so it´s state was quite unclear.
"cat /proc/mtd" showed the old state although the flash contents showed that the script has run successfully. Only the partition names contained some spaces that the linux cmdline parser could not handle properly, that became obvious by checking the boot log using the serial console.
After having fixed that in the u-boot environment by updating the respective variable "bootargs" using setenv and finally persisting the updated value with help of saveenv, the partitions still showed up like prior to resizing.
Finally, having found the hint about deleting /etc/modprobe.d/local.conf in issue #19 and rebooting afterwards, the resized partitions showed up! Could upgrade to bullseye without any further issues, then.
I´m very satisfied now and happy that I can still use my old "EOL" QNAP device.
And I´d like to say "Thank You!" to Arnaud and also to Martin who made this possible!
Hi,
in my case, the script qnap_mtd_resize.py ran successfully on a QNAP TS-419PII about two years ago. However, I hadn´t any time left for that until recently, so it´s state was quite unclear.
"cat /proc/mtd" showed the old state although the flash contents showed that the script has run successfully. Only the partition names contained some spaces that the linux cmdline parser could not handle properly, that became obvious by checking the boot log using the serial console.
After having fixed that in the u-boot environment by updating the respective variable "bootargs" using setenv and finally persisting the updated value with help of saveenv, the partitions still showed up like prior to resizing.
Finally, having found the hint about deleting /etc/modprobe.d/local.conf in issue #19 and rebooting afterwards, the resized partitions showed up! Could upgrade to bullseye without any further issues, then.
I´m very satisfied now and happy that I can still use my old "EOL" QNAP device.
And I´d like to say "Thank You!" to Arnaud and also to Martin who made this possible!
Cheers Christian