Тёмный

Virtual Hard Disk Demonstration 

ITFreeTraining
Подписаться 214 тыс.
Просмотров 49 тыс.
50% 1

This video will look at how to create virtual hard disks on Windows Server 2012 R2 using the VHD and VHDX format. The video will also look at how to convert between the different formats. The principles used in this video also apply to client operating system.
Access the rest of the course ITFreeTraining.com/server
Download the PDF: ITFreeTraining.com/handouts/se...
Demonstration creating virtual disks in Disk Management
1) To create and manage virtual disks this can be done with “Disk Management”. “Disk Management” can be opened by right clicking on the start menu and selecting the option “Disk Management”.
2) To create a new VHD, open the action menu and then select the option “Create VHD”.
3) To create a new virtual hard disk, enter in the location you want to create the virtual hard disk at the top of the screen.
4) Under the location select the size of the virtual hard disk that you want to create. If you create a virtual hard disk using the VHD format then the largest virtual hard disk you can create is 2040 Gigabytes. If you use the VHDX format you can create a virtual hard disk that is up to 64 Terabytes in size. The VHDX format is only supported on Windows Server 2012 and Windows 8 and above. The VHDX format offers additional performance features as well as transaction logging.
5) In the middle of the screen select the format you want to use to create the virtual machine. Either VHD or VHDX.
6) At the bottom you can choose if the virtual hard disk is fixed in size or dynamically expanding. The size of the dynamically expanding virtual disk will be same as the amount of data stored on the virtual disk. The fixed option creates a file the same size as the virtual disk. This makes performance of the virtual disk faster, however it does mean that more disk space will be used.
7) Once a virtual disk is created it will automatically be mounted and thus will appear in disk management. The icon used in disk management will be blue to indicate that it is a virtual disk. The icon used for physical hard disks will be grey. If the computer is restarted the virtual hard disk will need to be mounted again. If you want the virtual disk to be automatically mounted during start up, a script will need to created and run at start up to mount the virtual disk.
8) Like a newly installed physical hard disk with data on it, the virtual hard disk will need to be initialized before it can be used. To do this, right click on the virtual hard disk and select the option “Initialize Disk”. In this case MBR will be used, however you could use GPT as well if the hardware that you were planning to use the virtual disk on supported GPT.
9) Once the disk has been initialized it will be able to be formatted. To do this, right click on the virtual disk and select the option “New Simple Volume”. You are free to choose your own options, however in this case all the defaults were used. This will create a drive using all the free space and format it with NTFS.
Demonstration creating virtual disks using PowerShell
1) To open PowerShell, press the PowerShell icon in the quick launch bar.
2) If you run the command convert-vhd in PowerShell you will get an error message saying the Hyper-V role needs to be installed. To install Hyper-V, assuming the server meets the requirements, open Server Manager and select the option on the welcome screen “Add roles and features” and then from the wizard accept all the defaults except for ticking the role “Hyper-V” on the “Select server roles” screen. Part of the install will install the module “Hyper-V Module for Windows PowerShell” which is what you need to run the PowerShell commands. Unfortunately the whole Hyper-V role needs to be installed in order for the PowerShell commands to work. If you are not able to install Hyper-V on the server, it is also possible to run these PowerShell commands on Windows clients like Windows 8 assuming the Hyper-V role is installed on those clients. The server or client will need to be restarted after the install.
3) To convert a VHD file from one format to another use the PowerShell command Convert-VHD -Path (Source) -DestinationPath (Dest). e.g. Convert-VHD -Path c:\DataDrive.vhd -DestinationPath c:\DataDrive.vhdx
Description too long for RU-vid. Please see the following link for the rest of the description: itfreetraining.com/server#/vir...
See / itfreetraining or itfreetraining.com for our always free training videos. This is only one video from the many free courses available on RU-vid.
References
“Hyper-V” en.wikipedia.org/wiki/Hyper-V#...
“Installing and Configuring Windows Server 2012 Exam Ref 70-410” pg 48-50

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@sarfaraz.hosseini
@sarfaraz.hosseini 5 лет назад
Your channel is so useful. Great stuff.
@lockedloaded1849
@lockedloaded1849 7 лет назад
Thank you again for your training. I was wondering if you just create a VHDX in Disk Management to begin with and avoided using PowerShell to convert it, saves time? Just a "What if"!
@pipelayer859
@pipelayer859 4 года назад
Hi so every time you shutdown your PC or laptop with a VHD or VHDX it won't be there isn't there a way to get around that or do you need a script thank you
@Kamal-vd1zg
@Kamal-vd1zg 5 лет назад
Hello Sir, I have a question, In my physical computer windows 7 installed, I create VHD file and I installed windows 8 on VHD but when i try to boot windows 8 from the screen that give me options which operating system you want to boot when I’m clicking windows 8 error is VHD host volume not enough space I have 1.9 TB VHD I googled the problem but I see people resolve the problem using disk partition software and other Third parties software is there’s any why to fix it. Without any third party software Thanks
@eduardmart1237
@eduardmart1237 4 года назад
How can I locate an existing disk? I couldn't find the "locate" option anywhere.
@fesyone7530
@fesyone7530 4 года назад
can i using virtualbox for learning this lesson?
@fooey88
@fooey88 9 лет назад
Say you have a NAS, you create a VHD/X and copy it to some network share located on said NAS. Then you mount that VHD via network share. What are the downsides of using this method? If your NAS/LAN (typical 1GbE) can handle it, why would one not want to go this route?
@itfreetraining
@itfreetraining 8 лет назад
+fooey88 It is possible to mount a VHD/X file from a network location. Due to the speed difference from network and and local you would mostly like use the local method. However in some cases it may be better to store the file on the network. For example, when the image is being used to image other computers.
@Kamal-vd1zg
@Kamal-vd1zg 5 лет назад
My second question is VHD getting De-attached after rebooting or shutdown the physical PC. I want my VHD always attached if I reboot or shutdown the PC Thanks
@itfreetraining
@itfreetraining 5 лет назад
You can create a script to reattach the drive at startup. Here's a blog post about it: www.mysysadmintips.com/windows/clients/408-automatically-attach-virtual-hard-disk-vhd-on-system-startup
@VikramSingh-lz8zu
@VikramSingh-lz8zu 6 лет назад
my problem is= the create VHD option is disabled. please solve it
@itfreetraining
@itfreetraining 6 лет назад
We're unable to solve it on your PC, however we can provide some assistance. Where are you getting the error?
@sergiod.rodriguezcolon1746
@sergiod.rodriguezcolon1746 3 года назад
If I have a windows 10 (which I do) mya I use the VHDX long term?
@itfreetraining
@itfreetraining 10 месяцев назад
I doubt that VHDX will stop being used any time soon. So yes.
@crushcomando6460
@crushcomando6460 4 года назад
Whenever I download something on the vhdx it uses space on my c drive and it doesn’t allow me to download anything on the vhdx
@itfreetraining
@itfreetraining 4 года назад
If you are storing the VHDX on the c drive, it will use c drive space. Unfortunately you don't get something for nothing.
@PhoenixHO
@PhoenixHO 5 лет назад
I am in windows 7 and I don't have the server manager. What should I do?
@itfreetraining
@itfreetraining 5 лет назад
Install RSAT for Windows 7.
@mr.blackmoon7362
@mr.blackmoon7362 3 года назад
thank you
@itfreetraining
@itfreetraining 2 года назад
Thanks for watching.
@shaquilleroberts9564
@shaquilleroberts9564 5 лет назад
I have mounted a vhd ....but when I try installing games or downloading .....it errs....plz help me with this...reply to me as soon as possible plz....oh and great videos by the way
@itfreetraining
@itfreetraining 5 лет назад
What error are you receiving?
@pythonpillow1114
@pythonpillow1114 4 года назад
@@itfreetraining He appreciates your timely response and hopes you appreciate mine
@theyoungcoder
@theyoungcoder 5 лет назад
help it says the rpc server is unavailible
@itfreetraining
@itfreetraining 5 лет назад
Are you trying to access it from remote? Local computer? When and where are you getting this message.
@user-fv7zv1nn7n
@user-fv7zv1nn7n 2 года назад
sorry but i try all this and i notice space removed from the actual drive,,,,,
@itfreetraining
@itfreetraining 2 года назад
Essentially a virtual hard disk is a file on your storage device. So it will take up space like any other file would.
@user-fv7zv1nn7n
@user-fv7zv1nn7n 2 года назад
@@itfreetraining its more better to merge actual ssds for bigger space !!!
@stevend984
@stevend984 6 лет назад
I now need to go to the eye doctor to have my eyes uncrossed!
@itfreetraining
@itfreetraining 6 лет назад
Sorry to hear that, do you have any suggestions on what could be improved?
@stevend984
@stevend984 6 лет назад
I do consulting, but I certainly don't work for free.
@AMS-s0ta
@AMS-s0ta 6 лет назад
There are always many people who can not help someone and can not see the others helping people!
Далее
Deploying roles to VHDs
8:46
Просмотров 27 тыс.
NFS Sharing Demonstration
14:32
Просмотров 58 тыс.
MBR and GPT demonstration on Windows
10:58
Просмотров 184 тыс.
Buying the Most EXPENSIVE Temu Items
23:44
Просмотров 554 тыс.
Are You In Godot Tutorial Hell?
7:04
Просмотров 1,8 тыс.
RAID and Storage Solutions
19:44
Просмотров 90 тыс.
Migration Roles In Windows Server 2012 R2
13:59
Просмотров 67 тыс.
Installing Server Core 2012 R2
21:27
Просмотров 70 тыс.
Advanced NTFS Permissions
14:51
Просмотров 66 тыс.