Disks's leds are blinking in blue colour

Re: Disks's leds are blinking in blue colour

Postby Jocko » Tue Jul 24, 2018 3:50 pm

You had to kill also process 1817! so do
Code: Select all
kill -9 1817


After try to do
Code: Select all
expr 141 + 0
and later if it is ok
Code: Select all
sh -x /etc/leds_bootup
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Disks's leds are blinking in blue colour

Postby Basajaun » Wed Jul 25, 2018 5:31 am

Good morning Jocko,

Code: Select all
root@Ortzi:/ # expr 141 + 0 &
root@Ortzi:/ # sh -x /etc/leds_bootup
+ . /etc/leds_name_table
+ head -1 /etc/platform
+ NAS=5big1
+ [ -h /sys/class/leds/ns_lite_v2:blue:sata ]
+ BFILE=/rw_fs/etc/led-brightness
+ MaxLevel=255
+ frontblink=net5big:blink:front
+ frontred=net5big:red:front
+ frontblue=net5big:blue:front
+ sata0red=net5big:red:sata0
+ sata1red=net5big:red:sata1
+ sata2red=net5big:red:sata2
+ sata3red=net5big:red:sata3
+ sata4red=net5big:red:sata4
+ [ -f /rw_fs/etc/led-brightness ]
+ brightness_level=255
+ [ 5big1 = rspb2 ]
+ [ 5big1 = rspb1 ]
+ [ 5big1 = nwsp1 ]
+ [ 5big1 = phn ]
+ [ 5big1 = phn2 ]
+ [ -n net5big:red:front ]
+ /usr/bin/led -l frontred -w on
+ /usr/bin/led -l frontred -w off
+ /usr/bin/led -o trigger -w default-on
+ /usr/bin/led -w on
+ expr 141 + 0


Thanks in advance !

Best regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Disks's leds are blinking in blue colour

Postby Jocko » Wed Jul 25, 2018 7:04 am

The right command was
Code: Select all
expr 141 + 0
(so no '&')

it seems for an unknown reason, it failed. leds_bootup hangs at this step where the command begins to initialize the disk leds It is why the LED disks are still blinking.

You should have again one or two expr zombie process. So you need to abort them as the same way in the previous posts.

Then repeat
Code: Select all
expr 141 + 0
to see what is the output.
Jocko wrote:So bitmap line is no longer present and main disk setup should now display rightly the raid status.
You do not yet confirm this :tapfoot

About expr command do you try to install some packages ? or do you change some permission on fs folder ?
Please to post
Code: Select all
ls -l /usr/bin/expr
and also
Code: Select all
ldd /usr/bin/expr
ls -l /usr/lib/libgmp.so.10
ls -l /usr/lib/libgmp.so.10.0.3
ls -l /lib/libc.so.6
ls -l /lib/libc-2.17.so
ls -l /lib/ld-linux.so.3
ls -l /lib/ld-2.17.so
ls -l /usr/lib/locale/locale-archive
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Disks's leds are blinking in blue colour

Postby Basajaun » Wed Jul 25, 2018 8:37 am

Hi Jocko,

yesterday i've executed comand

Code: Select all
mdadm --grow --bitmap=internal /dev/md0


then now i have

Code: Select all
root@Ortzi:/ # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sda8[0] sde8[4] sdd8[3] sdc8[2] sdb8[1]
      7800905728 blocks super 1.0 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]
      bitmap: 0/15 pages [0KB], 65536KB chunk

unused devices: <none>


When execute

Code: Select all
expr 141 + 0


i've not output, and system is executing expr command.

For others commands

Code: Select all
root@Ortzi:/ # ls -l /usr/bin/expr
-rwxr-xr-x  1 root root 83476 2012-07-29 20:44 /usr/bin/expr

root@Ortzi:/ # ldd /usr/bin/expr
        libgmp.so.10 => /usr/lib/libgmp.so.10 (0xb6eef000)
        libc.so.6 => /lib/libc.so.6 (0xb6db3000)
        /lib/ld-linux.so.3 (0xb6f53000)
      
root@Ortzi:/ # ls -l /usr/lib/libgmp.so.10
lrwxrwxrwx  1 root root 16 2017-05-30 23:12 /usr/lib/libgmp.so.10 -> libgmp.so.10.0.3

root@Ortzi:/ # ls -l /usr/lib/libgmp.so.10.0.3
-rwxr-xr-x  1 root root 376752 2012-01-28 17:23 /usr/lib/libgmp.so.10.0.3

root@Ortzi:/ # ls -l /lib/libc.so.6
lrwxrwxrwx  1 root root 12 2017-05-30 23:12 /lib/libc.so.6 -> libc-2.17.so

root@Ortzi:/ # ls -l /lib/libc-2.17.so
-rwxr-xr-x  1 root root 1250504 2013-07-31 12:14 /lib/libc-2.17.so

root@Ortzi:/ # ls -l /lib/ld-linux.so.3
lrwxrwxrwx  1 root root 10 2017-05-30 23:12 /lib/ld-linux.so.3 -> ld-2.17.so

root@Ortzi:/ # ls -l /lib/ld-2.17.so
-rwxr-xr-x  1 root root 130292 2013-07-31 12:14 /lib/ld-2.17.so

root@Ortzi:/ # ls -l /usr/lib/locale/locale-archive
-rwxr-xr-x  1 root root 3620368 2013-07-25 12:21 /usr/lib/locale/locale-archive


Thanks in advance !

Best regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Disks's leds are blinking in blue colour

Postby Jocko » Wed Jul 25, 2018 8:55 am

Basajaun wrote:yesterday i've executed comand
Code: Select all
mdadm --grow --bitmap=internal /dev/md0

then now i have
...
It is not what I asked to check but to ensure the main disk setup menu displays rightly the raid status not like http://plugout.net/download/file.php?id=5322 but just have a "Clean" status instead of the line "active complete [xx], estimated time: "
Basajaun wrote:When execute
Code: Select all
expr 141 + 0
i've not output, and system is executing expr command.
So no good you should have the output '141' :scratch if you do
Code: Select all
expr --help
do you see the help ?
Currently, I do not understand why you have this behaviour. Maybe fs partition is corrupted.
@fvdw
What is your opinion ?
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Disks's leds are blinking in blue colour

Postby Jocko » Wed Jul 25, 2018 8:58 am

I edited my post
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Disks's leds are blinking in blue colour

Postby Basajaun » Wed Jul 25, 2018 9:10 am

Jocko,

Regards,
You do not have the required permissions to view the files attached to this post.
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Disks's leds are blinking in blue colour

Postby Basajaun » Wed Jul 25, 2018 9:12 am

Jocko,

Code: Select all
root@Ortzi:/ # expr --help
Usage: expr EXPRESSION
  or:  expr OPTION

      --help     display this help and exit
      --version  output version information and exit

Print the value of EXPRESSION to standard output.  A blank line below
separates increasing precedence groups.  EXPRESSION may be:

  ARG1 | ARG2       ARG1 if it is neither null nor 0, otherwise ARG2

  ARG1 & ARG2       ARG1 if neither argument is null or 0, otherwise 0

  ARG1 < ARG2       ARG1 is less than ARG2
  ARG1 <= ARG2      ARG1 is less than or equal to ARG2
  ARG1 = ARG2       ARG1 is equal to ARG2
  ARG1 != ARG2      ARG1 is unequal to ARG2
  ARG1 >= ARG2      ARG1 is greater than or equal to ARG2
  ARG1 > ARG2       ARG1 is greater than ARG2

  ARG1 + ARG2       arithmetic sum of ARG1 and ARG2
  ARG1 - ARG2       arithmetic difference of ARG1 and ARG2

  ARG1 * ARG2       arithmetic product of ARG1 and ARG2
  ARG1 / ARG2       arithmetic quotient of ARG1 divided by ARG2
  ARG1 % ARG2       arithmetic remainder of ARG1 divided by ARG2

  STRING : REGEXP   anchored pattern match of REGEXP in STRING

  match STRING REGEXP        same as STRING : REGEXP
  substr STRING POS LENGTH   substring of STRING, POS counted from 1
  index STRING CHARS         index in STRING where any CHARS is found, or 0
  length STRING              length of STRING
  + TOKEN                    interpret TOKEN as a string, even if it is a
                               keyword like `match' or an operator like `/'

  ( EXPRESSION )             value of EXPRESSION

Beware that many operators need to be escaped or quoted for shells.
Comparisons are arithmetic if both ARGs are numbers, else lexicographical.
Pattern matches return the string matched between \( and \) or null; if
\( and \) are not used, they return the number of characters matched or 0.

Exit status is 0 if EXPRESSION is neither null nor 0, 1 if EXPRESSION is null
or 0, 2 if EXPRESSION is syntactically invalid, and 3 if an error occurred.

Report expr bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'expr invocation'
root@Ortzi:/ #


Regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Disks's leds are blinking in blue colour

Postby Jocko » Wed Jul 25, 2018 9:44 am

:hairpull :hairpull :hairpull
Why do you do this command ?
Code: Select all
mdadm --grow --bitmap=internal /dev/md0
Never I asked it !!! It is absolutely useless! Ok ?
So do
Code: Select all
mdadm --grow --bitmap=none /dev/md0
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Disks's leds are blinking in blue colour

Postby Basajaun » Wed Jul 25, 2018 9:57 am

Jocko,

i'm sorry !!"

Code: Select all
root@Ortzi:/ # mdadm --grow --bitmap=none /dev/md0
root@Ortzi:/ # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sda8[0] sde8[4] sdd8[3] sdc8[2] sdb8[1]
      7800905728 blocks super 1.0 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]

unused devices: <none>


Code: Select all
root@Ortzi:/ # expr 141 + 0



Code: Select all
top - 11:56:07 up  3:54,  2 users,  load average: 0.84, 0.44, 0.72
Tasks:  90 total,   2 running,  88 sleeping,   0 stopped,   0 zombie
Cpu(s): 99.4%us,  0.6%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    125812k total,   121872k used,     3940k free,    15128k buffers
Swap:   514076k total,        0k used,   514076k free,    67440k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2603 root      20   0  4184  688  632 R 97.7  0.5   0:46.49 expr
 2582 root      20   0  2432 1128  916 R  1.0  0.9   0:08.84 top
 1751 root      20   0  113m 7012 4720 S  0.6  5.6   1:14.23 btsync
    1 root      20   0  3656  804  692 S  0.0  0.6   0:00.59 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:06.17 ksoftirqd/0
    5 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kworker/0:0H
    7 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 khelper
    8 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 netns
  133 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 writeback
  135 root      25   5     0    0    0 S  0.0  0.0   0:00.00 ksmd
  136 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 bioset
  138 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kblockd
  143 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 ata_sff
  154 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khubd
  252 root      20   0     0    0    0 S  0.0  0.0   0:00.47 kswapd0
  253 root      20   0     0    0    0 S  0.0  0.0   0:00.00 fsnotify_mark


Thanks for your help !!

Regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: boerie and 8 guests