Write error...disk full?

gemelli

Member
Hi
Vu+uno 4kse, Obh 5.6.008
At present I use a 2TB hdd lacie rugged mini, and sometimes I get the subject message, although recording often keeps going (disk is far from being full).
(Same message with Open ATV with different major brands hdds: in this case recordings are failing.)
I uninstalled most unused plugins, but the issue remains.
Comments/suggestions appreciated.
 
try installing smartmontools from feeds

or

opkg install smartmontools

then from command line:
smartctl -a /dev/sda

you should see something like this
[...]

Code:
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   191   179   021    Pre-fail  Always       -       7416
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       1112
  [B]5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0[/B]
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   001   001   000    Old_age   Always       -       97473
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       149
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       105
193 Load_Cycle_Count        0x0032   199   199   000    Old_age   Always       -       5496
194 Temperature_Celsius     0x0022   112   099   000    Old_age   Always       -       40
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0
[code]

[...]

if Reallocated_Sector_Ct   count is more then 0 maybe the drive is going to die
 
try installing smartmontools from feeds

or

opkg install smartmontools

then from command line:
smartctl -a /dev/sda

you should see something like this
[...]

Code:
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   191   179   021    Pre-fail  Always       -       7416
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       1112
  [B]5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0[/B]
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   001   001   000    Old_age   Always       -       97473
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       149
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       105
193 Load_Cycle_Count        0x0032   199   199   000    Old_age   Always       -       5496
194 Temperature_Celsius     0x0022   112   099   000    Old_age   Always       -       40
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0
[code]
 
[...]

if Reallocated_Sector_Ct   count is more then 0 maybe the drive is going to die
smartctl is not recognized by command prompt
 
Strange... I installed the package, listed the content and I have the tool.

Please double check if you digited.the command correctly

Code:
root@sf8008:~# opkg install smartmontools
Installing smartmontools (7.5) on root
Configuring smartmontools.
 Adding system startup for /etc/init.d/smartd.
root@sf8008:~# opkg files smartmontools
Package smartmontools (7.5-r0.1) is installed on root and has the following files:
/etc/default/smartmontools
/usr/sbin/smartctl
/usr/sbin/smartd
/etc/init.d
/etc/init.d/smartd
/usr/sbin
/etc/smartd.conf
/usr/share/smartmontools
/usr/share/smartmontools/drivedb.h
/usr/sbin/update-smart-drivedb
/usr
/etc
/etc/smartd_warning.d
/etc/default
/etc/smartd_warning.sh
/usr/share
root@sf8008:~# smartctl -a /dev/sda
smartctl 7.5 2025-04-30 r5714 [armv7l-linux-4.4.35] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sda failed: No such device
root@sf8008:~#
 
Strange... I installed the package, listed the content and I have the tool.

Please double check if you digited.the command correctly

Code:
root@sf8008:~# opkg install smartmontools
Installing smartmontools (7.5) on root
Configuring smartmontools.
 Adding system startup for /etc/init.d/smartd.
root@sf8008:~# opkg files smartmontools
Package smartmontools (7.5-r0.1) is installed on root and has the following files:
/etc/default/smartmontools
/usr/sbin/smartctl
/usr/sbin/smartd
/etc/init.d
/etc/init.d/smartd
/usr/sbin
/etc/smartd.conf
/usr/share/smartmontools
/usr/share/smartmontools/drivedb.h
/usr/sbin/update-smart-drivedb
/usr
/etc
/etc/smartd_warning.d
/etc/default
/etc/smartd_warning.sh
/usr/share
root@sf8008:~# smartctl -a /dev/sda
smartctl 7.5 2025-04-30 r5714 [armv7l-linux-4.4.35] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sda failed: No such device
root@sf8008:~#
The plugin is installed, but often write error occurs. I suspect the box is defective, as the issue holds with different images.
Thanks anyway
 
Prove it is a box issue. Test it.
Remove or disconnect the 2TB hdd. Use a temporary replacement dr4ive in usb port. If the problem continues across different images, then the box is highly suspect. If the problem stops then the 2TB hdd drive is suspect.
 
Prove it is a box issue. Test it.
Remove or disconnect the 2TB hdd. Use a temporary replacement dr4ive in usb port. If the problem continues across different images, then the box is highly suspect. If the problem stops then the 2TB hdd drive is suspect.
I have already tested different HDDs of different capacity: the issue remains, but is just occasional with less "bulk" images such Open ATV 7.5.1. I also noted that HDDs get unmounted when the issue occurs
 
Back
Top