- Code: Select all
kill -9 1817
After try to do
- Code: Select all
expr 141 + 0
- Code: Select all
sh -x /etc/leds_bootup
kill -9 1817
expr 141 + 0
sh -x /etc/leds_bootup
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
expr 141 + 0
expr 141 + 0
You do not yet confirm this :tapfootJocko wrote:So bitmap line is no longer present and main disk setup should now display rightly the raid status.
ls -l /usr/bin/expr
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
mdadm --grow --bitmap=internal /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]
bitmap: 0/15 pages [0KB], 65536KB chunk
unused devices: <none>
expr 141 + 0
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
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:yesterday i've executed comand
- Code: Select all
mdadm --grow --bitmap=internal /dev/md0
then now i have
...
So no good you should have the output '141' :scratch if you doBasajaun wrote:When executei've not output, and system is executing expr command.
- Code: Select all
expr 141 + 0
expr --help
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:/ #
mdadm --grow --bitmap=internal /dev/md0
mdadm --grow --bitmap=none /dev/md0
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>
root@Ortzi:/ # expr 141 + 0
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
Return to Lacie 5Big Network vs1
Users browsing this forum: No registered users and 5 guests