HOTSPOT
The settings for a virtual machine named VM2 are configured as shown in the VM2 exhibit.
(Refer to the Exhibit.)
The settings for Diskl.vhdx are configured as shownin the Diskl.vhdx exhibit. (Refer to the Exhibit.)
The settings for Disk2.vhdx are configured as shownin the Disk2.vhdx exhibit. (Refer to the Exhibit.)
Select Yes if the statement can be shown to be truebased on the available information; otherwise select No.
Each correct selection is worth one point.
The settings for a virtual machine named VM2 are configured as shown in the VM2 exhibit.
HOTSPOT
The settings for a virtual machine named VM2 are configured as shown in the VM2 exhibit.
(Refer to the Exhibit.)
The settings for Diskl.vhdx are configured as shownin the Diskl.vhdx exhibit. (Refer to the Exhibit.)
The settings for Disk2.vhdx are configured as shownin the Disk2.vhdx exhibit. (Refer to the Exhibit.)
Select Yes if the statement can be shown to be truebased on the available information; otherwise select No.
Each correct selection is worth one point.
Wrong, you can’t compact disk2 when VM2 is running.
Agreed with Bean
To compact a dynamically expanding virtual hard disk
1. In the guest operating system, prepare the virtual hard disk for compacting.
2. Open the Administration Website.
3. Turn off the virtual machine to which the dynamically expanding virtual hard disk is attached.
4. In the navigation pane, under Virtual Disks, click Inspect.
5. Do one of the following, and then click Inspect:
◦ In Known virtual hard disks, select the virtual hard disk to compact.
◦ In Fully qualified path to file, type the fully qualified path to the virtual hard disk file to compact.
6. Under Actions, click Compact virtual hard disk.
7. Click Compact.
===============
http://technet.microsoft.com/en-us/library/cc708317(v=ws.10).aspx
http://technet.microsoft.com/en-us/library/cc708394(v=ws.10).aspx
Its Yes No No
You can compact a dynamically expanding virtual hard disk. You cannot compact any other type of virtual hard disk.
http://technet.microsoft.com/en-us/library/cc708394(v=ws.10).aspx
my findings is all NO
If you want to compact a differencing virtual hard disk or an undo disk, you must merge the changes to the parent disk and then compact the parent disk, if it is a dynamically expanding virtual hard disk.
Green Hosting is correct:
You can compact a virtual hard disk only when it is not in use. For more information about compacting a virtual hard disk, see “Compacting dynamically expanding virtual hard disks”
See: http://technet.microsoft.com/en-us/library/cc708317(v=ws.10)
The following functionality is required for resizing a virtual hard disk:
VHDX – the ability to expand and shrink virtual hard disks is exclusive to virtual hard disks that are using the .vhdx file format. Online resizing is supported for VHDX disk types, including fixed, differencing, and dynamic disks. Virtual hard disks that use the .vhd file format are not supported for resizing operations.
SCSI controller – the ability to expand or shrink the capacity of a virtual hard disk is exclusive to .vhdx files that are attached to a SCSI controller. VHDX files that are attached to an IDE controller are not supported.
Shrinking and expanding are changing the maximum size of the volume.
Compacting is compressing the thin provisioned VHD file so it takes less room.
Totally different processes.
Rafik, only apply to R2
Why can’t Disk 1 be compacted? IT appears that it is not is use by the VM anyway…
It’s the parent for the differencing disk that IS attached.
confirmation? ynn?
My opinion is No, No, No. In this scenario none of the disks can be compacted while the VM is running even if running 2012 R2, which has some new online compacting features, because the R2 features would require the disks be attached to SCSI, not IDE. I’ll be choosing No, No, No.
So the answer is Yes, No, No.
Disk1 is NOT attached to VM if you check the second Exibit.
Although Disk1.vhdx is not attached to the VM, compacting it will invalidate it’s child disk (Disk2.vhdx). So in this case I think you ‘could’ compact Disk1, but you ‘shouldn’t’ as it will break the VM.
You cant, the parent disk is also in use. To compact the parent disk the VM must be shutted down, otherwise the option to compact won’t show up.
Its No No No, <<>>
http://technet.microsoft.com/en-us/library/cc720381(v=ws.10).aspx
<>
http://technet.microsoft.com/en-us/library/cc708394(v=ws.10).aspx
no, no ,no, because the disks are running !!!!
Seems kind of odd that Microsoft would ask something like this and have the answer be all No’s.
Here’s a thought.
If I merge disk2.vhdx to the parent, and call it disk2MERGEDWITHdisk1.vhdx, I then have removed the differencing disk without shutting down VM2.
Then from there I can compact disk1.vhdx because it VM2 is not relying on it anymore and VM1 is not running.
yes no no!
Looks like it is all no’s
http://technet.microsoft.com/en-us/library/cc708394(v=ws.10)
http://technet.microsoft.com/en-us/library/cc720381%28v=ws.10%29.aspx
“You cannot compact or convert a differencing disk. However, if the parent disk is a dynamically expanding virtual hard disk, you can compact or convert the parent disk after merging the differencing disk. If you defragment the physical disk on which a differencing disk is stored, the differencing disk file will be defragmented.”
And hence I agree with Bassholez – Yes, No, No
I haven’t tested this, but basic reasoning is, you don’t want to make any change to parent disk while other differencing disks relying on it. So, no to first one regardless of the question.
And you can not convert VHDX to VHD, so no to last one. why you would that while newer version of disk type runs with no problem.
the second one seems it’s possible, but Micrsoft says you can do only on dynamic disk, so not.
Hey, without understanding if it’s possible or not to compact different disk types, just with commone sense, I got two correct and the 2nd question could have been luck. lol
Just tested in my lab.
The correct answer is no, no, no.
Paison is correct, I also did it on the lab. The compact option for both parent and difference vhdx only is available when the VM is off.
Convert is also not possible with the VM running.
Answer is No No No.
My above test was on SCSI controller.
I did it again on IDE with .vhdx and it is still No No No.
I belive is YES YEs NO
It is posible to shrink a volume that without turning the machine off.
http://blogs.msdn.com/b/virtual_pc_guy/archive/2014/01/30/shrinking-a-vhdx-on-a-running-virtual-machine.aspx
Nobody said it was a dynamic disk.
Yes, you are correct, it’s possible to shrink a volume without turning the machine off, but shrink and compact are different things.
Compact, the storage capacity of the virtual hard disk remains the same.
The question says Compact, not Shrink. Two different things.
Tested on my lab : 2012 R2 running Hyper-V, dynamically expanding vhd and its differencing vhd.
If machine is running, we do not have the buttons available, under **Hard Drive**, only button available there is **Inspect**.
The picture of the **Settings** is misleading.
Answer is NO, NO, NO
If the disks are IDE then you are right – there is no option for shrink/expand/compact for VHDX. The option for online compacting is available for SCSI disks only.
so picture of settings is very important – it shows its an IDE disk.
My answer would be NO NO NO
YNN – Tested
Look carefully, the VHDX is on IDE.
You can convert, expand , compaq etc, while VHD is running only on SCSI Controller. You cannot do this while VHD is running on IDE controller environment.
Tested and confirm. and Its also somewhere on technet
So answer is NNN
One of the new features in Windows Server 2012 R2 and Windows 8.1 is the ability to resize a virtual machines virtual hard disk while it is running. In order to pull this off – all you need is a virtual machine with a .VHDX file attached to a SCSI controller (this functionality is not supported with .VHD files or IDE controllers).
From http://blogs.msdn.com/b/virtual_pc_guy/archive/2014/01/28/online-vhdx-resize-in-windows-server-2012-r2-windows-8-1.aspx
VHDX – the ability to expand and shrink virtual hard disks is exclusive to virtual hard disks that are using the .vhdx file format. Online resizing is supported for VHDX disk types, including fixed, differencing, and dynamic disks. Virtual hard disks that use the .vhd file format are not supported for resizing operations.
SCSI controller – the ability to expand or shrink the capacity of a virtual hard disk is exclusive to .vhdx files that are attached to a SCSI controller. VHDX files that are attached to an IDE controller are not supported.
https://technet.microsoft.com/en-us/library/dn282286.aspx
Tried this in the lab with the instructor, answer is NO NO NO.
Online resizing works with VHDX files only on iSCSI but not IDE Controllers:
One of the new features in Windows Server 2012 R2 and Windows 8.1 is the ability to resize a virtual machines virtual hard disk while it is running. In order to pull this off – all you need is a virtual machine with a .VHDX file attached to a SCSI controller (this functionality is not supported with .VHD files or IDE controllers).
From http://blogs.msdn.com/b/virtual_pc_guy/archive/2014/01/28/online-vhdx-resize-in-windows-server-2012-r2-windows-8-1.aspx
Also, according to some technet article, before converting differencing hard disk we have to merge them with the parent…
Tested : NO, NO, NO.
Sorry, Tested with IDE Disk Only
TEST IN MY LABO and the answer is
NO, NO, NO
You can check too this responses here
http://www.aiotestking.com/microsoft/select-yes-if-the-statement-can-be-shown-to-be-true-based-on-the-available-information-otherwise-select-no-4/
Can we compact if .vhd is running on SCSI controller?
NNN from VM settings.
YYN from pane Actions.
How to delete comment? 🙂
Tested: NNN