Snapshot independent drive in VBox?
Snapshot independent drive in VBox?
Is there any equivalent of VMWare independent drives in VirtualBox? I want to create read-only VM, reset on every shutdown to previous snapshot but with persistent ~/.config directory (mount as second drive). How can I do that?
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Snapshot independent drive in VBox?
You have two options of doing that. 1) take a snapshot and revert to that whenever you shutdown the VM, or 2) use an "immutable" VDI. See ch. 5.4 Special image write modes for more details.Lapsio wrote:I want to create read-only VM, reset on every shutdown to previous snapshot
I'm not sure I understand that part. What does the "~/.config" directory have anything to do with a second drive?Lapsio wrote:but with persistent ~/.config directory (mount as second drive)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: Snapshot independent drive in VBox?
I don't want ~/.config to be part of snapshot. I want it to be persistent over VM resets. I thought the natural way of doing it was to create second drive and make it non-snapshotted.socratis wrote:I'm not sure I understand that part. What does the "~/.config" directory have anything to do with a second drive?Lapsio wrote:but with persistent ~/.config directory (mount as second drive)
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Snapshot independent drive in VBox?
If your second drive is located on another drive, sure. You can't be thinking in terms of directories. Only in terms of hard disks; one is not modified, the other one is. So, locate your "/home" in a different drive. Doable...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.