Sunday, February 23, 2014

1TB USB Seagate external harddrive does not detect in ubuntu


Just plugged in a newly purchased USB external hard drive 1TB -  Stunned with my Ubuntu OS simply did not detect!

dmesg's

[  130.433880] scsi8 : uas
[  151.820010] scsi 8:0:0:0: uas_eh_abort_handler tag -1
[  151.820024] scsi 8:0:0:0: uas_eh_device_reset_handler tag -1
[  151.820030] scsi 8:0:0:0: uas_eh_target_reset_handler tag -1
[  151.820036] scsi 8:0:0:0: uas_eh_bus_reset_handler tag -1
[  151.824027] usb 1-1.1: URB BAD STATUS -71
[  151.892010] usb 1-1.1: reset high speed USB device number 6 using ehci_hcd
[  151.984903] scsi 8:0:0:0: Device offlined - not ready after error recovery
[  302.577810] usb 1-1.1: USB disconnect, device number 6
[  307.634478] usb 1-1.1: new high speed USB device number 7 using ehci_hcd



Steps to resolve the issue:

Disconnect the drive

$rmmod uas

Create a new file and like :

$cat  /etc/modprobe.d/blacklist-uas.conf
blacklist uas; 

Connect the drive it simply works! Voila...  ;)




rsync with delete option and different ssh port

How to rsync e.g PIPELINE dir from Source to Destination? #rsync -avzr   --delete-before  -e "ssh -p $portNumber"  /local...