]> git.proxmox.com Git - pve-container.git/commit
mount snapshots with the noload option
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 25 Sep 2015 12:08:02 +0000 (14:08 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 25 Sep 2015 15:54:12 +0000 (17:54 +0200)
commit9d7d4d30a20ce91deb04a9ab6e3364500190cd74
treedc027e32715192439a5c59ddc745a7b2a39604b9
parent4db769cfd230f7a8c179be62554b7e8590ec2cfc
mount snapshots with the noload option

When using block device based snapshots we cannot mount the
filesystem as it's not clean, and we also can't replay the
journal without write access (as even `-o ro` writes to
devices when replaying a journal (see the linux docs under
Documentation/filesystems/ext4.txt section 3 option 'ro')).
So we need to use the "noload" option to avoid replaying the
journal.
src/PVE/LXC.pm