Comment 23 for bug 645211

Revision history for this message
Michael Lueck (mlueck) wrote :

@John, thank you for following up with that suggestion. Client reports a snappy backup!

I worked up a bit of automation for the processes, as follows:

# fixext_backup.sh

#!/bin/bash -x

cd /sys/bus/pci/drivers/ehci_hcd

USBDRIVE=`/usr/bin/find ./ -name "0000:00:*"`
echo $USBDRIVE

echo $USBDRIVE | /bin/sed "s/\.\///">unbind
echo $USBDRIVE | /bin/sed "s/\.\///">bind

/usr/sbin/lsusb
/bin/sleep 5
/usr/sbin/lsusb

The first lsusb indeed does not find the drive, the second one after waiting five seconds does, and the client may carry on with their backup procedure at that point.