I have an Ubuntu Host, with an Ubuntu Guest running, the Guest has a 4Tb Sata Hard Drive Mounted as a VMDK raw disk (secondary disk). The setup runs quite happily for 6+ hours, then the drive appears to crash and go read only. I initially thought it was a faulty hard disk, but I see the same fault with a second disk, and checking on the host service, no errors are recorded for disk io.
Rebooting the guest does not solve the problem, but restarting the VM does.
Anybody any ideas, what could be causing the problem?
Rawdisk VMDK I/O Errors
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Rawdisk VMDK I/O Errors
Though I can't necessarily help diagnose so far, you might clarify one thing:
Additionally, we'd need a guest vbox.log where this happens. Start the guest from cold boot, not save-state, run until the problem happens, then shut down inside the guest OS, then zip and post the log using the forum's Upload Attachment tab.
Is it always 6+ hours?, never 5 or 1 for instance?
Crashing and going read-only are two different things, which one is it?drum wrote:the drive appears to crash and go read only.
Additionally, we'd need a guest vbox.log where this happens. Start the guest from cold boot, not save-state, run until the problem happens, then shut down inside the guest OS, then zip and post the log using the forum's Upload Attachment tab.
Is it always 6+ hours?, never 5 or 1 for instance?
Re: Rawdisk VMDK I/O Errors
Okay the mount goes read only, which causes my software to crash, not the vm itself.
Never seen it do it in under 6 hrs, so the log files could be huge, currently been running 9hrs, without a hiccup. Typical.
Next run, I'll capture the logs.
Never seen it do it in under 6 hrs, so the log files could be huge, currently been running 9hrs, without a hiccup. Typical.
Next run, I'll capture the logs.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Rawdisk VMDK I/O Errors
Most of the log is written while starting up and when shutting down, so size wise it probably won't be so bad. Just make sure to zip the log before attaching it, as we deliberately enforce a quite modest attachment size limit. And make sure the VM is shut down before you grab the log.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Rawdisk VMDK I/O Errors
I remember that the Linux kernel mounts drives as read-only when it detects long delays and timeouts. It (the kernel) believes that there's no other explanation for the timeouts, except that the drive is going bad, and in order to prevent further corruption it "pulls" a read-only on the disk.
A proper VBox.log (ZIPPED) will contain the info...
A proper VBox.log (ZIPPED) will contain the info...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.