new install fvdv trouble

Re: new install fvdv trouble

Postby Jocko » Sun Jan 31, 2021 9:13 pm

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Mon Feb 01, 2021 7:25 am

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


ls -l /rw_fs/tmp/upgrade/img/usr/share/nzbget/webui/config.
js
-rw-r--r-- 1 root root 69782 2014-04-13 12:13 /rw_fs/tmp/upgrade/img/usr/share/nzbget/webui/config.js

its possible recover the bad block ?
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Mon Feb 01, 2021 9:35 am

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)
Code: Select all
cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
chmod 666 /direct-usb/fvdw/config-err.txt
and attach it here (you should have an access on your laptop from the share fvdw)

- 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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Mon Feb 01, 2021 11:29 am

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)
Code: Select all
cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
chmod 666 /direct-usb/fvdw/config-err.txt
and attach it here (you should have an access on your laptop from the share fvdw)

- 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


Code: Select all
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.
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Mon Feb 01, 2021 11:58 am

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...
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Mon Feb 01, 2021 12:27 pm

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...


ok

i must disable bbcode ?
how can i read the config-err.txt ???
sorry but my linux level is very low
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Mon Feb 01, 2021 1:05 pm

Here some information about bbcode: faq.php?mode=bbcode

So click on the button "Code" in the list "B" "i" "u" ... and paste the contain between the BBcode tag: [code ][/code ]

araldo60 wrote:how can i read the config-err.txt ???
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.

Otherwise you can copy its content with
Code: Select all
cat /direct-usb/fvdw/config-err.txt
But if it is corrupted you may have a strange behaviour of your terminal session and then not be able to paste the content here.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Mon Feb 01, 2021 7:48 pm

[quote="Jocko"]Here some information about bbcode: faq.php?mode=bbcode

So click on the button "Code" in the list "B" "i" "u" ... and paste the contain between the BBcode tag: [code ][/code ]

[quote="araldo60"]how can i read the config-err.txt ???[/quote]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.

Otherwise you can copy its content with [code]cat /direct-usb/fvdw/config-err.txt[/code]But if it is corrupted you may have a strange behaviour of your terminal session and then not be able to paste the content here.[/quote]

if i understand i must submit this two comand or is one command ?

cp /usr/share/nzbget/webui/config.js /direct-usb/fvdw/config-err.txt
chmod 666 /direct-usb/fvdw/config-err.txt

but something goes wrong and i dont obtain nothing from terminal


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
>
>
>
>
>

or i must restart terminal ???

Thanks a lot
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Mon Feb 01, 2021 7:55 pm

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
>
>
>
>
>
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

And the right order is
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
(you can submit one by one or at the same time: the breakline at each end line will perform a submit)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Mon Feb 01, 2021 9:00 pm

Jocko wrote:
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
>
>
>
>
>
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

And the right order is
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
(you can submit one by one or at the same time: the breakline at each end line will perform a submit)



i had the file but is to big to send how can i save to attach ??
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

PreviousNext

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 5 guests

cron