- Code: Select all
ls -l /rw_fs/tmp/upgrade/img/usr/share/nzbget/webui/config.js
Note: maybe you have a bad block on sda1 partition
ls -l /rw_fs/tmp/upgrade/img/usr/share/nzbget/webui/config.js
Jocko wrote:So only one file has an issue
- Code: Select all
ls -l /rw_fs/tmp/upgrade/img/usr/share/nzbget/webui/config.js
Note: maybe you have a bad block on sda1 partition
cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
chmod 666 /direct-usb/fvdw/config-err.txt
smartctl -a /dev/sda
Jocko wrote:Hi
So the file has the right attribute and then that means its content must be corrupted. Indeed this may occur when there is a bad sector on the disk.
- First, create a copy in fvdw share (I assume you already created it)and attach it here (you should have an access on your laptop from the share fvdw)
- Code: Select all
cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
chmod 666 /direct-usb/fvdw/config-err.txt
- yes bad sectors can be repaired (if there are not too many), please to post this output to get the disk health state
- Code: Select all
smartctl -a /dev/sda
root@fvdwsl-base:/ # cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/confi
g-err.txt
root@fvdwsl-base:/ # chmod 666 /direct-usb/fvdw/config-err.txt
root@fvdwsl-base:/ # smartctl -a /dev/sda
smartctl 6.3 2014-07-26 r3976 [armv5tel-linux-4.14.133] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, http://www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Red
Device Model: WDC WD20EFRX-68EUZN0
Serial Number: WD-WCC4M3311835
LU WWN Device Id: 5 0014ee 2b4edbb60
Firmware Version: 80.00A80
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Mon Feb 1 12:27:13 2021 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (27060) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 273) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x703d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
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 100 253 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 179 170 021 Pre-fail Always - 4041
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 79
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 39
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 44
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 39
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 45
194 Temperature_Celsius 0x0022 116 110 000 Old_age Always - 31
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
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Jocko wrote:Thank you.
So health disk state seems to be ok.
But you did not attach the file config-err.txt :scratch
Note: please to use the BBcode 'code' when you paste your output. As you can see it is much more readable...
With my previous commands should be able to open the file directly from your laptop. In efinder should see the share "fvdw" and also the file. Then you only have have to attach it when you post a new message.araldo60 wrote:how can i read the config-err.txt ???
cat /direct-usb/fvdw/config-err.txt
root@fvdwsl-base:/ # `cat /direct-usb/fvdw/config-err.txt
>
> cat /direct-usb/fvdw/config-err.txt
> cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
> chmod 666 /direct-usb/fvdw/config-err.txt
>
>
>
>
>
cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
chmod 666 /direct-usb/fvdw/config-err.txt
cat /direct-usb/fvdw/config-err.txt
Jocko wrote:You have this behaviour because you enter a " ` " just before the first cat command. So enter another one or close the terminal and reopen a new one
- Code: Select all
root@fvdwsl-base:/ # `cat /direct-usb/fvdw/config-err.txt
>
> cat /direct-usb/fvdw/config-err.txt
> cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
> chmod 666 /direct-usb/fvdw/config-err.txt
>
>
>
>
>
And the right order is(you can submit one by one or at the same time: the breakline at each end line will perform a submit)
- Code: Select all
cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
chmod 666 /direct-usb/fvdw/config-err.txt
cat /direct-usb/fvdw/config-err.txt
Return to Lacie 2Big Network vs2
Users browsing this forum: No registered users and 5 guests