Click here to Skip to main content
15,891,431 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
charlieg17-Dec-18 11:18
charlieg17-Dec-18 11:18 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
matblue2518-Dec-18 3:29
professionalmatblue2518-Dec-18 3:29 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Nathan Minier17-Dec-18 2:33
professionalNathan Minier17-Dec-18 2:33 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
#realJSOP17-Dec-18 9:23
mve#realJSOP17-Dec-18 9:23 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Nathan Minier18-Dec-18 2:28
professionalNathan Minier18-Dec-18 2:28 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
matblue2517-Dec-18 10:35
professionalmatblue2517-Dec-18 10:35 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
charlieg17-Dec-18 11:21
charlieg17-Dec-18 11:21 
General*Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 6:06
dandy7216-Dec-18 6:06 
My backup strategy is pretty simple: Invoking Robocopy from a small PowerShell script that works out the logic of identifying the backup drive, as its letter might not always be the exact same depending on what else I might happen to have hooked up. I like Robocopy because it's as simple as a recursive "copy star-dot-star", and it automatically skips anything that hasn't changed. Also, having a straight copy of the file system means I have direct access to any file, without relying on some BLOB that can only be accessed by some proprietary backup software that has to be installed on whatever system I hook up the backup drive to.

In any case…I have 2 backup drives (normally, one offline, sitting next to the computer, and the other at the office for monthly rotation). Both are in external USB enclosures. Both have started exhibiting the same problem where the machine would stop reading (writing?) at the same point on the same file (some large-ish file, but otherwise totally random in the sense that there’s nothing that sets it apart from plenty of others). CPU activity settles down to nothing, same with disk reads/writes, then I can’t kill Robocopy with Ctrl-C or kill the PowerShell session with Task Manager. Logging out/rebooting can’t “cleanly” terminate the process either, as it just sits there forever (I've let it run overnight) and I have to hard-reset the system. Or, yank out the USB cable--then the system comes back to life immediately. Not good—I fully expect this sort of thing to eventually result in corrupt files/file systems if I have to keep doing this.

After rebooting (or re-inserting the USB cable), if I restart the same copy operation, it may manage to proceed further, or get stuck at the same point on the same file again. With enough retries, I suppose I could complete the full backup eventually, but obviously that’s not the way to go.

Copying the offending file with Explorer to the backup drive again results in the same thing – it eventually just stops (doesn’t complain about any read/write error, just no further progress is made).

Everything at this point is suggesting a bad source file. But if I move the file elsewhere or delete it altogether, then the same thing happens again with the next large-ish file it might encounter. Or it might not.

I ran chkdsk /f on the source and both target drives. No problem whatsoever. I don't know how thorough chkdsk is, but it claims everything is squeaky clean.

The crazy solution? Hook up the backup drive to another system, and run the backup through a share across the LAN, instead of directly from local (internal) drive to local (USB) drive. Then all files can be read and the full backup completes without even a hint of any sort of slowdown at any point.

Since I'm copying across the LAN with the same USB cable, the only thing I have left to blame is the source computer's USB port. There's only one at the front, and the ones at the back are unfortunately rather difficult to reach (it's a lousy physical setup), but I'll have to try that just to confirm.

In the meantime...if I get the same thing through another port...what else is left I should I be looking for?

(and yes, the anti-virus remains completely quiet)
GeneralRe: *Something* is dying...just not sure what (long) Pin
RickZeeland16-Dec-18 7:24
mveRickZeeland16-Dec-18 7:24 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 8:44
dandy7216-Dec-18 8:44 
GeneralRe: *Something* is dying...just not sure what (long) Pin
RickZeeland16-Dec-18 9:01
mveRickZeeland16-Dec-18 9:01 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 10:46
dandy7216-Dec-18 10:46 
GeneralRe: *Something* is dying...just not sure what (long) Pin
theoldfool16-Dec-18 8:29
professionaltheoldfool16-Dec-18 8:29 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 8:41
dandy7216-Dec-18 8:41 
GeneralRe: *Something* is dying...just not sure what (long) Pin
OriginalGriff16-Dec-18 8:33
mveOriginalGriff16-Dec-18 8:33 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 8:48
dandy7216-Dec-18 8:48 
GeneralRe: *Something* is dying...just not sure what (long) Pin
matblue2516-Dec-18 8:49
professionalmatblue2516-Dec-18 8:49 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 8:53
dandy7216-Dec-18 8:53 
GeneralRe: *Something* is dying...just not sure what (long) Pin
matblue2516-Dec-18 8:58
professionalmatblue2516-Dec-18 8:58 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 10:50
dandy7216-Dec-18 10:50 
GeneralRe: *Something* is dying...just not sure what (long) Pin
matblue2516-Dec-18 12:11
professionalmatblue2516-Dec-18 12:11 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 16:22
dandy7216-Dec-18 16:22 
GeneralRe: *Something* is dying...just not sure what (long) Pin
matblue2517-Dec-18 10:41
professionalmatblue2517-Dec-18 10:41 
GeneralRe: *Something* is dying...just not sure what (long) Pin
Jörgen Andersson16-Dec-18 19:33
professionalJörgen Andersson16-Dec-18 19:33 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7217-Dec-18 2:53
dandy7217-Dec-18 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.