Black Hole
May contain traces of nut
YesDo I though need the NTFS-3g package to do that though?
YesDo I though need the NTFS-3g package to do that though?
Decline seems to be accelerating. Not good at all.I've had some more offline uncorrectables develop and am now at 232.
I would take out the suspect drive out and put one of these 1TB drives in instead, until you get the new drive. You don't want to be writing to the faulty one at all now. The time-shift buffer is constantly writing, even if you're not recording anything.What I'd like to do is immediately install a new drive and put the old drive in my caddy to copy across to the new, but that has to wait until the new drive arrives. For now I'd like to back the recordings on the drive as I've got several 1TB externals going spare here.
I don't quite understand what you mean by that. I would suggest NOT running fix-disk now.Would you suggest running Fix-disk as well as writing off the drive?
Yes, I would be too.I'm geting quite nervous to do anything with it to be honest.
The data is already gone by that point, so it wouldn't have helped.Should I have rerun fix-disk to try and recover these?
...
Firstly on the original HDD, now externally mounted, there are some vid files in "lost and found" directory. Can someone explain why? Some of these look like files I deleted but some look like they may be files that I lost during the disk corruption. Is that possible?
...
lost+found
is where the file system repair puts orphaned files and directories (eg, whose parent directory was partially corrupt or unreadable). So, yes, you might well be able to recover lost files from there (hence the name!).The actual fix-disk script is tied to the disk in a HDR, like this:...
Second is there a way to run fix-disk on the old drive externally? I'd like to do it just to see what might recover, especially as I hit delete loop this week and I believe it's possible the files not apparently recorded while in this state may exist but not visibly. I could drop the old drive back in again and run fix-disk but I'd rather not fiddle with that fan cable again!
...
hdparm
for
loop some 190 lines from the end...
# If a disk appears to be on a "PCI bus" then assume that is the
# internal disk to be checked.
for dir in /sys/block/sd? ; do
...
done
dev=sdx
, where sdx is the disk device corresponding to your old disk connected via USB.fsck
again.The actual fix-disk script is tied to the disk in a HDR, like this:
You might have success by replacing the
- find the disk
- find the partitions, repairing if necessary/possible
- repeatedly: run a SMART test until a bad sector is found, then force the remapping of the bad sector with
hdparm
- check/repair the file system on each partition
for
loop some 190 lines from the end
withCode:... # If a disk appears to be on a "PCI bus" then assume that is the # internal disk to be checked. for dir in /sys/block/sd? ; do ... done
dev=sdx
, where sdx is the disk device corresponding to your old disk connected via USB.
Alternatively you could run the component tools on their own from the command line but a modern disk with even a small fraction of bad sectors will need an automated approach. Probably at this point you will get most value from just runningfsck
again.
The USB interface would slow everything down, even if you managed to patch the relevant files. Surely it's easier simply to connect the relevant disk in place of the internal HDD, even if you don't actually fit it physically?If I try and follow that approach would that be as guaranteed as dropping the old HDD back in the box?
Thanks BH. I think that answers it. I don't know that I can connect the old HDD without replacing it physically but I'll see if the cables can swap over and make it easier.The USB interface would slow everything down, even if you managed to patch the relevant files. Surely it's easier simply to connect the relevant disk in place of the internal HDD, even if you don't actually fit it physically?
Wish that was an option but I've just had an HDD die young, the last thing I need is a new HDD never shutting down and going the same way.How about just not worrying about it?
That ain't gonna help if you restore the files again (including the rogue one).if nothing clears it I'll re-format
I agree entirely but it would give me a baseline to restart from and show me how the disk performs with nothing on it.That ain't gonna help if you restore the files again (including the rogue one).
lsof -Fns | grep "\.ts" | sort -u
n/mnt/hd2/Tsr/0.ts
)Either install webshell and access via WebIF >> Diagnostics, or use a Telnet client on your PC.I'll try and work out how to use a command window later.