Been having a lot of power outages recently, wasn’t aware because I’m never home and my backup would take over. Was checking W10s event viewer yesterday, notice disk errors. Turns out my battery backup had died as well which I hadn’t noticed because the computer is set to boot on power return. Tried to run a Chkdsk in command prompt which found a number of errors and bad sectors, but the disk is too full to repair/delete the sectors. I do not have another drive big enough to copy the data over to, to then repair the disk and transfer back.
What should I do? Can I delete the trash folder and try to chkdsk again?
I’m using an external 8TB drive. Stats are as follows.
7.3TB drive
7TB allocated
6.98TB used
381MB free
24GB trash
I ultimately want to convert this filesystem away from NTFS and run it on one of my Pis, but I need to fix these errors first to make the transition as smooth as possible.
EDIT: Forgot to mention this is causing the drive to fall offline about every hour, so I need to do something quick. Had this node since the day V3 started, would hate to lose it.
When the hard disk is too full and you need a little more space temporarily. How about turning off the storagenode and moving a few hundred GB to another hard drive. You surely have another computer where there is some free space. Here you could plug in the hard drive and move data, then fix it and move it back?
You just have to make sure that you put the files exactly where they were before you turn the Storagenode back on.
That I can do, I have a 4TB drive about 50% free. So I can stop-service, drag some files off, run the repair, then put them back and start-service worry free? What about shrinking the volume for future issues? Is there a way to do that without being penalized?
Is there another error which isn’t shown? Nothing in those screen shots suggests there’s too little space to complete a chkdsk repair. However as the drive is an external USB the node does need to be stopped to complete it.
You can also untick the ‘Allow files on this drive to have contents indexed in addition to file properties’ to improve performance.
I did not take a SS of the “not enough space” error when it appeared in the command prompt. I had no intention of coming here with the issue because I thought I could solve it myself at the time, so I didn’t document much of what I was doing. I did stop the drive while doing the chk and it ran properly, just couldn’t repair.
Thank you for pointing out the indexing, I wasn’t sure if I should have that on or not for the node to work best.
Yes, you can stop the service and disable it to prevent autostart and to be not disqualified for losing temporary moved data if you would have a power cut again.
After this you can also lower your allocation a little to keep more free space on the HDD. You’d get the 24GB in trash back after 7 days at least and might slowly lower the used space over time until it drops to the new allocation limit. Don’t delete trash yourself. It may need to be restored and if so, you’ll lose your node for missing that data.
Welp… New hard drive won’t be here for another couple days and it just died. De-indexed the drive which took about 30 hours total, because I had to keep powered off the drive for a minute to rest, then plug back in and click Retry on the prompt. It lasted about 6 hours longer after that, but that 7TB node is now dead.
Learned how to actually use the toolbox though and spun up 2 more to get back into it. Not happy to start back at zero after 3 (4?) years, but at least I learned some things to make my small operation better, so thank you all again.
Очень жаль что так получилось. Но на будущее имейте в виду, что если у Вас появились плохие сектора - самое лучшее решение немедленно переносить данные на новый диск. Потому что никакое лечение не даст Вам решения проблемы. Возможно лишь на короткое время, через которое Вы потеряете еще больше информации. Ведь в плохом секторе на диске лежит какой-то файл, который с высокой вероятностью Вы уже не восстановите. А значит аудит по этому файлу, если он будет проверен, Вы не пройдете
Учитывая наличие плохих секторов Вы не сможете скопировать старый диск на новый путем копирования разделов. Что значительно уменьшило бы время off-line ноды. Из-за них этот процесс будет прерываться ошибкой. Остается только вариант копирования пофайлово. Но из за миллиона файлов на таком объёме - это займет несколько дней. Нужно помнить еще что примерно после 12 дней off-line - будет дисквалификация. Поэтому при подобного рода проблемах нужно действовать очень оперативно и не терять ценное время