Hello,
I have been testing my Debianized NSA325v2 with OpenMediaVault for the last weeks and it works very well. When I set it up, I updated uBoot and hosted the rootfs on an external USB disk while keeping the original mdraid (mirror) on the internal HDDs. Now I would like to move the rootfs from the external USB disk to the internal HDDs.
I am considering two options, a) moving everything inside the raid array and booting from there, or b) resizing the RAID array and hosting rootfs on one of the disks as a different partition.
The first option would probably be the easiest in case of a drive failure as the device would just boot from the healthy disk, am I right? Assuming that uBoot can boot from an mdraid partition of course.
The second option would probably make the booting process easier, but would require some juggling with partitions with all of the additional risks.
It seems like https://forum.doozan.com/read.php?2,27308 is also describing a third option: two different RAID arrays, a small one for rootfs, and a larger one for data on the remaining space. I think this could work too, but it requires erasing both disks and I'd prefer to avoid that.
Do you have any suggestion/guide? Can uBoot start the device from an mdraid array? Can I just copy the content of the current rootfs on the existing raid array?
I have been testing my Debianized NSA325v2 with OpenMediaVault for the last weeks and it works very well. When I set it up, I updated uBoot and hosted the rootfs on an external USB disk while keeping the original mdraid (mirror) on the internal HDDs. Now I would like to move the rootfs from the external USB disk to the internal HDDs.
I am considering two options, a) moving everything inside the raid array and booting from there, or b) resizing the RAID array and hosting rootfs on one of the disks as a different partition.
The first option would probably be the easiest in case of a drive failure as the device would just boot from the healthy disk, am I right? Assuming that uBoot can boot from an mdraid partition of course.
The second option would probably make the booting process easier, but would require some juggling with partitions with all of the additional risks.
It seems like https://forum.doozan.com/read.php?2,27308 is also describing a third option: two different RAID arrays, a small one for rootfs, and a larger one for data on the remaining space. I think this could work too, but it requires erasing both disks and I'd prefer to avoid that.
Do you have any suggestion/guide? Can uBoot start the device from an mdraid array? Can I just copy the content of the current rootfs on the existing raid array?