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.

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.

Answer:

Explanation:



Leave a Reply 44

Your email address will not be published. Required fields are marked *


bean

bean

Wrong, you can’t compact disk2 when VM2 is running.

Nguyen

Nguyen

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

Green Hosting

Green Hosting

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.

Rafik

Rafik

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.

MountSwolmore

MountSwolmore

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.

Dude

Dude

Rafik, only apply to R2

tj

tj

Why can’t Disk 1 be compacted? IT appears that it is not is use by the VM anyway…

MountSwolmore

MountSwolmore

It’s the parent for the differencing disk that IS attached.

johhny

johhny

confirmation? ynn?

tvegeta

tvegeta

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.

Hellwind

Hellwind

So the answer is Yes, No, No.
Disk1 is NOT attached to VM if you check the second Exibit.

Michael

Michael

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.

Gilbert is lost.

Gilbert is lost.

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.

semevalavida

semevalavida

no, no ,no, because the disks are running !!!!

Bassholez

Bassholez

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!

Jay

Jay

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.”

Jay

Jay

And hence I agree with Bassholez – Yes, No, No

han

han

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

Paison

Paison

Just tested in my lab.
The correct answer is no, no, no.

Gilbert is lost.

Gilbert is lost.

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.

Gilbert is lost.

Gilbert is lost.

My above test was on SCSI controller.

I did it again on IDE with .vhdx and it is still No No No.

Seve

Seve

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

Seve

Seve

Nobody said it was a dynamic disk.

Lucas Pimenta

Lucas Pimenta

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.

Gilbert is lost.

Gilbert is lost.

The question says Compact, not Shrink. Two different things.

I_may_be_wrong

I_may_be_wrong

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

GoGo

GoGo

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.

GoGo

GoGo

so picture of settings is very important – it shows its an IDE disk.
My answer would be NO NO NO

Cleber

Cleber

YNN – Tested

cowpoo

cowpoo

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

Marhoon

Marhoon

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

mhmdshawqi

mhmdshawqi

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

mhmdshawqi

mhmdshawqi

Also, according to some technet article, before converting differencing hard disk we have to merge them with the parent…

kesketufou

kesketufou

Tested : NO, NO, NO.

kesketufou

kesketufou

Sorry, Tested with IDE Disk Only

Confused

Confused

Can we compact if .vhd is running on SCSI controller?

username

username

NNN from VM settings.
YYN from pane Actions.

username

username

How to delete comment? 🙂
Tested: NNN