Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only mount vmsnap checkpoints #772

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Only mount vmsnap checkpoints #772

wants to merge 1 commit into from

Commits on Mar 22, 2018

  1. Only mount vmsnap checkpoints

    CloudAPI offers a method of managing zfs snapshots. These are prefixed with vmsnap, and are mounted on zone boot via lofs into /checkpoints
    
    However currently, the zone boot code mounts all snapshots via lofs into /checkpoints. This presents issues for snapshots created/deleted in the global zone, that we perhaps don't want automounted or exposed to customers. For example in our use-case, backup snapshots. The main issue here is with snapshot deletion.
    
    By simply mounting vmsnap snapshots only, we avoid this issue whilst retaining compatibility with Triton's CloudAPI snapshot functionality.
    Alasdair Lumsden committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    8fcc797 View commit details
    Browse the repository at this point in the history