I/O Error on copy / rsync files over Guest USB to external HDD

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MountainLake
Posts: 3
Joined: 10. Apr 2017, 11:59

I/O Error on copy / rsync files over Guest USB to external HDD

Post by MountainLake »

Hi,

w're expecting a hard-to-solve problem with our Backup-Scenario because often when it's running, we get an I/O error.

Detail:
W're running different Ubuntu Guests (12.04 -> 16.04) on different Ubuntu Hostsystems (12.04 -> 16.04). For the weekly backup we plug in an ext. harddrive nfts/ext3/4 via USB 2/3 on a USB2/3 port and configure the filter for the hdd to be availible in the guest. On with this disk we can mount, unmount, write and delete data. A cronjob is starting the rsnapshot/rsync script. This works a short period of time, could just be the first run and then:
While the Backup is running, there are I/O Errors in the log. In this case for example a Failure on a NFTS-HDD (also getting such errors with a ext4-hdd)

Code: Select all

Apr 6 15:39:18 VirtualBoxGuest ntfs-3g[3421]: ntfs_attr_pread_i: ntfs_pread failed: Eingabe-/Ausgabefehler
Apr 6 15:39:18 VirtualBoxGuest ntfs-3g[3421]: Failed to read of MFT, mft=2137 count=1 br=-1: Eingabe-/Ausgabefehler
Apr 6 15:39:18 VirtualBoxGuest kernel: [ 2858.091034] sd 2:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 6 15:39:18 VirtualBoxGuest kernel: [ 2858.091042] sd 2:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 18 d0 00 00 08 00
Apr 6 15:39:18 VirtualBoxGuest kernel: [ 2858.091046] blk_update_request: I/O error, dev sdb, sector 6352
Apr 6 15:39:18 VirtualBoxGuest kernel: [ 2858.091052] Buffer I/O error on dev sdb1, logical block 538, async page read
As mentioned there are several systems, from a normal PC over a Workstation, a small server up to a "normal" Server with 8 Xeon-Cores and 32GB RAM. All of the hosts and the guests running Ubuntu 12.04 to 16.04 with vbox-version >5 and installed guest additions. The same backup script is running to ISCSI-Targets without any problems.

We tried:
lots of different machines and vbox-versions
Using USB 2/3 ports with different USB 2/3 harddrives
Setting different USB 2/3 settings in configuration

Havn't found anything about this, maybe somebody can help? Thanks!
MountainLake
Posts: 3
Joined: 10. Apr 2017, 11:59

Re: I/O Error on copy / rsync files over Guest USB to external HDD

Post by MountainLake »

Has nobody just a hint for us?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: I/O Error on copy / rsync files over Guest USB to external HDD

Post by mpack »

Replace the broken drive? It looks like it's a read error, so it would be the source drive that needs attention.
MountainLake
Posts: 3
Joined: 10. Apr 2017, 11:59

Re: I/O Error on copy / rsync files over Guest USB to external HDD

Post by MountainLake »

Update: For any others having this problem: I don't know exactly what is is/was but on every host I installed a newer kernel-version it worked (and it didn't work only with the new virtualbox-version, only with kernel upgrades). We're using Ubuntu 14.04 and 16.04
Post Reply