Posted: 11/23/2015 11:20:49 PM EDT
|
Anyone done this before?
My NAS based on Debian has two SMART errors I keep getting notified about and I want to fix them once and for all. I know linux doesn't have any simple tools like defrag and HDD scan like Windows does in its GUI. Is there a recommended resource or easy way to do this VIA SSH on this Debian-based NAS? Current Errors: Device: /dev/disk/by-id/scsi-SATA [SAT], 5 Currently unreadable (pending) sectors Device: /dev/disk/by-id/scsi-SATA [SAT], 5 Offline uncorrectable sectors ...which are 'OfflineUncorectableSector' and 'CurrentPendingSector'. |
|
Quoted:
You don't fix SMART errors, you replace the drive. Those errors are telling you that the surface of your platter(s) is developing spots where it can no longer reliably read/write. This is correct ETA - You can unmount the disk and do an fsck -c <dev> which will run a bad block scan which may mark the blocks bad and not use them. This will take a while. But it won't fix the underlaying problem. |
|
Quoted: My NAS based on Debian has two SMART errors I keep getting notified about and I want to fix them once and for all. I know linux doesn't have any simple tools like defrag and HDD scan like Windows does in its GUI. It does, but your errors are most likely hardware related, not just filesystem errors. |
|
Quoted: This is correct ETA - You can unmount the disk and do an fsck -c <dev> which will run a bad block scan which may mark the blocks bad and not use them. This will take a while. But it won't fix the underlaying problem. Quoted: Quoted: You don't fix SMART errors, you replace the drive. Those errors are telling you that the surface of your platter(s) is developing spots where it can no longer reliably read/write. This is correct ETA - You can unmount the disk and do an fsck -c <dev> which will run a bad block scan which may mark the blocks bad and not use them. This will take a while. But it won't fix the underlaying problem. FPNI SPNI I view SMART errors as a polite reminder to get off my ass and make sure my recovery plan is up to date. It also serves as an opportunity to spend too much on a set of shiny new drives. |
|
Quoted: It does, but your errors are most likely hardware related, not just filesystem errors. Quoted: Quoted: My NAS based on Debian has two SMART errors I keep getting notified about and I want to fix them once and for all. I know linux doesn't have any simple tools like defrag and HDD scan like Windows does in its GUI. It does, but your errors are most likely hardware related, not just filesystem errors. You are quite right. SMART doesn't know a filesystem from a koala. All it cares about are raw bits. |
|
Quoted: You are quite right. SMART doesn't know a filesystem from a koala. All it cares about are raw bits. Quoted: Quoted: Quoted: My NAS based on Debian has two SMART errors I keep getting notified about and I want to fix them once and for all. I know linux doesn't have any simple tools like defrag and HDD scan like Windows does in its GUI. It does, but your errors are most likely hardware related, not just filesystem errors. You are quite right. SMART doesn't know a filesystem from a koala. All it cares about are raw bits. Yep. To elaborate a little bit, there are tools like Windows' chkdisk and scandisk for linux (like fsck and badblocks). Fsck will repair file system errors and badblocks can identify bad sectors and mark them as such so they aren't used. SMART only sees mechanical problems, it doesn't check filesystems. When it tells you there are bad sectors, it means there are physical problems with the disk. You can remap those sectors, but you really can't trust that disk much anymore. |
|
Quoted:
I can do it. Quoted:
Quoted:
Two shiny new expensive WD RED NAS drives en route. Now who wants to help me move my OMV/Debian install from two USB keys to just one? My boot is on one and OMV install is on the other I can do it. i would like to watch from the observation gallery. |
|
Quoted:
I would need you to boot up a live cd (ubuntu would be fine). enable ssh (setting up the accounts so i can login) and make sure i can get into it externally. and plug all the drives in that we need to work with and i can make it happen External tutorial preferred - I would like to learn As for this thread; the two new 1TB WD RED drives arrived and were installed last night. Set them as Ext4 and did a drive-to-drive RSYNC as backup running every 12 hours like the old ones. Working fine as of now! No SMART Errors! |
|
OMV looks pretty cool.
Why is it that all storage GUI's seem messy? I look at racks full of NetApp, HP, EqualLogic, EMC, etc. SANs and most of the time I'm thinking "tell me SSH is enabled and I can get CLI reference or man page help". I guess I never got out of the 80's.
|