10-02-2019, 12:13 AM #16
Seems things are getting worse - left is the DriveDX report two days ago, right is the one right now (after the drive was unplugged for a day so the temp only shows 25C
Do you think I should try to use it again?
I have all the files copied, so I can do a complete reformat
- 10-02-2019, 09:23 PM #17
Back to the original topic of discussion, virtually every software is going to come down to the basic OS call to do the copy and that call is going to throw an error when it comes across a bad block or unreadable chunk. There isn't really a way of getting past that error since you don't know where to go when an error is thrown. The error could be one of many things, the most simple one is inode corruption. A file isn't stored linearly on the file system, it is scattered around in bits and pieces and the inodes help keep track of those pieces. If the inode list is corrupted, you can't figure out where to go next and you are notified of failure.
I can't imagine any application getting around that.
However, you could like do this work with a script whereby you would catch that an error was thrown, skip that file and move onto the next file.--
10-02-2019, 09:35 PM #18
I realize it's not an application as such, just a single line in the terminal app, but it seems to do what you suggest is quite difficult to do.
I don't know enough about terminal commands to even decide if that command line posted will work....or not.
10-02-2019, 09:38 PM #19
- Member Since
- Jan 01, 2009
- Winchester, VA
- Your Mac's Specs
- MBP 15" Mid 2015, iPhone 11 Pro, an iMac, plus ATVs, AWatch, MacMini
- Rep Power
@krs, from the symptoms and the reports, the drive is failing. Drives don't heal, they just continue to degrade. If you can get it replaced under warranty, I would do that. Your Terminal script might work for you to make it slightly easier to copy what you can and looks to be relatively low risk, so I would give it a go, see if it does what you need and if so, you have recovered what you can. Then get it replaced under warranty. I would wipe it clean, obviously, before sending it in for replacement.Jake
10-02-2019, 10:17 PM #20
It is however still prone to failing on a single file.
A crude script would be something like the following:
#!/bin/bash # Save the source directory SRC=$1 # Save the destination directory DEST=$2 # Jump to the source directory pushd $SRC # Find a list of top level directories find $SRC -type d -d 1 > /tmp/topleveldirs for dir in `cat /tmp/topleveldirs`; do pushd $dir # Create the top level directory in the destination folder if it doesn't exist. if [ ! -e $DEST/$dir ]; then mkdir $DEST/$dir fi SDIRS=`find . -type d -d 1` if [ -z $SDIRS ]; then # This folder only has files for file in `ls`; do cp $file $DEST/$dir/$file if [ $? -ne 0 ]; then echo "Unable to copy $dir/$file, moving on...." fi done else find $SRC -type d -d 1 > /tmp/subdirs for sdir in `cat /tmp/topleveldirs`; do pushd $sdir if [ ! -e $DEST/$dir/$sdir ]; then mkdir $DEST/$dir/$sdir fi SDIRS=`find . -type d -d 1` if [ -z $SDIRS ]; then # This folder only has files for file in `ls`; do cp $file $DEST/$dir/$file if [ $? -ne 0 ]; then echo "Unable to copy $dir/$file, moving on...." fi done else # Time for a recursive function. :) fi done fi done
Can you give me a rough idea of folders and the files they hold so I can test it out?--
10-02-2019, 10:49 PM #21
Since I already copied what I needed, I have also wiped it clean.
Will call Staples (where I bought it) and Seagate to see what's involved in getting this replaced.
This is the first time I ever had an external fail on me - and that after only 5 months.
Previous external drive failures were always the bridge in the external, never the actual hard drive.
10-02-2019, 11:02 PM #22
I didn't expect you to put that much effort into this.
The 8 TB drive had seven partitions, from 500 MB to 2 TB
There were four partitions used, two of the 500 MB ones for backups of two different Macs, a 1.5 TB one for videos I had collected over the years - these were all either mp4's or avi and the last used partition was a mix of files and folders I offloaded from my Mini - items I would only need to look at rarely.
There were folders nested three, maybe four down, and a mix of pdf's, word documents, excel, ppt. images (jpeg & tiff mostly), video and audio files (mp4 & mp3).
Pretty much run-of-the-mill, nothing really unique. All of that was around 170 MB
10-03-2019, 09:01 AM #23
The arguments to the script will likely be the top of the source folder to dig through and the top of the destination folder where you want everything copied. I'll post back when I get that working.--
10-03-2019, 09:42 AM #24
- Member Since
- May 21, 2012
- Pawtucket, RI, US
- Your Mac's Specs
- L2014 Mac mini macOS 15, iPhone 8+ iOS 13, 12.9" iPad Pro 1 iPadOS 13, Pencil 1
- Rep Power
If you do get another 8TB drive, use folders instead of partitions, it will save you a lot of trouble.-- Bob --
Please backup. Everything has a life cycle, unexpected and warning free. Nothing will last as long as you want it to.
10-03-2019, 10:39 AM #25
I don't think it would have made any difference in this case - the drive just started to fail.
In any case, using folders wouldn't work since I'm using three of the 500 MB partitions as secondary backup for three of the Macs.
I don't think one can use SD or CCC to make a bootable clone to a folder.
These backups not showing up when I started the Mac with the option key held down were what even suggested there was a problem to start with.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Only Use Macs in forum iOS and AppsReplies: 2Last Post: 10-08-2017, 08:25 AM
By JoshJ in forum macOS - Operating SystemReplies: 11Last Post: 02-02-2015, 07:02 PM
By aLotus in forum iOS and AppsReplies: 1Last Post: 11-26-2012, 08:04 PM
By domkane in forum Apple NotebooksReplies: 1Last Post: 02-25-2009, 10:45 PM
By Alexis in forum macOS - Operating SystemReplies: 2Last Post: 01-05-2009, 07:31 AM
Tags for this Thread