gonzoflick
Posts: 8
Joined: Tue Mar 13, 2018 12:56 pm

Stretch upgrade locks up HDD

Tue Mar 13, 2018 1:17 pm

So I have 3x 8TB external HDDs attached to my PI. For months they have all been working fine. They are all formatted EXT4. Now after upgrading to stretch, one of the drives will lock up after a few hours. I have replaced this drive and the replacement does the same thing. I get the following error when trying to browse any folders on the drive.

ls: reading directory '.': Input/output error

Also I get the following errors in my DMESG. Can anything tell me why the PI is locking out this drive? My only remedy is the power off the HDD, reboot the pi, power on the HDD and re-mount. This is a PITA and I want to fix the problem.

[39661.364943] Aborting journal on device sdc-8.
[39661.364971] Buffer I/O error on dev sdc, logical block 976781312, lost sync page write
[39661.364980] JBD2: Error -5 detected when updating journal superblock for sdc-8.
[39662.356813] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39662.357763] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39662.640078] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39662.641068] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39663.363926] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39663.365179] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39664.137135] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39664.138245] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm bash: error -5 reading directory block
[39676.247776] EXT4-fs warning (device sdc): htree_dirblock_to_tree:962: inode #2: lblock 0: comm ls: error -5 reading directory block

User avatar
DougieLawson
Posts: 32669
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Stretch upgrade locks up HDD

Tue Mar 13, 2018 5:20 pm

Try running smartmontools, you may find that your hard disk is due to go very badly wrong in the very near future and fail irretrievably.

https://www.thomas-krenn.com/en/wiki/SM ... h_smartctl

https://www.smartmontools.org
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

gonzoflick
Posts: 8
Joined: Tue Mar 13, 2018 12:56 pm

Re: Stretch upgrade locks up HDD

Wed Mar 14, 2018 2:32 pm

THis is a brand new HDD. Its doing the same thing the old one was. I think its a Raspbian problem

User avatar
RaTTuS
Posts: 9895
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Stretch upgrade locks up HDD

Wed Mar 14, 2018 2:42 pm

how is it all powered ? have you got a power problem
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

gonzoflick
Posts: 8
Joined: Tue Mar 13, 2018 12:56 pm

Re: Stretch upgrade locks up HDD

Wed Mar 14, 2018 4:32 pm

PI is powered via microusb. ALL external hdd have their own power supply. I'm reading this is a major issues with PI and external usb hdd

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 16 guests