Tuesday, January 20, 2009

Getting Lacie Desktop 1TB USB drive working in Linux

I bought today Lacie Desktop 1TB USB drive (link to product information page), price was 99.90 euros. Reason for buying this was to get more backup disk to my home server, which originally had Lacie's 500GB USB disk as backup drive. That drive has been full for some time already, so it was finally time to get new drive.

Lacie's product information page does not guarantee compatibility with Linux, only with Windows and Mac. Shame. I asked Lacie's Scandinavian representative, whether he knows, if this drive works in Linux. He told that there should not be any obstacles, but he can't give any guarantee. OK, so it was on my own risk.

So, I got home and plugged the USB cable between my Ubuntu server and this Lacie disk. Then I plugged the power cable to Lacie disk. Ubuntu server started detecting the disk, but got funny error messages (following is extract from /var/log/messages):

Jan 20 16:32:28 server kernel: [101066.496874] usb 5-2: new high speed USB device using ehci_hcd and address 4
Jan 20 16:32:28 server kernel: [101066.647843] usb 5-2: configuration #1 chosen from 1 choice
Jan 20 16:32:28 server kernel: [101066.649159] scsi5 : SCSI emulation for USB Mass Storage devices
Jan 20 16:32:39 server kernel: [101077.266370] usb 5-2: reset high speed USB device using ehci_hcd and address 4
Jan 20 16:32:49 server kernel: [101087.476206] usb 5-2: USB disconnect, address 4
Jan 20 16:32:49 server kernel: [101087.476580] scsi 5:0:0:0: Device offlined - not ready after error recovery
Jan 20 16:32:49 server kernel: [101087.595882] usb 5-2: new high speed USB device using ehci_hcd and address 5
Jan 20 16:32:49 server kernel: [101087.746844] usb 5-2: configuration #1 chosen from 1 choice
Jan 20 16:32:49 server kernel: [101087.753986] scsi6 : SCSI emulation for USB Mass Storage devices
Jan 20 16:33:00 server kernel: [101098.385376] usb 5-2: reset high speed USB device using ehci_hcd and address 5
Jan 20 16:33:10 server kernel: [101108.654893] usb 5-2: reset high speed USB device using ehci_hcd and address 5
Jan 20 16:33:27 server kernel: [101124.944125] usb 5-2: reset high speed USB device using ehci_hcd and address 5
Jan 20 16:33:27 server kernel: [101125.224113] usb 5-2: reset high speed USB device using ehci_hcd and address 5
Jan 20 16:33:37 server kernel: [101135.493634] usb 5-2: reset high speed USB device using ehci_hcd and address 5
Jan 20 16:33:37 server kernel: [101135.644144] scsi 6:0:0:0: Device offlined - not ready after error recovery

I did not even check the GUI as I don't usually use the server from console.

Power off from USB drive. Test repeated, same results.

Next step was to connect the USB drive to my Windows XP computer. Windows detected the drive well. The drive contents (seen from Disk management) were again funny: first, lots of empty space, then 10MB partition, again lots of empty space. My next steps were:

1) Connect USB disk to Windows computer.

2) Execute "start.exe"

3) "Optimize" the disk to be used in Windows i.e. format the whole disk as one partition

4) Move Lacie's documentation etc away from disk. Copy them to safe location.

5) Detach USB disk from windows computer using the safe method. Hehe, of course Windows claimed that the device can't be stopped, so I just powered the USB disk down.

6) Again, connect USB disk to Linux computer. Now I finally went to console.

7) Ubuntu claimed that it can't mount the USB disk as Windows was not gracefully shut down. This doesn't matter at all as I am not using the disk in NTFS.

8) Open terminal and re-partition the disk

9) Format the disk

10) And then, just mount the disk.

So now it seems to work just fine in my computer. Let's see, how backups are done next night.

Update 21-Jan-2009 07:50 : Backups were done properly, so the new disk works fine. It seems that this Lacie was a good purchase.



Hello World.

This is the first post of my first blog. The reason for creating this blog was to have a space, where I can save miscellanous things, which could be useful for other people also. Don't expect to find any fancy  stories here, I'm not a story person.