I have found a significant difference in performance depending how the VM is configured in VirtualBox (IDE vs SATA). This is the process I follow to scan hard disks connected via USB adaptors on a Virtual Machine:
Create the VM
- Type: Other, Version: DOS
- System: Disable Floppy; Memory: 128MB
- Storage
- Remove the IDE Storage Controller
- Add a SATA Controller, enable Host I/O Cache
- Add an Optical Drive and choose the Spinrite.iso
- Insert the USB drive
- As root type dmesg on the command line and identify the device, for example /dev/sdb
- chmod o+rw /dev/sdb
- As the user running VirtualBox run:
VBoxManage internalcommands createrawvmdk -filename VirtualBox/sdb.vmdk -rawdisk /dev/sdb - Add a Hard Disk to the SATA Controller > existing disk: sdb.vmdk
- Sound: Disabled.
- Network: Disable the Network adapter.
Using the default IDE storage controller slows down the scan by a factor of 10 (approx)
The lack of support for GPT partition tables of the current version of Spinrite (6.0) is a major drawback. I still use it for checking hard disks and data recovery with my old drives, or with new ones, as long as I initiate them with a MBR partition table.
No comments:
Post a Comment