Microsoft Virtualization Discussions

Copy-NaHostFile cmdlet

vloiseau

Hi,

I want to have confirmation on the fact that if I have a fixed-thin syspreped VHD template, the Copy-NaHostFile cmdlet will make a thin-fixed copy ?

Thanks.

valéry.

1 ACCEPTED SOLUTION

sizemore

Yes, Copy-NaHostFile leverages flexclone for files, aka sub-lun cloning.  If the source VHD is properly aligned, and the reference limit for a block hasn't been exceeded the clone will exactly match the source.  If the source VHD is not properly aligned the entier VHD will be copied.  Any block that has reached it's max ref count will be copied.  With those two exceptions no new blocks are written the cloning operation is just a bunch of pointer manipulation.

~Glenn

View solution in original post

1 REPLY 1

sizemore

Yes, Copy-NaHostFile leverages flexclone for files, aka sub-lun cloning.  If the source VHD is properly aligned, and the reference limit for a block hasn't been exceeded the clone will exactly match the source.  If the source VHD is not properly aligned the entier VHD will be copied.  Any block that has reached it's max ref count will be copied.  With those two exceptions no new blocks are written the cloning operation is just a bunch of pointer manipulation.

~Glenn

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public