Off-Topic > Off-Topic - Tiny Core Lounge

Linux and usb drive stability

(1/4) > >>

remus:
Hi all,

I've had some bad luck with linux and external hard drives. A while back I was recovering a computer with a PING IS NOT GHOST partition image, and got some errors at the end of the job. I was using a PING boot cd and the partition image was stored on a 500GB ext USB Hard Drive.

The image to partition dump failed at 96% with an UNKNOWN ERROR.

So I rebooted and tried again, to discover that all data on the ext hard drive was now un accessible.

Turns out that the Partition Table was corrupted, so tried every trick I could find to repair the drives partitions and recovery data, but nothing worked.

After 3 days of googling and tech forums I gave up, formated the drive and it was ready to go again, I lost a huge amount of data.

Does tinycore linux have any apps that monitor for ext usb drive connection stability and gives a warning or does something to protect the data if any error is detected during a read/write ?

bmarkus:

--- Quote from: remus on November 30, 2011, 01:59:21 AM ---Does tinycore linux have any apps that monitor for ext usb drive connection stability and gives a warning or does something to protect the data if any error is detected during a read/write ?

--- End quote ---

Monitoring: Instead of monitoring fix root cause or drop external USB drive. Reporting a dead hard drive is nearly useless.

Protection: Use a realible system setup. And of cource a good journaling file system like ext4 may help.

Juanito:

--- Quote from: remus on November 30, 2011, 01:59:21 AM ---Does tinycore linux have any apps that monitor for ext usb drive connection stability and gives a warning or does something to protect the data if any error is detected during a read/write ?

--- End quote ---

You don't mention if you're using linux or windows file systems on the external drives?

I've been using linux file systems on many usb sticks for over 5 years - and been abusing some of them by installing in "scatter mode" for a limited period of time - and never lost any data.

If you periodically monitor dmesg or similar to check for messages relating to the usb drives/sticks and use fsck when recommended, I doubt you'll experience many problems.

bmarkus:
Well, he mentioned external USB drive and not USB stick. I have never head any problem with stick, I have few 4-5 years old used with journaling and still tehy are OK.

A hard disk may be different, specially if engine is stopped after a period. It requires high current when spinning up which may be an issue when powered from USB or other hardware related problems may occure. But no details on the setup.

curaga:
If the hw is getting flaky, you will get warnings in dmesg. Same when any errors are discovered on the file system, or when it is recommended to run a fsck just in case.

But this sounds like the usb disk screwed up itself after disconnecting itself. Nothing the computer could do there.

Navigation

[0] Message Index

[#] Next page

Go to full version