Error while powering on the file specified is not a virtual disk

The problem I'm suddenly having seems to be recapped to some extent in other questions/discussions. In any case, if this question with similar dimensions/parameters has already been resolved with sufficient clarity that I can fix the problem myself, kindly redirect me the extant discussion/resolutio...

The problem I’m suddenly having seems to be recapped to some extent in other questions/discussions. In any case, if this question with similar dimensions/parameters has already been resolved with sufficient clarity that I can fix the problem myself, kindly redirect me the extant discussion/resolution.

Having said that, the precise answer(s) to what the solution(s) might be seem relatively unique to each user/vm environment. If a forensic review could clarify whatever caused my particular problem, I would be happy to upload dump files, mem files, etc. from the relevant directory.

I’ll go ahead and upload as much as I can here to get started on this.

The problem started this morning after the VM (‘Zero’) had been suspended yesterday and the host machine was shut down normally last night.

The problem I’m having is that my VM won’t bootstrap from the .vmx file, which to my knowledge was not altered/corrupted, but may have been without my knowledge. The only AV program running (apart from Windows Defender) on the host machine is CCleaner—neither of which have caused any problems like this to date—this is the first/only time this has happened yet and I’ve been running this very same VM image of Windows 7 for 2-3 years quite stably. The VM image is called ‘Zero’ (will be evident from image appended of the VM directory in User/docs). All of the .vmdk files are present and accounted for (#’s 001-042)—no vmdk’s missing. The .vmx/config file is still present.

I can say that ~ 2 weeks ago Microsoft pushed out a rather large ‘update’ for Windows 10, which runs as the sole OS (no dual boot) on the same physical hard drive that also runs Workstation and on which is stored all VM files relevant for the functioning of Zero. There were the usual product updates for Edge/IE, etc. (and maybe some other stuff wedged in there by MS), but there were no immediate concerns/problems discernable in the functioning of Workstation (I think I was running 12.x, no windows server and no pro version, just the freeware Workstation). This evening, I downloaded and installed v14 of workstation thinking that it might help to resolve the problem, but no dice. If I had to guess the .vmx got corrupted somehow, by the otherwise ‘normal’ functioning of some other process, hidden conventionally within windows or (I would give it less probability), the ‘ordinary’ functioning of CCleaner or Windows defender.

I’d take a guess that if I could assess/test and repair the .vmx file (assuming it has been corrupted), that would solve the problem. Incidentally, the .vmss file is ~ 200mg, too large for upload w/ conventional means.
Anyway, I’m really hoping to get some guidance/reflection from the users here in this forum—really any useful/helpful reflections/insight would be most appreciated. Thank-you in advance, I’m really in a pickle.

Revised 03/19: I have a hunch that the culprit here was the Microsoft Update 2-3 weeks ago—various/itinerant manifestations of strange/unexplainable behavior with the host OS since then—apparently unrelated but may not be correlated. Similar thing happened w/ host machine OS Office Outlook functioning; Outlook unable to load/interpret native.pst/.ost files in its extant file hierarchy w/some files being duplicated. I could try restoring the host OS back to pre-update state but my sense is that would not resolve the problem here. I can’t get product support from VMware without buying 10 ore more licenses, although I could upgrade to Workstation v15 Pro if that would offer additional tools for resolving this.

В этой статье мы расскажем о возможных причинах, по которым не запускается виртуальная машина VMware Workstation. Мы рассмотрим самые распространённые ошибки, а также разберём, почему они возникают и как их исправить.

Ошибка VMware Workstation and Device/Credential Guard are not compatible

При включении VMware Workstation на Windows 10 может возникнуть ошибка со следующим текстом:

VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. Please visit http://www.vmware.com/go/turnoff_CG_DG/ for more details

Чаще всего эта ошибка возникает из-за того, что включено ПО Device Guard — оно помогает защитить систему от вредоносных файлов. Device Guard позволяет настроить список файлов, которые Windows будет считать безопасными. Если на компьютер попадут файлы, которые не входят в список, система автоматически удалит их. Работе VMware в таких случаях мешает компонент Hyper-V.

Как исправить

Обратите внимание

Чтобы отключить Hyper-V, необходимо внести изменения в реестр Windows. Перед отключением Hyper-V обязательно создайте резервную копию ОС.

Чтобы исправить ошибку, отключите Hyper-V с помощью функционала «Выполнить».

  1. 1.

    Нажмите сочетание клавиш Win + R.

  2. 2.

    В поисковую строку введите «gpedit.msc» и нажмите Ок.

  3. 3.

    Перейдите в раздел «Политика Локальный компьютер» — «Конфигурация компьютера» — «Административные шаблоны» — «Система» — «Device Guard». Дважды кликните на строку «Включить средство обеспечения безопасности на основе виртуализации».

  4. 4.

    В новом окне выберите пункт «Отключено» и нажмите Ok.

  5. 5.

    Перейдите в раздел «Панель управления» — «Программы и компоненты» — «Включение или отключение компонентов Windows». Отключите Hyper-V и нажмите Ок. Если система предложит перезагрузить компьютер, откажитесь от перезагрузки.

  6. 6.

    Откройте командную строку от имени администратора. Поочередно выполните команды:

    bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
    bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "EFIMicrosoftBootSecConfig.efi"
    bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
    bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
    bcdedit /set hypervisorlaunchtype off

    Затем перезагрузите компьютер.

Ошибка Cannot open the disk

Ещё одна распространенная ошибка при запуске виртуальной машины в VMware — Cannot open the disk. Её текст следующий:

An unexpected error was received from the ESX host while powering on VM.

На следующей строке будет указана одна из причин этой ошибки. Разберём, что означает каждая:

1) Failed to lock the file. Это значит, что процесс, который вы используете, не может открыть файл. При этом файл используется другим процессом. Что может привести к ошибке:

  • при работе с ВМ вы пытаетесь запустить вторую ВМ, используя тот же VMX-файл,
  • вы запустили ВМ с подключенным диском при помощи утилиты vmware-mount,
  • вы добавили виртуальный диск к ВМ, которая уже используется.

2) The parent virtual disk has been modified since the child was created. Эта ошибка возникает, если повреждён снимок ВМ.

3) The destination file system does not support large files означает, что на целевом хранилище невозможно открыть файл ВМ того же размера.

4) Could not open/create change tracking file. Эта проблема может возникнуть, если файл filename-ctk.vmdk создавался ранее и не очищался перед созданием новой ВМ. Здесь filename — это название вашего файла.

5) Cannot allocate memory. Тот случай, когда в модуле VMFS не хватает места.

6) The file specified is not a virtual disk возникает в случаях, если повреждён .VMDK-файл дескриптора.

7) Insufficient permission to access file. Такая проблема может возникнуть при использовании хранилищ типа NFS. Она сообщает о том, что экспорт NFS работает неправильно, так как права на чтение и запись файла не даны либо даны некорректно.

Как исправить

Единого решения для этого типа ошибки нет. Чаще всего причина связана с локальными настройками компьютера. Рекомендации по исправлению ошибки описаны в официальной документации.


Posted by rayred 2013-10-24T08:41:27Z

one of my VM cannot power on and error prompt like this

«The file specified is not a virtual disk»

when edit the vm settings the settings cannot retrieve vmdk information.

kindly refer as attach;

environment;

vmware workstation 8

attach_file
Attachment

1.png
28.1 KB

8 Replies

  • Author Red Apple

    2nd screenshot

    attach_file
    Attachment

    2.png
    78.2 KB


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Red Apple

    final screenshot

    attach_file
    Attachment

    3.png
    20.1 KB


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Stefan Sonneveld

    what you can try is removing the drive in the vm settings and then re add the disk as a existing disk?


    Was this post helpful?
    thumb_up
    thumb_down

  • Author S Jain

    essjae


    This person is a Verified Professional

    This person is a verified professional.

    Verify your account
    to enable IT peers to see that you are a professional.

    habanero

    it looks like that first file got changed independently of the rest, the time stamp is off by several hours.  Was some change made to the system? AV scan? Backup messing with the files?


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Red Apple

    Stefan S — tried that but same error «The file specified is not a virtual disk»

    smjain — I have no idea about that

    attach — when remove and try to attach the base vmdk

    attach_file
    Attachment

    err.png
    44.6 KB


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Red Apple

    The problem still unresolved.

    however, due to urgency, we created a new vm and re-install & restore the apps.

    we just lost our latest data. I think we can close this issue with status unresolved. thanks.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Anya Laur

    I have the same issue and searching for hours for the answer. My machine is suspended and I can’t resume — it gives me an error — The file specified is not a virtual disk.

    I can’t try anything suggested above because machine is not powered off. What should I do? Recreating and reinstalling is a really bad option for me.

    Please help?%uFEFF


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Andrew Gulidov

    You must remove your hdd from virtual machine. Then add first or another (if you have got snapshots) *.vmdk drive. Then everything will be OK.

    If you need more instructions, will mail to andrew.gulidov@gmail.com

    P.S. Sorry for my English :)


    1 found this helpful
    thumb_up
    thumb_down

I am running Windows 10 using VMware Workstation 16 on my Window 10 Laptop. All was well until I put my VM into suspended mode and then put my computer to sleep for the night. Once I booted it up it gave me an error saying that it couldn’t find the virtual disk (sorry I don’t have the exact error message). So, I provided it a VMDK file from yesterday. Now I am getting this error.

The file specified is not a virtual disk

Cannot open the disk 'C:Users[user]DocumentsVirtual MachinesWindows 1809 - BoxWindows 1809 - Box-000005-s015.vmdk' or one of the snapshot disks it depends on.

Module 'Disk' power on failed.

Failed to start the virtual machine.

I must’ve given it the wrong vmdk file. But when I go to Settings, it is not letting change the file path to a different vmdk.

enter image description here

I have two questions:

  1. Why did the VM loose track of the VMDK disk when I put it into suspended mode?
  2. How can I give VMware the correct VMDK so that the VM will boot up again?

asked Jul 28, 2021 at 14:56

Barley's user avatar

1

There may be a stale lock on that file.

Right click on the virtual machine, then go to Open VM directory. If you find any .lck file with the same name as your virtual machine, delete it and restart the VM.

EDIT

Failing that, your vmdk may indeed be corrupted for some reason.

If this is the case, you may revert to a snapshot (if available).

If you don’t have a snapshot, you can try to inspect the .vmdk file, or maybe a copy, with 7-zip (right click on the file -> Open archive), save the files you want to keep and then rebuilding the VM with the right image and settings. After you re-install the OS, copy the old files and you should be (relatively) fine.

answered Jul 28, 2021 at 16:18

A. Darwin's user avatar

10

I’ve been struggling for two days with this error now and read and executed countless solutions — but none seem to work.
I hope I find help here.

Without any warning or error my Vmaschine crashed.
When I try to open it I get the «The file specified is not a virtual disk» — Error.

I can’t revert to any snapshots (Daily Snapshots are made).

Solutions I’ve already tried:

  • Checking the vmx if it maps to the wrong vmdk — nope, everything seems to be fine.
  • Removing the *.LCK folders
  • Making a new VM from a vmdk (Error: «Parent of this virtual disk could not be opened»)

Is there anything else I could do?
And is there anything I can provide that could help you guys and girls helping me?

Greetings and thank you for your input.

asked Feb 7, 2017 at 15:49

GrampaRay's user avatar

2

So, in my case the only way to solve this was to go through every linked .vmdk and check if the parent one is still functioning.

I found one that was still ok from about a month ago.

There was a lot of damaged data, so I think this is a special case and should not be considered as a normal procedure.

answered Feb 28, 2017 at 13:36

GrampaRay's user avatar

GrampaRayGrampaRay

11 gold badge1 silver badge3 bronze badges

For me, I just removed the virtual disk from the virtual VM from the vsphere / ESXI web / whatever you use, (DON’T DELETE THE DATA),
Then re add the existing virtual disk.

answered Aug 31, 2017 at 8:29

Adam Delarosa's user avatar

I booted up an old VM and had the same problem. Turns out I had mounted a physical SD card as an IDE drive to the VM using the «advanced» options last time the VM was in use. I didn’t have an SD card in the computer anymore, so VMWare couldn’t find the SD card.

Simply by going into Virtual Machine Settings and removing the mapped IDE drive I was able to fix the issue. Hope this helps someone else!

answered Dec 25, 2019 at 18:11

Shrout1's user avatar

Shrout1Shrout1

3432 gold badges6 silver badges18 bronze badges

Байден объявил России третью мировую войну!

А согласны ли умирать европейцы за прихоти маразматичного старика? Голосовали ли европейцы за войну? Или им войну навязывает диктатор?
Похоже что диктатор Байден приказал своим рабам «умереть за дерьмократию», и повысил расценки на сжиженное топливо,
которое европейцам в скором времени потребуется для танков. А где им еще брать топливо? Пока европейцы будут умирать за ценности ЛГБТ , США будет делать деньги, схема стара как и хуй Байдена.
А все те, кому данная схема демократии не нравится , будут насильно отловлены на улице и принудительно отправлены на войну (на убой).

Нас всех ждет третья мировая война в которой умрёт 60 миллионов человек. Так что засуньте вы своё благородство себе в жопу.

«Cannot the open disk» Ошибкa зaпуcкa мaшины виpтуaльнoй VMware Мepиoн Нeтвopкc / ЛАЙФХАК

В этoй cтaтьe paacмoтpим кaк peшить cлeдующиe нeиcпpaвнocти:

  • Вaм нe удaётcя включить виpтуaльную мaшину
  • Пpи включeнии виpтуaльнoй мaшины пpoиcxoдит cбoй
  • Вы видитe oшибку: An unexpected error was received from the ESX host while powering on VM . Reason: Cannot open the disk disk_name or one of the snapshot disks it depends on.
    Гдe пpичинa oднa из cлeдующeгo: Reason: Failed to lock the file. Reason: The parent virtual disk has been modified since the child was created. Reason: The destination file system does not support large files. Reason: Could not open/create change tracking file. Reason: Cannot allocate memory. Reason: The file specified is not a virtual disk. Reason: Insufficient permission to access file.

 Ошибкa зaпуcкa виpтуaльнoй мaшины VMware: «Cannot open the disk»

Ошибкa зaпуcкa виpтуaльнoй мaшины VMware: «Cannot open the disk»

Рeшeниe

Ошибкa №1: нe удaлocь зaблoкиpoвaть фaйл.

Ошибкa «нe удaлocь зaблoкиpoвaть фaйл» oзнaчaeт, чтo фaйл oткpывaeтcя дpугим пpoцeccoм и иcпoльзуeмый Вaми пpoцecc нe мoжeт oткpыть фaйл дoлжным oбpaзoм.

Этo oбычнo пpoиcxoдит, ecли Вы:

  • Пытaeтecь зaпуcтить втopую виpтуaльную мaшину, иcпoльзуя тoт жe .vmx фaйл кoнфигуpaции виpтуaльнoй мaшины.
  • Включaeтe виpтуaльную мaшину c пoдключeнными диcкaми c пoмoщью утилиты vmware-mount.
  • Пытaeтecь включить виpтуaльную мaшину чepeз пoльзoвaтeльcкий интepфeйc вo вpeмя oпepaции cнимкa.
  • Пытaeтecь дoбaвить виpтуaльный диcк к виpтуaльнoй мaшинe, кoтopaя ужe иcпoльзуeтcя.

Ошибкa №2: Рoдитeльcкий виpтуaльный диcк был измeнeн c мoмeнтa coздaния дoчepнeгo диcкa

Дaннaя oшибкa вoзникaeт, кoгдa cнимки нaxoдятcя в плoxoм cocтoянии, либo из-зa pучнoгo вмeшaтeльcтвa, либo из-зa cбoя cиcтeмы.

Ошибкa №3: цeлeвaя фaйлoвaя cиcтeмa нe пoддepживaeт бoльшиe фaйлы

Дaннaя пpoблeмa вoзникaeт, ecли paзмep блoкa цeлeвoгo xpaнилищa дaнныx нe пoддepживaeт VMDK тaкoгo жe paзмepa, кaк иcxoдный. Чтoбы уcтpaнить дaнную пpoблeму, убeдитecь, чтo цeлeвoe xpaнилищe дaнныx oтфopмaтиpoвaнo c paзмepoм блoкa, дocтaтoчным для пoддepжки фaйлa VMDK иcxoднoй мaшины.

Ошибкa №4: нe удaлocь oткpыть или coздaть фaйл oтcлeживaния измeнeний

Этa пpoблeмa мoжeт вoзникнуть, ecли фaйл filename-ctk.vmdk был coздaн paнee и нe был oчищeн.

Ошибкa №5: нe удaeтcя выдeлить пaмять

Дaннaя пpoблeмa мoжeт вoзникнуть, ecли в мoдулe VMFS нe xвaтaeт мecтa в кучe.

Ошибкa №6: укaзaнный фaйл нe являeтcя виpтуaльным диcкoм

Дaннaя пpoблeмa мoжeт вoзникнуть, ecли фaйл дecкpиптopa .vmdk пoвpeждeн или oтcутcтвуeт. Чтoбы peшить дaнную пpoблeму, coздaйтe нoвый фaйл дecкpиптopa .vmdk для этoгo диcкa, a зaтeм oтмeнитe peгиcтpaцию и зaнoвo зapeгиcтpиpуйтe виpтуaльную мaшину. Этo гapaнтиpуeт, чтo клиeнт vSphere oпpeдeлит пpaвильный paзмep диcкa и виpтуaльнaя мaшинa включитcя пpaвильнo.

Ошибкa №7: нeдocтaтoчнo пpaв для дocтупa к фaйлу

Дaннaя пpoблeмa oбычнo нaблюдaeтcя в виpтуaльныx мaшинax, pacпoлoжeнныx нa xpaнилищax дaнныx NFS. Дaннaя пpoблeмa мoжeт вoзникнуть из-зa пpoблeм c paзpeшeниями в xpaнилищe дaнныx NFS.

Чтoбы peшить дaнную пpoблeму, убeдитecь, чтo xocт имeeт пpaвильныe paзpeшeния нa чтeниe / зaпиcь для дocтупa к экcпopту NFS. Еcли в мaccивe xpaнeния уcтaнoвлeн пapaмeтp «Нeт кopнeвoгo квaдpaтa» (No Root Squash), убeдитecь, чтo дaннaя oпция включeнa, или oбpaтитecь к aдминиcтpaтopу xpaнилищa.

/ ЛАЙФХАК

Спасибо что Вы с нами!

2023-02-09 18:47:53

Внимание! авторам, имеющих авторское право на тот или иной текст бренд или логотип, для того чтобы ваша авторская информация свободно не распространялась в ресурсах интернета вы должны ее удалить с таких ресурсов как vk.com ok.ru dzen.ru mail.ru telegram.org instagram.com facebook.com twitter.com youtube.com и т.д в ином случаи размещая информацию на данных ресурсах вы согласились с тем что переданная вами информация будет свободно распространятся в любых ресурсах интернета. Все тексты которые находятся на данном сайте являются неотъемлемым техническим механизмом данного сайта, и защищены внутренним алфавитным ключом шифрования, за любое вредоносное посягательство на данный ресурс мы можем привлечь вас не только к административному но и к уголовному наказанию.

Согласно статье 273 УК РФ

Пожаловаться на эту страницу!

2764 тыс.

Понравилась статья? Поделить с друзьями:
  • Error while parsing cannot run program docker compose
  • Error while loading shared libraries libaio so 1
  • Error while operating khazama
  • Error while opening this process have you disabled system integrity protection sip yet
  • Error while opening the virtual machine внутренняя ошибка