P
P
Pavel Ryabov2018-05-19 20:47:24
linux
Pavel Ryabov, 2018-05-19 20:47:24

Error in VirtualBox - not enough free space, how to fix?

Created a VM based on a real hard drive on which W10 is installed. Allocated 2GB of RAM. At the very ZhD 1T. The system starts loading and after 2 seconds the following window pops up "The I / O cache encountered an error while updating data in medium "ahci-0-3" (rc=VERR_ACCESS_DENIED). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards."
As I already wrote, there is enough space on the disk, but VB still swears.
I connected the drive through a vmdk file created using the following commands:
cd C:\Program Files\Oracle\VirtualBox
VBoxManage internalcommands createrawvmdk -filename c:\disk.vmdk -rawdisk \\.\PhysicalDrive1
What do you think is the problem?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
#
#, 2018-05-19
@SkayMark

xs... I didn't find an answer for 2 years... and it's definitely not the availability of free space
ps VMWare, by the way, also breaks off
pps and under Linux the same garbage (if you're under Linux, then under Windows it's the same garbage)
ppps only Hyper -V proudly works with physical disks, but also proudly refuses to forward usb devices
0. close all open programs or documents on any partition on the disk to pass-through
1. run DISKPART (command line utility)*
2. select hard drive carefully using SELECT DISK. disk numbering starts at zero. you can roughly verify your selection with LIST PARTITION if you know what your partitions should look like or LIST DISK to see disk sizes.
3. offline the disk using OFFLINE DISK. all volumes will disappear from windows explorer.
4. ATTRIBUTES DISK CLEAR READONLY
5. verify with ATTRIBUTES DISK
6. create VMDK file as shown in several howtos on the web
7. enjoy

D
Dmitry Shitskov, 2018-05-20
@Zarom

Is the disk connected?
https://forums.virtualbox.org/viewtopic.php?f=6&t=...

C
Config24, 2020-06-27
@Config24

Solved a problem.
First you need to disable the disk in "disk management" and caching entries in the properties of the disk.
Then run the "Microsoft DiskPart" utility.
1) Call the command line from the administrator.
2) type Diskpart
3) type list disk
4) select the desired disk with the command select disk #
where # is the number of the desired disk from the list.
5) Clear disk attributes with the ATTRIBUTES DISK CLEAR READONLY
command You can check the disk attributes with the detail disk
command . The error has been fixed.

E
Ezhyg, 2018-05-19
@Ezhyg

So is it Linux or Windows?
Did you change the access mode?
Virtual Media Manager - Image Properties - Writethrough

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question