xhente / omv-regen

Do you need to backup or restore the OMV configuration? This is the solution.
29 stars 2 forks source link

Question: valid to go from armv7l (32 bits) to aarch64 (64 bits)? #4

Closed pabsi closed 10 months ago

pabsi commented 10 months ago

What's on the title really.

I currently have OMV running on a Pi 4b+ but my mistake I installed 32bit Raspbian back in the day. I am missing performance improvements provided by the 64bits version, and I am considering upgrade.

Will your script work if I do a clean install on raspbian 64bits given I am coming from a 32bit install/setup?

Version 6.9.8-1 (Shaitan)
Processor ARMv7 Processor rev 3 (v7l)
Kernel Linux 5.10.103-v7l+

Thank you!

Gracias :)

xhente commented 10 months ago

The path of regenerating a 32-bit system into a 64-bit system should not create problems. Everything that runs in 32-bit also runs in 64-bit. And the only thing the script does is execute OMV commands, no matter what the underlying operating system is. If the path were reversed you could have a problem because some OMV plugins can run in 64 bits but cannot run in 32 bits. Then the script at that point would fail. I have not established controls on this because I consider that this case will almost never occur.

El camino de regenerar un sistema de 32 bits en un sistema de 64 bits no debe crear problemas. Todo lo que se ejecuta en 32 bits también lo hace en 64 bits. Y lo único que hace el script es ejecutar comandos de OMV, no importa cual es el sistema operativo subyacente. Si el camino fuera a la inversa podrías tener algún problema porque algunos complementos de OMV se pueden ejecutar en 64 bits pero no se pueden ejecutar en 32 bits. Entonces el script en ese punto fallaría. No he establecido controles sobre esto porque considero que ese caso no se dará casi nunca. De nada ;)

pabsi commented 10 months ago

Thank you so much :slightly_smiling_face: