Just for clarification, if you decide to remove the snapshot manually, you first have to unmount the lofs mountpoint under /checkpoint from the global zone. However, I’d recommend you to use vmadm.
Cheers, Adam > On May 24, 2016, at 3:56 PM, Adam Števko <[email protected]> wrote: > > Hi, > > indestructible_zoneroot is a feature, which shall prevent any accidental > deletion of the VM. It is implemented by creaating a snapshot called > “indestructible” and is held, which causes any deletetion attempts to fail. > /checkpont is a place where all snapshots related to the zone get mounted as > lofs. There is a difference in handling of these in SmartOS and in SDC: > > In SDC, there is a components in system, which automounts these snapshots > when they are created. > In SmartOS, snapshost is created, but not automatically mounted. When you > reboot the zone, the actual list of snapshots is fetched and lofs-mounted > into the /checkpoint. If you create snapshot later, it won’t appear under > /checkpoint until you reboot the zone. > > The readonly filesystem error you saw is caused by the fact, that lofs mount > is read-only. > > If you want to get rid of it either delete zones/<uuid>@indestructible > snapshot or run “vmadm update <uuid> indestructible_zoneroot=false” and it > should remove the snapshot. > > Cheers, > Adam > >> On May 24, 2016, at 3:44 PM, Eric Ripa <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi, >> >> I have a LX branded zone running CentOS 6. In it I have a Java-based service >> called Crashplan. >> >> I have the zone protected with >> "indestructible_zoneroot": true >> >> At some point roughly 3-5 days ago all of my backup archives, residing under >> /opt/local/crashplan, has been moved to >> /checkpoint/indestructible/opt/local/crashplan >> >> It is possible that this happened during a vmadm reboot <zoneid>, but I'm >> not sure. >> >> >> Is this some side-effect of indestructible_zoneroot that I'm unaware off? I >> tried to 'mv' them back from GZ, but I get this message: >> >> mv: cannot unlink >> /zones/b96a3154-85dc-4a2d-ba80-31affd525667/root/checkpoints/indestructible/opt/local/crashplan/manifest/442330126173077772/cpbf0000000000000129209/442330126173077772: >> Read-only file system >> >> Any pointers of how to proceed? Is it even related to SmartOS at all or is >> it some CentOS thing? >> >> SunOS 0c-c4-7a-69-03-66 5.11 joyent_20160204T173339Z i86pc i386 i86p >> >> -- >> Thanks a lot! >> Eric Ripa >> smartos-discuss | Archives >> <https://www.listbox.com/member/archive/184463/=now> >> <https://www.listbox.com/member/archive/rss/184463/27758409-23ef20b1> | >> Modify <https://www.listbox.com/member/?&> Your Subscription >> <http://www.listbox.com/>
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
