Virtual hard disk is different from the physical?

C:\Users\admin > vssadmin list writers
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) copyright 2001-2005 Microsoft Corp..
Error: Unexpected failure: catastrophic failure

Hi all, it's a 2003 SP2 x 86 box of 50 gigabytes VHD. Normally on a physical server, if I get such an error I ran check disk, but not sure of the virtual. My question is - should I run check disk on a VHD? Looks like a question of OS, but the goal here is to find out more about VHDs. Is it a common practice to treat a hard virtual as a physical drive? Is in practice to run tools like HDD check disk, defragmentation on a VHD? Where the problem lies if the virtual hard disk has errors & how fix/repair VHDs? Thanks in advance.

Welcome to the community,

Basically, you can treat the virtual drives from within the guest as physical OS. Defragmentation may not be useful, but chkdsk is definitely something you need to run in cases like this to check the logical integrity of the NTFS file system.

André

Tags: VMware

Similar Questions

  • 12.04.01 Ubuntu x 86-putting in place a virtual Windows XP machine to access the physical disk

    Dear community,

    I'm new to VMware Workstation, but progressed in computer science.

    At first, I want to give you a brief introduction of my system and my goal.

    HP ProBook 6550 b (System with Intel Core i5 processor Intel-based)

    The HARD drive access mode: S - ATA AHCI

    Operating systems: Windows 7, Ubuntu 12.04 x 86, Ubuntu 12.04 x 64

    Boot Manager: GRUB2

    VMware Workstation (trial period) to 9.01 Linux x 86

    Goal: install MS Windows XP Professional with physical disk access several partitions on the hard drive local

    The installation of VMware Workstation 9.01 on my system Ubuntu 12.04 x 86 worked perfectly, without any error. Large.

    I was able to set up and run a Windows XP VM standard by creating a new virtual disk , following the Nice Wizard.

    It was just to test, but just after I tried to configure the same OS as a virtual machine using a physical disk (for advanced users) to directly access a local hard drive.

    Also, I selected "BusLogic (recommended)" on the choice of type of I/O controller.

    As a device, I chose the HARD internal laptop drive and used two individual partitions (the real partitions on my HARD drive I wanted access within the virtual machine).

    These partitions have been preformatted with NTFS (and not have been mounted in my Ubuntu).

    However, I was not sure if Windows XP has been will be installed on one of these partitions.

    The turn on/off the virtual machine to install the OS, I got the message following (msg1):

    "You are using a SCSI drive. Performance of dual-boot SCSI physical drives are poor. The installed operating system could not start correctly in the virtual machine. However, the physical SCSI disks work normally so exclusively in the virtual machine. »

    Just after the message following (msg2):

    "If you dual-boot a native Windows installation, problems can occur when attempting to start your system in VMware Workstation." For more information, see "http://vmware.com/info?id=128". "
    Click OK to continue, Cancel to power off.

    And finally this (msg3):

    «An error has occurred causing a virtual CPU go into the stop State.» If this anomaly had occurred outside of a virtual machine, it would have caused the physical machine restart. The stop State are accessible by properly configuring the virtual machine, a bug in the guest operating system or a problem in VMware Workstation.
    Click OK to restart the virtual machine or Cancel to turn off the virtual machine. »

    I cannot explain the last error message and don't know what to do.

    After specifying msg2, I found information about possible problems in dual-boot environments, caused by different drivers for the IDE controller.

    So I tried to change the access mode to S - ATA AHCI HARD drive to S - ATA IDE in the BIOS to solve the problem.

    Unfortunately, I have had no success on this operation, because the error message appeared again, once I restarted the VM.

    Sorry, but I have no idea what goes wrong.

    In fact, I don't know what VMware workstation wants to do, when you install the system on a disc/physical partition to have direct access to the local hard disk.

    Because I don't see even the first screen of Windows Setup, there must be something wrong.

    Underlying product system issues and if it's a primary or logical partition?

    Need a complete unformated HDD?

    Only selected partitions are accessible within the virtual machine?

    Is the system installed itself on the selected partitions?

    Maybe some experienced users can help.

    Your help is welcome!

    Thank you.

    stanni

    First I use a raw disk to install Windows XP from a virtual machine, but if I had an existing installation, I would add the partition as a raw to be executed with a VM disk.

    Here's what I'd do...  Install Windows XP to a normal file based virtual machine, and then add a second disk as a raw disk with the partitions you want to join.  That's assuming that you really need not where what to start Windows XP natively and the physical partitions that access are used for data.  Also if need be add the raw disk as IDE.

  • The virtual hard disk size

    For worker Analyzer IO VM, it is recommended to create a larger second virtual hard disk that serves as a target IOmeter.


    Is the size of the virtual hard drive exactly the same workload working set size, which means that all data in the virtual disk is read from or written to storage during the race?

    Do you have other recommendations to decide what size the second virtual hard disk should be a VM worker?

    Thank you

    Rebecca

    Hi RS_1, it's useful, but I was looking for some additional tips for the user guide.

    I received responses from some of the developers of IO parser and also ran a few tests of my own.

    Iometer generates its I/O based on the number of blocks of target disc (i.e. the manually added virtual hard disk on the worker VM).  The size of the disk hard virtual will be be equivalent to e/s working set size.

    For a virtual hard drive that strikes only cache, a rule would be its size to 100 MB.

    For a virtual hard drive that hits the disk, the virtual hard disk could be sized anywhere from 10 GB to the top. The drive, / o most actually hits disc rather than cache.

    To do this, I created a 200 GB thin provisioned virtual hard disk for my e/s VM Analyzer worker. As I ran the Iometer workload, I could see the thin disc quickly increase from almost nothing to its size fully provisioned. This means that the new virtual hard disk sectors were continually being read and written by Iometer. Interestingly, it only took about 5 minutes to flesh out a whole 200 GB drive. Obviously, this speed would depend on the type of I/O profile used.

    I also tested a 20 GB disk Iometer vs virtual a virtual drive of 200 GB. Average latency, IOPS / s and flow were all better for 20 GB disk - because a greater proportion of e/s in this case was hit the cache, tilt the numbers positively.

    So, even at the drive hard virtual, sizes last 10 GB, size of the VHD will affect yet observed performance to Iometer.

  • Compact virtual hard disk and change the type of drive in static

    Hi all

    I want to change the type of my dynamic static vm disk and now I want to compact the virtual hard disk memory for this virtual machine but I want to it without affecting the control points of this virtual machine that I created earlier. I use the SCVMM 2012 administration console. Any reg suggestions it will be useful.

    Thank you

    You should post your question in the following forum for help and appropriate responses:

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt

  • When you access the virtual machine, getting the error "encountered an error when you try to use one of its virtual hard disks". Help?

    I received the "low disk space error" on a hard drive of the virtual machine dynamic expanding. I have increased my space of virtual hard disk using "My Computer" > manage > storage > "Disk management" and choose "Attach VHD" then resizing to max available (64 GB), and now I can not start the virtual machine. It gives the error: encountered an error when you try to use one of its virtual hard disks. Help?

    Hi NatalieFoster,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums to get help:

    Windows 7 Virtual PC and XP Mode TechNet Forums

  • Is it possible to transfer everything to a virtual hard disk that is smaller on a virtual hard disk that is larger in VMWare Workstation, using the same virtual machine?

    Hello

    I was wondering if it is possible to transfer everything to a virtual hard disk that is smaller on a virtual hard disk that is larger in VMWare Workstation, using the same virtual machine? In the affirmative, please could someone advise me on how to do it. Also utility management and disk transfer can be used in virtual machines to do this?

    Thank you very much

    Tim Auluck

    I'm not sure what exactly you are asking. Can you please clarify!

    Basically you can resize a virtual drive or add a second virtual disk to a virtual machine and transfer/copy files. You can also resize the virtual disk using VMware Converter for example.

    André

  • Read the last sector of the virtual hard disk

    Hello

    I'm running Windows 7 Home Premium VM inside VMWare Workstation image. I want to access the last sector of this Virtual Hard Drive. However, I do not within Windows 7 itself.

    Instead, I want to start this virtual system using a bootable Livecd. To this end, I can create an ISO using the Windows XP Installation CD and Bart PE Builder.

    Now my question is, how do I boot under VmWare Workstation Livecd Bootable using Bart PE created so that I can access the virtual hard disk.

    And also, once I started the new system, I want to read this last sector of the virtual hard disk. This is for testing purposes. I know, it could be done on a running system as well however, I want to be able to do this in VmWare Workstation.

    I searched the net for a solution. I came across the Disk Explorer utility, which is available here:

    www.Runtime.org/DiskExplorer.htm

    In my view, this will allow me to read the last sector and thus copy. It is however an expensive software. They have even a plugin developed to work with BartPE, which is available online here:

    http://www.Runtime.org/diskexplorer_for_ntfs.cab

    But we need to provide the license key in the .inf for this file to work.

    In any case, I know how to prepare the Windows Bootable Live CD using BartPE.

    Issues related to the:

    How to get started in using a windows live CD VMWare?

    How to access the virtual hard disk of the Windows 7 operating system?

    And finally, are there other alternatives that are easier to explore this disk that would allow me to read the last sector of this virtual hard disk and copy another medium?

    Thank you.

    I am able to use the keyboard in knoppix, but the mouse doesn't seem to work properly. I am able to click right on the desktop but not able to select any option. The behavior of the mice is completely wrong.

    Is it possible to fix it?

    You can try to temporarily adjust the Type of guest OS Linux or edit the .vmx to have these parameters/values or temporarily remove the USB controller.

    usb:0.deviceType = "mouse"
    usb:0.present = "FALSE"
    mouse.vusb.enable = "FALSE"
    
  • How to specify the file of virtual hard disk when you create a new virtual machine using virtual hard disk on the data store?

    I'm new to PowerCLI and find quite simple, but in the documentation I read, I don't see how to use a virtual hard drive, existing on a data store when you create a new virtual machine.

    Is this simple registration on the virtual hard disk, or did I miss something?

    My current create VM is the following statement:

    New-VM

    -Name $TargetHostName -host $TargetVMCenterHost -data store $TargetVMCenterDatastore DiskMB - 20000 -MemoryMB $TargetHostMemoryMB -NumCPU $TargetHostCPUs -ID $TargetHostOS -CD -Description $TargetHostName

    Didn't notice this before, but I think that vSphere will use a backslash instead of a slash in the paths.

  • Is there a way to increase the size of the virtual hard disk? in the VM? ESXI 4.1

    HelloW to all.

    I created VM with the size of the hard drive of 80 GB and now I want to increase the size of the 80 GB to 150 GB drive does not add whit extra 70 GB partition but to increase the patitionn of 80 GB.

    Is there a way to increase the size of 150 GB of the virtual hard disk? in the VM? ESXI 4.1

    Thanks in advance.

    If the guest operating system is windows, then follow below process-

    Scenario-1 his drive is not the boot partition.

    1. click on the settings of the virtual machine

    2. Select the hard drive to increase and give the size you want (don't forget that you should have a free space available on the data store).

    3. go to disk to the virtual machine management, and then rescan disk (you will see the unused space)

    4. open the cmd/command prompt, then run diskpart by using the diskpart command

    5 then... the drive... After this list give the command "select disk 1" (1 is the disk you want to expand)

    6. After selecting the disk, type extend (extend order will extend the drive)

    7. exit diskpart.

    Scenario-2 If the drive is the boot partition.

    1. power of the virtual machine. (go on change settings of ==> click on the drive you want to extend ==> copy the path of the disc)

    2. go to any other test VM and add disk--> disk existing use ==> give the drive path that you want to extend ==> Assistant to finish.

    3. Select the hard drive to increase and give the size you want (don't forget that you should have a free space available on the data store).

    4. select disk of the virtual machine management, and then rescan disk (you will see the unused space)

    5. open / cmd command prompt, then run diskpart by using the diskpart command

    6. then... the drive... After this list give the command "select disk 1" (1 is the disk you want to expand)

    7. After selecting the disk, type extend (extend order will extend the drive)

    8 exit diskpart.

    9. go to change the setting of this test VM and select the hard drive... ==> click on remove virtual machine. (do not drive delete)

  • Increase the size of virtual hard disk to a virtual computer with snapshots

    Is it possible to increase the size of a virtual hard disk on a virtual machine that has snapshots on this subject?  I can use VMware converter to increase the size of the disk, but who commits snapshots during the conversion-

    Thank you

    As everybody said that it is not a good idea to increase the space for a VM with a snapshot.   The snapshot files are all related originally vmdk and when you change this vmdk he breaks the link.

    A particular reason that you cannot commit the snapshot before adding the space.

  • Fusion is stopped because the virtual hard disk capacity is reached

    I run Windows XP Pro in a virtual machine with the German Fusion 3.1.1 on my MacBook 13 "with Mac OS X 10.6.2.

    When I try to start Windows the VM said: "VMware Fusion has the virtual machine is stopped, because the capacity of the hard drive (40 GB) is almost reached."

    But this Windows disk management in the first partition 'Win XP Pro' 15 GB to 30 GB are free. And on the second partition 'Install' 8 GB to 10 GB are free.

    I took the snapshot on the virtual machine and have managed hard disk cleanup. But it does not help. Fusion said I do free 1.2 MB capacity of the virtual hard disk. How can I do this, when the merger does not start?

    The opportunity to make more the virtual hard disk of 40 GB to 50 or 60 GB is blocked, I first have to delete the snapshot. But the snapshot is deleted.

    What can I make Fusion work again?

    czer27 wrote:

    When I try to start Windows the VM said: "VMware Fusion has the virtual machine is stopped, because the capacity of the hard drive (40 GB) is almost reached."

    I doubt that what you quoted is the message itself, so it would be more useful if you attach the .log files.  See information for VMware Fusion to help with that.  Howevere...

    I bet that the message is more like "VMware Fusion has suspended this virtual machine because the disk on which the virtual machine is stored is almost full. To continue, free at least MB of disk space. "and as such, you must do exactly what means the message and that is free space hard disk Macintosh not space inside the VHD.  After all, it's the Mackintosh HD stored on the Virtual Machine, isn't?

  • Why can't I use a virtual hard disk on a UDF file system?

    I have an external hard drive that has eSata and USB connection formatted in NTFS, where I have bootmgr and let me run windows native installers installations and windows on virtual hard drives with different software and different versions of Windows for testing purposes installed.

    I wanted to copy a VHD to another USB that is used to share files with other operating systems and is formatted with the UDF, who is reading and writing on all operating systems.

    Here it is: I can't use the VHD to a file directly from UDF system.

    I can understand that, because of the file system limits, cannot use extensible VHDs on UDF. But I opened a command line, type DISKPART, ' select vdisk file = [UDF disc]: \07-100-clean.vhd "and says it's a unsupportted action.

    Well... Make this hard drive virtual bootable since a UDF its imposible because it means modifing the bootloader, but:

    How can I reach a kick from Windows 7?

    Hello

    This is a go to TechNet and ask the same question, given that this problem is taken in charge out there and not here.

    Rob - SpiritX

  • Virtual hard disk

    Hello Sir,

    Charan my name & I'm from the India.

    I have a HP Pavilion P001tx.

    Yesterday, I created a virtual hard disk (.vhd) file by using the disk management window...

    I named the vhd as "chred" file and 200 GB is allocated to the... located in my C drive.

    Before this "chred.vhd" was created, I have 600 GB of free space in my drive C on 900 GB...

    Now, I had only 400 GB left... I don't actually need this file 'chred.vhd '...

    How can I remove and recover my 600 GB of free storage?

    Thanks in advance!

    CR9 wrote:

    Hello Sir,

    Charan my name & I'm from the India.

    I have a HP Pavilion P001tx.

    Yesterday, I created a virtual hard disk (.vhd) file by using the disk management window...

    I named the vhd as "chred" file and 200 GB is allocated to the... located in my C drive.

    Before this "chred.vhd" was created, I have 600 GB of free space in my drive C on 900 GB...

    Now, I had only 400 GB left... I don't actually need this file 'chred.vhd '...

    How can I remove and recover my 600 GB of free storage?

    [Personal information]

    Thanks in advance!

    It doesn't look like do you in fact mounted, so whatever you delete the VHD file chred.vhd and space will be available.  For more information on the withdrawal and the removal of virtual hard disks, see this article.

  • How to expand your virtual hard disk while host hard disk space is not enough?

    People,

    Hello. I use VM Player 3. My host computer is Windows 7 and VM is Oracle Linux 5. I need to expand the virtual hard drive Oracle Linux 5 from 100 GB to 150 GB. When I click on VM > Settings > hard drive > utilities > expands...

    The error message:

    There is not enough space on the file system for the selected operation.

    To after my understanding, we have enough room to store the VHD original more expanded VHD.

    This means that the free space on the host needs to be 100 GB + 150 = 250 GB

    The total size of the hard disk of the Windows 7 host is 284 GB. The VM already occupies 100 GB of 284 GB. The maximum free space is 184 GB less space and boot OS. This means that I can't develop the 100 GB to 150 GB VHD.

    But I have to expand the virtual hard disk! I don't know if there are other ways to expand the virtual hard disk.

    My question is:

    Folk understand some ways to expand the virtual hard drive ranging from 100 GB to 150 GB drive hard host is only 284 GB?

    Thanks in advance.

    You explained, it is the behavior with monolithic virtual disks, which is a unique hard file. Because the file requires more space for its metadata at the beginning of the file, all the blocks of data must be copied to a new file. With the format of sparse file 2 GB virtual disks can be extended without the need to copy the data into a new file hard, because each the hard contains its own metadata. In case you don't have at least ~ 100GB of disk space you can use vmware-vdiskmanager convert/clone the virtual drive command line utility in a format of 2 GB sparse file, delete the original virtual disk (after saving), then use vmware-vdiskmanager again to rename the new virtual disk to the old name. Once done, you will be able to expand the virtual disk as required.

    André

  • Run a virtual hard disk file in Virtual PC

    Hello

    I recently got a Windows 7 PC to replace a Windows XP machine. However, while I still have access to anything whatsoever on the old PC that I maybe need even once, I did a .vhd on the old hard drive file.

    I can't open this vhd file, because I can't find a way to create a new virtual PC with which use this virtual hard disk.

    Is anyway to do this?

    Thank you
    Richard

    Windows 7 can read files in VHD(Virtual Hard Disk) without VPC (Virtual PC).  You can make the VHD file be seen as a hard drive on the new PC. Here's how to do it.

    Attach the VHD file:
    1. right click on 'My Computer' and click on 'manage '.
    2. go in "Disk management" under "Storage" on the left side.
    3. click on the 'Action' menu on the top and click on "attach VHD.
    4 locate the hard drive file virtual you want to open, you can also make the drive read only just in case you accidentally change something.  Then click on 'OK '.
    5. you should see your virtual hard drive in "My Computer"
    Detach the VHD file:
    1. go in disk management as described in steps 1 and 2 as I explained earlier.
    2. on the bottom half of the window, find the hard drive virtual you want to detach.
    3 click on the "disk #" and click on "remove VHD.
    Good luck. God bless you. :)

Maybe you are looking for

  • Disappeared from the toolbar URL, and modules are not coming back.

    Hi people. Once more Firefox drives me crazy, I woke up this morning, turned on the old computer, Firefox has started, and I have no URL bar. I tried to restore it, but no luck. Been looking for the Firefox forums for a few hours, found similar quest

  • Does not update shockwave flash

    Try to update Adobe Shockwave Flash - went to the Mozilla, download install_flashplayer11x32_mssd_aaa_aih.exe plugin page, but it keeps failing to install - get "Unable to load the configuration of the application" error. Any help appreciated, thanks

  • How can I get rid of the "Plug-Ins" message whenever I connect to Mozilla?

    Whenever I try to enter in mozilla, I get a message telling me to update my plug ins. It's annoying and I want to keep bothering me!

  • AVG 2011 - msvcp80.dll missing file

    Since the upgrade AVG 2011 free ediion when I start and it's loading AVG to get the message. Cannot start as long as MSVCP80.dll file missing. In fact, my computer isn't the only one, my husband did the same and the laptop. 3 in all. However, my husb

  • using the method of access protected: RichTextField.getOffsets)

    Hi all I created a RichTextField object, containing a string that consists of two types of fonts. I want to use the getOffsets() method, which is of type "int []". However, when I run the compiler, it is said that the method is protected. Is it possi