I am thinking of making a more effective use of disks regarding pagefile.
Currently I simply have it as 'C:\pagefile.sys' inside the vdi. This means that whenever I create a snapshot, that file takes up a lot of space, which is basically garbage (and will even be backed up too).
On the host I have moved pagefile to D: drive - physical disk 2. This has at least 2 advantages: Speed, I/O operations on C: drive are not slowed down when used - and it won't be backed up, saving space.
I would like a similar thing on my VM, here I was also hoping to save a lot of space.
However I have never tried it and I can't find anything on theses forums regarding this issue.
Is 'Immutable' the right way to go - will it work or are there other ways? Ideally I want a small vdi file that I can 'write to' and which is then reverted back when closing the vm.
Anyone tried this?
Pagefile on immutable disk?
-
poulbak
- Posts: 33
- Joined: 9. Feb 2010, 22:52
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly Windows 7
Pagefile on immutable disk?
Poul Bak
------------------------------------------------------
2011: The year of hardware acceleration
------------------------------------------------------
2011: The year of hardware acceleration
Re: Pagefile on immutable disk?
This will work fine, but not all VBox versions will trow away the immu-diff file on restart. You might have to script it if your version doesn't.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
poulbak
- Posts: 33
- Joined: 9. Feb 2010, 22:52
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly Windows 7
Re: Pagefile on immutable disk?
Forgot to mention: VBox is 4.0.4 (newest).
Are you saying that the changes are thrown at restart or when closing down? I'm of course thinking of the backup issue (saving space).
Are you saying that the changes are thrown at restart or when closing down? I'm of course thinking of the backup issue (saving space).
Poul Bak
------------------------------------------------------
2011: The year of hardware acceleration
------------------------------------------------------
2011: The year of hardware acceleration
Re: Pagefile on immutable disk?
Thats the 64k question, some versions trow them away at VM restart, others at VBox restart and some not at all. In either way at least a swap-vdi can be excluded from backup.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-