So most people know that to mount a disk to two different locations, they can do a simple mount –bind like:

mount –bind /origlocation /newlocation

However, what if you want that second location to be a read-only location to the filesystem? Try this:

mount –bind /origlocation /newlocation mount -o remount,ro /newlocation

^that should properly work! More reasoning for this here.

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.