Is there a way to take a disk img file that is broken up into parts and mount it as a single loop device?
Linux Loop Device – Mounting Multiple img Files as Single Loop Device
block-devicelinuxloop-device
block-devicelinuxloop-device
Is there a way to take a disk img file that is broken up into parts and mount it as a single loop device?
Best Answer
I don't think you can do it in place but if you have enough space this should work:
You can't simply create a RAID array from the original files because the RAID disks have a specific header where the number of disks, RAID level, etc is stored. If you do it that part of your original files will be overwritten.
You can use the
mdadm --build
to create an array without metadata but then you really should make a backup first. Or if read-only mount is enough:Why do you want to do this? If your filesystem can't handle >4GB files you should just switch to a sane one.