Dying hard drive and non-functional SMART panel?

Dying hard drive and non-functional SMART panel?

Postby Cubytus » Thu May 19, 2016 1:36 am

Hello there,

I think the hard drive in my LaCie Cloudbox may be dying. By the way, I noticed the SMART panel seems to have disappeared from the current fvdw version.
Captura de pantalla 2016-05-18 a las 20.56.54.png

Is it a mistake?

I wondered why torrents would give an "input/output error" and why some Web interface page wouldn't display.

I tried to test it through smartctl from the command line, and indeed, a read error appeared, but interestingly enough, SMART parameters haven't failed yet. Does it mean I can still use the drive, safely? If so, how?

Current SMART registers are:
Code: Select all
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   088   088   006    Pre-fail  Always       -       132424451
  3 Spin_Up_Time            0x0003   092   092   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   088   088   020    Old_age   Always       -       12838
  5 Reallocated_Sector_Ct   0x0033   099   099   036    Pre-fail  Always       -       1552
  7 Seek_Error_Rate         0x000f   088   060   030    Pre-fail  Always       -       747309047
  9 Power_On_Hours          0x0032   073   073   000    Old_age   Always       -       24385
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       187
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       865
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   099   099   000    Old_age   Always       -       1
190 Airflow_Temperature_Cel 0x0022   056   038   045    Old_age   Always   In_the_past 44 (Min/Max 31/44 #848)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       147
193 Load_Cycle_Count        0x0032   045   045   000    Old_age   Always       -       111093
194 Temperature_Celsius     0x0022   044   062   000    Old_age   Always       -       44 (0 18 0 0 0)
197 Current_Pending_Sector  0x0012   099   099   000    Old_age   Always       -       304
198 Offline_Uncorrectable   0x0010   099   099   000    Old_age   Offline      -       304
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       11570h+13m+30.079s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       4893603019961
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       145432215429837
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Dying hard drive and non-functional SMART panel?

Postby Jocko » Thu May 19, 2016 6:59 pm

Hi Cubytus,

With version 16.1, I disabled all USB menus with Cloudbox platform. It is why you should have only 2 sub menus: setup for internal disk and SMART menu

From screen capture, at least you have the right title but apparently you load the USB disk setup menu when you select the SMART menu. I had to make a mistake somewhere...

I go to deepen this
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Dying hard drive and non-functional SMART panel?

Postby Cubytus » Fri May 20, 2016 2:27 am

Is the USB setup menu platform dependant, or only activated for those platforms who do have USB?

On the other hand, I used this page to try to map out bad sectors on /dev/sda8, but obviously the last step can't be performed when /dev/sda8 is mounted. When should the job run to avoid mounting /dev/sda8?
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Dying hard drive and non-functional SMART panel?

Postby Jocko » Fri May 20, 2016 6:50 am

Cubytus wrote:Is the USB setup menu platform dependant, or only activated for those platforms who do have USB?
We must actived the USB disk menu only for platform with USB

Cubytus wrote:I wondered why torrents would give an "input/output error"
Where do you see this message, in dmesg output or on transmission GUI ?
on this last case, I am pretty sure it is not a disk issue but only a torrent settings issue : transmission failed to open a socket on a tracker set with your torrent file.
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Dying hard drive and non-functional SMART panel?

Postby Cubytus » Fri May 20, 2016 7:07 am

Jocko wrote:We must actived the USB disk menu only for platform with USB
So this shouldn't appear for the LaCie Cloudbox, as it has no USB port.

Where do you see this message, in dmesg output or on transmission GUI ?
on this last case, I am pretty sure it is not a disk issue but only a torrent settings issue : transmission failed to open a socket on a tracker set with your torrent file.
This was from the Transmission GUI, but I also noticed that the Synology couldn't delete files from fvdw (both are linked with NFS with read-write access), torrents would randomly pause, the "restart" tab in fvdw Web interface wouldn't load, the disk stopped spinning, and Transmission finally quit by itself. On scanning /dev/sda8, it found 129 bad sectors.

It's not that bad, but there should be a way to tell the OS not to use them anymore. How would I do that now I have the file showing where are the bad sectors?
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Dying hard drive and non-functional SMART panel?

Postby Jocko » Sat May 21, 2016 7:55 am

Hi Cubytus,

In the past, I had to disable some bad blocks on a disk and I used this command
Code: Select all
fsck.ext3 -vycc /dev/sda8


On a big disk (2TB) with a not powerful CPU, this command runs around 10 days to scan the disk, move data and stamp the bad blocks...

So you need to detach the command after starting it
Code: Select all
kill -20 PID
kill -18 PID
where PID is the pid value of the command. To find it do in another shell window,
Code: Select all
ps -ef


About disk menu issue, currently I find nothing wrong :scratch

Can you test it again with another browser.
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Dying hard drive and non-functional SMART panel?

Postby Cubytus » Sat May 21, 2016 3:44 pm

But doesn't fsck requires first unmounting the disk? I wanted to use
Code: Select all
sudo fsck -l bad-blocks-sda8.txt /dev/sda8

to exclude them

Code: Select all
fsck 1.42.11 (09-Jul-2014)
e2fsck 1.42.11 (09-Jul-2014)
/dev/sda8 is mounted.
e2fsck: Cannot continue, aborting.


Same error when trying to use your command. It needs to be unmounted first, but how would I do that on boot?
Does sda8 holds system files?

As for the menu, I get the same one in Safari
Captura de pantalla 2016-05-21 a las 11.40.46.png
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Dying hard drive and non-functional SMART panel?

Postby Jocko » Sat May 21, 2016 5:01 pm

Cubytus wrote:Same error when trying to use your command. It needs to be unmounted first, but how would I do that on boot?
Sorry,I forgot this.

Of course you need to unmount sda8. To be able to unmount it you need first to stop all servers :AFP, FTP, NFS, transmission,...,btsync,... and on the user side no samba access.

Then in a shell window do
Code: Select all
umount /dev/sda8


For SMART menu, we deepen later this issue. (I checked the cloudbox firmware image and all is Ok. So something wrong on your side)
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 24 guests