Simulating drive failure

This is for discussing general topics about how to use VirtualBox.
Post Reply
nowhereman
Posts: 1
Joined: 31. Aug 2009, 11:56
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian GNU

Simulating drive failure

Post by nowhereman »

Hi, Is there a way to simulate drive failure using the means of virtualbox? I did not find anything in forum or docs, but it indeed would be useful to simulate at least hot plugging out or hardware failure.
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: Simulating drive failure

Post by mpack »

AFAIK there is nothing like that in the standard builds, but you could always create your own build of the OSE version and add that feature to it
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Simulating drive failure

Post by vbox4me2 »

Or stick 2 drives in your pc, mirror them, place vdi on that and pull the power kabel.
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: Simulating drive failure

Post by mpack »

vbox4me2 wrote:Or stick 2 drives in your pc, mirror them, place vdi on that and pull the power kabel.
That would be an actual drive failure, not a simulated one. It would mainly affect software running on the host (eg. Vbox itself). It's unpredictable how it would be seen inside the guest.
Post Reply