Не очищается /dev/root/. WB6

Здравствуйте, у меня WB 6. Проблема в том что заполнен DEV/ROOT

root@wirenboard-AZJHXC47:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 999320 982300 0 100% /
devtmpfs 244692 0 244692 0% /dev
tmpfs 253396 0 253396 0% /dev/shm
tmpfs 253396 520 252876 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 253396 0 253396 0% /sys/fs/cgroup
/dev/mmcblk0p6 4914580 905044 3740176 20% /mnt/data
tmpfs 50676 0 50676 0% /run/user/0

Последовал примеру из

Пробовал очищать от временных распакованных файлов mnt/data/root,
но места в dev/root не прибавилось

root@wirenboard-AZJHXC47:~# du -sh /*
5.6M /bin
9.9M /boot
4.0K /chroot_this.sh
0 /dev
3.5M /etc
4.0K /home
74M /lib
4.0K /media
865M /mnt
0 /node_modules
4.0K /opt
du: cannot access ‘/proc/21506/task/21506/fd/4’: No such file or directory
du: cannot access ‘/proc/21506/task/21506/fdinfo/4’: No such file or directory
du: cannot access ‘/proc/21506/fd/4’: No such file or directory
du: cannot access ‘/proc/21506/fdinfo/4’: No such file or directory
0 /proc
0 /root
520K /run
5.4M /sbin
4.0K /srv
0 /sys
4.6M /tmp
4.0K /umount_chroot.sh
818M /usr
36M /var


root@wirenboard-AZJHXC47:~# du -h -d 1 /usr/
33M /usr/include
4.0K /usr/games
108M /usr/bin
402M /usr/lib
208M /usr/share
6.3M /usr/sbin
4.0K /usr/src
63M /usr/local
818M /usr/


root@wirenboard-AZJHXC47:~# du -h -d 1 /usr/lib
28K /usr/lib/policykit-1
12K /usr/lib/pm-utils
4.0K /usr/lib/sasl2
20K /usr/lib/kernel
396K /usr/lib/u-boot
8.0K /usr/lib/sysusers.d
404K /usr/lib/mc
12K /usr/lib/resolvconf
28K /usr/lib/knxd
24K /usr/lib/ssl
4.0K /usr/lib/gold-ld
244K /usr/lib/gnupg1
300K /usr/lib/ldscripts
24K /usr/lib/wb-hwconf-manager
124M /usr/lib/arm-linux-gnueabihf
12K /usr/lib/wb-mqtt-homeui
52K /usr/lib/tmpfiles.d
4.0K /usr/lib/tar
17M /usr/lib/python3
8.0K /usr/lib/wb-knxd-config
60K /usr/lib/notification-daemon
8.0K /usr/lib/wb-mqtt-adc
56K /usr/lib/dconf
4.0K /usr/lib/gnupg2
156K /usr/lib/pppd
44K /usr/lib/mime
12K /usr/lib/avahi
4.0K /usr/lib/modules-load.d
280K /usr/lib/systemd
124K /usr/lib/tc
16K /usr/lib/glib-networking
36K /usr/lib/dpkg
372K /usr/lib/sudo
46M /usr/lib/gcc
744K /usr/lib/openssh
544K /usr/lib/apt
40K /usr/lib/tcc
24K /usr/lib/valgrind
27M /usr/lib/python2.7
4.7M /usr/lib/file
288K /usr/lib/gnupg
4.0K /usr/lib/X11
88K /usr/lib/at-spi2-core
8.0K /usr/lib/wb-mqtt-gpio
100K /usr/lib/wb-utils
4.5M /usr/lib/locale
68M /usr/lib/python3.5
936K /usr/lib/bluetooth
4.0K /usr/lib/binfmt.d
16K /usr/lib/blueman
4.0K /usr/lib/compat-ld
12K /usr/lib/wb-image-update
36K /usr/lib/dbus-1.0
12M /usr/lib/git-core
94M /usr/lib/node_modules
8.0K /usr/lib/python2.6
402M /usr/lib

root@wirenboard-AZJHXC47:~# du -h -d 1 /mnt/data/root
20K /mnt/data/root/.local
24K /mnt/data/root/.config
8.0K /mnt/data/root/venv
6.9M /mnt/data/root/.cache
5.8M /mnt/data/root/node_modules
188K /mnt/data/root/.npm
4.0K /mnt/data/root/.nano
21M /mnt/data/root/.node-red
34M /mnt/data/root

Вчера пытался скопировать через компьютер папку usr через sftp в /dev/mmcblk0p6.
На компьютере (UBUNTU22.04) она заняла 1.2Гб, хоть и du -h -d 1 /usr/ показывает что она весит 818Мб.
Ничего не могу понять. Помогите пожалуйста. Дайте совет на будущее по установке ПО чтоб избегать этой проблемы.
Заранее спасибо.

Добрый день.
Посмотрите на вывод mount
из которого видно что в /mnt/data смонтирован другой раздел, /dev/mmcblk0p6
А занято (чем-то) /usr

root@wirenboard-AZJHXC47:~# mount
/dev/mmcblk0p3 on / type ext4 (rw,noatime,errors=remount-ro)
devtmpfs on /dev type devtmpfs (rw,relatime,size=244692k,nr_inodes=61173,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/mmcblk0p6 on /mnt/data type ext4 (rw,relatime)
/dev/mmcblk0p6 on /var/log type ext4 (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=50676k,mode=700)

Подскажите решение проблемы пожалуйста

Не совсем понятно, что подсказать? У вас в /usr более 800 МБ. Они не появились сами, было что-то установлено. Посмотрите сколько места занимают установленные пакеты, потом или установите их в другой раздел или переместите.

Что должно быть смонтировано /mnt/data?
и как исправить эту проблему?

Смонтировано, сейчас - верно.

Исправить - что? Недостаток места? Удалить/переставить/перенести ПО в другой, свободный раздел.

root@wirenboard-AZJHXC47:~# du -h -d 1 /usr/lib
28K /usr/lib/policykit-1
12K /usr/lib/pm-utils
4.0K /usr/lib/sasl2
20K /usr/lib/kernel
396K /usr/lib/u-boot
8.0K /usr/lib/sysusers.d
404K /usr/lib/mc
12K /usr/lib/resolvconf
28K /usr/lib/knxd
24K /usr/lib/ssl
4.0K /usr/lib/gold-ld
244K /usr/lib/gnupg1
300K /usr/lib/ldscripts
24K /usr/lib/wb-hwconf-manager
124M /usr/lib/arm-linux-gnueabihf
12K /usr/lib/wb-mqtt-homeui
52K /usr/lib/tmpfiles.d
4.0K /usr/lib/tar
17M /usr/lib/python3
8.0K /usr/lib/wb-knxd-config
60K /usr/lib/notification-daemon
8.0K /usr/lib/wb-mqtt-adc
56K /usr/lib/dconf
4.0K /usr/lib/gnupg2
156K /usr/lib/pppd
44K /usr/lib/mime
12K /usr/lib/avahi
4.0K /usr/lib/modules-load.d
280K /usr/lib/systemd
124K /usr/lib/tc
16K /usr/lib/glib-networking
36K /usr/lib/dpkg
372K /usr/lib/sudo
46M /usr/lib/gcc
744K /usr/lib/openssh
544K /usr/lib/apt
40K /usr/lib/tcc
24K /usr/lib/valgrind
27M /usr/lib/python2.7
4.7M /usr/lib/file
288K /usr/lib/gnupg
4.0K /usr/lib/X11
88K /usr/lib/at-spi2-core
8.0K /usr/lib/wb-mqtt-gpio
100K /usr/lib/wb-utils
4.5M /usr/lib/locale
68M /usr/lib/python3.5
936K /usr/lib/bluetooth
4.0K /usr/lib/binfmt.d
16K /usr/lib/blueman
4.0K /usr/lib/compat-ld
12K /usr/lib/wb-image-update
36K /usr/lib/dbus-1.0
12M /usr/lib/git-core
94M /usr/lib/node_modules
8.0K /usr/lib/python2.6
402M /usr/lib

Именно нужна краткая инструкция по переносу ПО в другие разделы

и куда переносить лучше…

Вот тут например обсуждалось: Интеграция WirenBoard с HomeAssistant - #19 от пользователя BrainRoot
Но это не специфично, контроллер - самый обыкновенный компьютер в общем.

На 6 раздел, он большой и как раз для этого предназначен. Но и вообще, ставить лучше всего сразу в docker контейнеры, удобней и проще.

Перенёс /usr/shared в 6 раздел с символической ссылкой проверил её через sftp. Каталог usr/shared переименовал в shared1 Перезапустился. Теперь контроллер не запускается. Как запустить отладку и переименовать назад?

Причем пингуется, но ssh не работает…
Node-red на 1880 порту работает
Через USB com-порт видит, Putty через serial не цепляется, параметры подключения брал из инструкции

Какие права на перемещенное? Права на симлинк? куда он точно указывает?
В Debian нет по умолчанию /usr/shared
Есть /usr/share.
В котором, например, есть wb-* каталоги.
Именно на этапе загрузки они не нужны, поэтому контроллер все ж грузится.

Что такое “видит” и “не цепляется”? Покажите команды которые вводите и их вывод, вот прямо скопировав текст из консоли.

при помощи Putty удалось прослушать Com порт
вот лог:



Welcome to Debian GNU/Linux 9 (stretch)!

[    3.662756] systemd[1]: Set hostname to <wirenboard-AZJHXC47>.
[    4.292999] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.328069] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    4.368294] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    4.410928] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    4.450748] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[    4.488909] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    4.533118] systemd[1]: Mounting /sys/kernel/config...
         Mounting /sys/kernel/config...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting File System Check on Root Device...
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Mounting Debug File System...
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Starting Load Kernel Modules...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Listening on udev Kernel Socket.
         Mounting POSIX Message Queue File System...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted /sys/kernel/config.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Journal Service.
[  OK  ] Started File System Check Daemon to report status.
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Creat[    5.595965] EXT4-fs (mmcblk0p3): re-mounted. Opts: errors=remount-ro
e Static Device Nodes in /dev.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting prepare partitions at first boot...
         Starting udev Kernel Device Manager...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started prepare partitions at first boot.
[  OK  ] Reached target Local File Systems (Pre).
[    7.649651] Driver for 1-wire Dallas network protocol.
[    7.675546] gpio-68 (onewire_w1): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[  OK  ] Started udev Coldplug all Devices.
[    7.758174] gpio-11 (onewire_w2): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[  OK  ] Found device /dev/ttymxc0.
[    8.076106] fec 20b4000.ethernet rename2: renamed from eth0
[    8.476671] fec 2188000.ethernet eth0: renamed from eth1
[    8.499999] imx_usb 2184000.usb: No over current polarity defined
[    8.577904] fec 20b4000.ethernet eth1: renamed from rename2
[    8.583613] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    8.630640] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    8.717411] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    8.768740] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    8.777067] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.784343] usb usb1: Product: EHCI Host Controller
[    8.789244] usb usb1: Manufacturer: Linux 5.10.35-wb111 ehci_hcd
[    8.795258] usb usb1: SerialNumber: ci_hdrc.0
[    9.126835] hub 1-0:1.0: USB hub found
[    9.171568] hub 1-0:1.0: 1 port detected
[    9.250071] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    9.305173] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    9.437415] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    9.485391] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    9.493754] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.501026] usb usb2: Product: EHCI Host Controller
[    9.505928] usb usb2: Manufacturer: Linux 5.10.35-wb111 ehci_hcd
[    9.511963] usb usb2: SerialNumber: ci_hdrc.1
[    9.559694] usb usb1-port1: over-current condition
[  OK  ] Found device /dev/mmcblk0p6.
[    9.719005] hub 2-0:1.0: USB hub found
[  OK  ] Found device /dev/mmcblk0p5.
[    9.774070] hub 2-0:1.0: 1 port detected
[   10.187376] usb 2-1: new high-speed USB device number 2 using ci_hdrc
         Activating swap /dev/mmcblk0p5...
         Starting File System Check on /dev/mmcblk0p6...
[   10.418039] usb 2-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[   10.426269] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   10.443184] Adding 262140k swap on /dev/mmcblk0p5.  Priority:-2 extents:1 across:262140k SS
[   10.532413] hub 2-1:1.0: USB hub found
[   10.577596] hub 2-1:1.0: 4 ports detected
[  OK  ] Activated swap /dev/mmcblk0p5.
[  OK  ] Reached target Swap.
[   10.907335] usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
[   11.047372] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[   11.061781] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=b720, bcdDevice= 2.00
[   11.070245] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   11.077630] usb 2-1.1: Product: 802.11n WLAN Adapter
[   11.082608] usb 2-1.1: Manufacturer: Realtek
[   11.086889] usb 2-1.1: SerialNumber: 00e04c000001
[   11.251819] usb 1-1: New USB device found, idVendor=24a9, idProduct=205a, bcdDevice= 2.00
[   11.260131] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[   11.267326] usb 1-1: Product: Silicon-Power
[   11.271517] usb 1-1: Manufacturer: UFD_3.0
[   11.275620] usb 1-1: SerialNumber: 2103390782200459
[   11.325260] Bluetooth: Core ver 2.22
[   11.367935] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  OK  ] Listening on Load/Save RF Kill Switch Status[   11.382478] NET: Registered protocol family 31
 /dev/rfkill Watch.
[   11.389609] Bluetooth: HCI device and connection manager initialized
[   11.447497] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.453713] Bluetooth: HCI socket layer initialized
[   11.471881] Bluetooth: L2CAP socket layer initialized
[   11.477006] Bluetooth: SCO socket layer initialized
[   11.503326] scsi host0: usb-storage 1-1:1.0
[   11.513264] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   11.565325] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   11.630564] usbcore: registered new interface driver btusb
[   11.644777] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
         Starting Load/Save RF Ki[   11.654101] cfg80211: failed to load regulatory.db
ll Switch Status...
[   11.662849] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   11.669592] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[   11.678881] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_config.bin
[   11.685417] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   11.694709] Bluetooth: hci0: RTL: cfg_sz -2, total sz 22496
[  OK  ] Started Load/Save RF Kill Switch Status.
[   12.425498] RTL871X: module init start
[   12.429373] RTL871X: rtl8723bu v4.3.6.11_12942.20141204_BTCOEX20140507-4E40
[   12.436360] RTL871X: rtl8723bu BT-Coex version = BTCOEX20140507-4E40
[   12.506544] Bluetooth: hci0: RTL: fw version 0x0e2f9f73
[  OK  ] Started File System Check on /dev/mmcblk0p6.
[   12.568665] scsi 0:0:0:0: Direct-Access     UFD_3.0  Silicon-Power    0000 PQ: 0 ANSI: 4
         Mounting /mnt/data...
[   12.619114] sd 0:0:0:0: [sda] 60743681 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   12.674630] sd 0:0:0:0: [sda] Write Protect is off
[   12.700994] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   12.735523] RTL871X: rtw_ndev_init(wlan0)
[   12.751576]  sda: sda1
[   12.772468] RTL871X: rtw_ndev_init(wlan1)
[   12.782990] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   12.804998] usbcore: registered new interface driver rtl8723bu
[   12.810970] RTL871X: module init ret=0
[   12.843166] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Mounted /mnt/data.
         Mounting /var/log...
[  OK  ] Mounted /var/log.
[   12.993466] usbcore: registered new interface driver rtl8xxxu
[  OK  ] Reached target Local File Systems.
         Starting prepare mounts and symlinks to config files...
         Starting Raise network interfaces...
         Starting Flush Journal to Persistent Storage...
[   13.494870] systemd-journald[108]: Received request to flush runtime journal from PID 1
[   13.546215] systemd-journald[108]: File /var/log/journal/84ebb9a9047d51bdaa4e7ff362c682db/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Found device 802.11n_WLAN_Adapter.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started ifup for wlan0.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started prepare mounts and symlinks to config files.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
[   15.415246] RTL871X: RTW_ADAPTIVITY_EN_
[   15.415274] AUTO, chplan:0x20, Regulation:3,3
[   15.423591] RTL871X: RTW_ADAPTIVITY_MODE_
[   15.423599] NORMAL
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Monitor directories with device templates for wb-mqtt-serial.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Listening on KNX Daemon (socket).
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Restore local date from Wiren Board GSM RTC...
         Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
[  OK  ] Started Node-RED graphical event wiring tool.
[  OK  ] Started Regular background program processing daemon.
         Starting Bluetooth service...
[  OK  ] Started watch config files.
         Starting Initialize Wiren Board Device Tree overlays...
[  OK  ] Started Generates wb-mqtt-serial UI schema for wb-mqtt-confed.
[  OK  ] Started Cgroup management daemon.
         Starting initialize filesystems at first boot...
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
[   16.813378] new mount options do not match the existing superblock, will be ignored
[   18.168528] RTL871X: nolinked power save enter
         Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
         Starting System Logging Service...
[  OK  ] Started Restore local date from Wiren Board GSM RTC.
[  OK  ] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Started Mosquitto MQTT v3.1/v3.1.1 Broker.
[  OK  ] Started System Logging Service.
[  OK  ] Started initialize filesystems at first boot.
[FAILED] Failed to start Initialize Wiren Board Device Tree overlays.
See 'systemctl status wb-hwconf-manager.service' for details.
[   ***] A start job is running for Bluetooth service (1min 7s / 1min 34s)[   79.505244] RTL871X: RTW_ADAPTIVITY_EN_
[   79.505276] AUTO, chplan:0x20, Regulation:3,3
[   79.513583] RTL871X: RTW_ADAPTIVITY_MODE_
[   79.513591] NORMAL
[ ***  ] A start job is running for Bluetooth service (1min 8s / 1min 34s)[   80.392062] RTL871X: nolinked power save leave
[    **] A start job is running for Bluetooth service (1min 12s / 1min 34s)[   84.489120] RTL871X: nolinked power save enter
[    **] A start job is running for Bluetooth service (1min 16s / 1min 34s)[   88.713228] RTL871X: RTW_ADAPTIVITY_EN_
[   88.713250] AUTO, chplan:0x20, Regulation:3,3
[   88.721518] RTL871X: RTW_ADAPTIVITY_MODE_
[   88.721521] NORMAL
[    **] A start job is running for Bluetooth service (1min 17s / 1min 34s)[   89.552064] RTL871X: nolinked power save leave
[*     ] A start job is running for Bluetooth service (1min 19s / 1min 34s)[   91.883237] RTL871X: nolinked power save enter
[***   ] A start job is running for Bluetooth service (1min 25s / 1min 34s)[   97.615370] RTL871X: RTW_ADAPTIVITY_EN_
[   97.615400] AUTO, chplan:0x20, Regulation:3,3
[   97.623710] RTL871X: RTW_ADAPTIVITY_MODE_
[   97.623718] NORMAL
[  *** ] A start job is running for Bluetooth service (1min 26s / 1min 34s)[   98.482073] RTL871X: nolinked power save leave
[**    ] A start job is running for Bluetooth service (1min 30s / 1min 34s)[  102.569111] RTL871X: nolinked power save enter
[**    ] A start job is running for Bluetooth service (1min 34s / 3min 4s)[  106.823106] RTL871X: RTW_ADAPTIVITY_EN_
[  106.823129] AUTO, chplan:0x20, Regulation:3,3
[  106.831400] RTL871X: RTW_ADAPTIVITY_MODE_
[  106.831404] NORMAL
[**    ] A start job is running for Bluetooth service (1min 35s / 3min 4s)[  107.628171] RTL871X: nolinked power save leave
[     *] A start job is running for Bluetooth service (1min 37s / 3min 4s)[  109.914362] RTL871X: nolinked power save enter
[   ***] A start job is running for Bluetooth service (1min 43s / 3min 4s)[  115.692852] RTL871X: RTW_ADAPTIVITY_EN_
[  115.692873] AUTO, chplan:0x20, Regulation:3,3
[  115.701126] RTL871X: RTW_ADAPTIVITY_MODE_
[  115.701130] NORMAL
[ ***  ] A start job is running for Bluetooth service (1min 44s / 3min 4s)[  116.652184] RTL871X: nolinked power save leave
[ ***  ] A start job is running for Bluetooth service (1min 46s / 3min 4s)[  118.947314] RTL871X: nolinked power save enter
[   ***] A start job is running for Bluetooth service (1min 52s / 3min 4s)[  124.704610] RTL871X: RTW_ADAPTIVITY_EN_
[  124.704638] AUTO, chplan:0x20, Regulation:3,3
[  124.712937] RTL871X: RTW_ADAPTIVITY_MODE_
[  124.712943] NORMAL
[     *] A start job is running for Bluetooth service (1min 53s / 3min 4s)[  125.602077] RTL871X: nolinked power save leave
[  *** ] A start job is running for Bluetooth service (1min 57s / 3min 4s)[  129.689113] RTL871X: nolinked power save enter
[***   ] A start job is running for Bluetooth service (2min 2s / 3min 4s)[  133.912997] RTL871X: RTW_ADAPTIVITY_EN_
[  133.913028] AUTO, chplan:0x20, Regulation:3,3
[  133.921324] RTL871X: RTW_ADAPTIVITY_MODE_
[  133.921331] NORMAL
[  *** ] A start job is running for Bluetooth service (2min 2s / 3min 4s)[  134.762140] RTL871X: nolinked power save leave
[  *** ] A start job is running for Bluetooth service (2min 4s / 3min 4s)[  137.044861] RTL871X: nolinked power save enter
[***   ] A start job is running for Bluetooth service (2min 10s / 3min 4s)[  142.835371] RTL871X: RTW_ADAPTIVITY_EN_
[  142.835402] AUTO, chplan:0x20, Regulation:3,3
[  142.843712] RTL871X: RTW_ADAPTIVITY_MODE_
[  142.843720] NORMAL
[*     ] A start job is running for Bluetooth service (2min 11s / 3min 4s)[  143.751941] RTL871X: nolinked power save leave
[**    ] A start job is running for Bluetooth service (2min 12s / 3min 4s)[  144.247498] SMSC LAN8710/LAN8720 20b4000.ethernet-1:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet-1:00, irq=POLL)
[ ***  ] A start job is running for Bluetooth service (2min 15s / 3min 4s)[  147.849122] RTL871X: nolinked power save enter
[    **] A start job is running for Bluetooth service (2min 19s / 3min 4s)[  151.815245] RTL871X: RTW_ADAPTIVITY_EN_
[  151.815277] AUTO, chplan:0x20, Regulation:3,3
[  151.823587] RTL871X: RTW_ADAPTIVITY_MODE_
[  151.823595] NORMAL
[  *** ] A start job is running for Bluetooth service (2min 20s / 3min 4s)[  152.722061] RTL871X: nolinked power save leave
[     *] A start job is running for Bluetooth service (2min 24s / 3min 4s)[  156.809109] RTL871X: nolinked power save enter
[   ***] A start job is running for Bluetooth service (2min 29s / 3min 4s)[  161.032996] RTL871X: RTW_ADAPTIVITY_EN_
[  161.033027] AUTO, chplan:0x20, Regulation:3,3
[  161.041321] RTL871X: RTW_ADAPTIVITY_MODE_
[  161.041329] NORMAL
[     *] A start job is running for Bluetooth service (2min 29s / 3min 4s)[  161.842074] RTL871X: nolinked power save leave
[  *** ] A start job is running for Bluetooth service (2min 33s / 3min 4s)[  165.929117] RTL871X: nolinked power save enter
[**    ] A start job is running for Bluetooth service (2min 38s / 3min 4s)[  169.905371] RTL871X: RTW_ADAPTIVITY_EN_
[  169.905402] AUTO, chplan:0x20, Regulation:3,3
[  169.913711] RTL871X: RTW_ADAPTIVITY_MODE_
[  169.913718] NORMAL
[ ***  ] A start job is running for Bluetooth service (2min 38s / 3min 4s)[  170.852061] RTL871X: nolinked power save leave
[   ***] A start job is running for Bluetooth service (2min 40s / 3min 4s)[  173.154357] RTL871X: nolinked power save enter
[ ***  ] A start job is running for Bluetooth service (2min 47s / 3min 4s)[  178.905612] RTL871X: RTW_ADAPTIVITY_EN_
[  178.905636] AUTO, chplan:0x20, Regulation:3,3
[  178.913923] RTL871X: RTW_ADAPTIVITY_MODE_
[  178.913929] NORMAL
[**    ] A start job is running for Bluetooth service (2min 47s / 3min 4s)[  179.751939] RTL871X: nolinked power save leave
[   ***] A start job is running for Bluetooth service (2min 49s / 3min 4s)[  182.034360] RTL871X: nolinked power save enter
[     *] A start job is running for Bluetooth service (2min 55s / 3min 4s)[  187.785494] RTL871X: RTW_ADAPTIVITY_EN_
[  187.785523] AUTO, chplan:0x20, Regulation:3,3
[  187.793834] RTL871X: RTW_ADAPTIVITY_MODE_
[  187.793841] NORMAL
[   ***] A start job is running for Bluetooth service (2min 56s / 3min 4s)[  188.762073] RTL871X: nolinked power save leave
[**    ] A start job is running for Bluetooth service (2min 58s / 3min 4s)[  191.054114] RTL871X: nolinked power save enter
[FAILED] Failed to start Bluetooth service.
See 'systemctl status bluetooth.service' for details.
[  196.998983] RTL871X: RTW_ADAPTIVITY_EN_
[  196.999005] AUTO, chplan:0x20, Regulation:3,3
[  197.007273] RTL871X: RTW_ADAPTIVITY_MODE_
[  197.007277] NORMAL
[  197.531951] RTL871X: nolinked power save leave
[  199.828495] RTL871X: nolinked power save enter
[  205.848859] RTL871X: RTW_ADAPTIVITY_EN_
[  205.848883] AUTO, chplan:0x20, Regulation:3,3
[  205.857100] RTL871X: RTW_ADAPTIVITY_MODE_
[  205.857105] NORMAL
[  206.392059] RTL871X: nolinked power save leave
[  207.337422] SMSC LAN8710/LAN8720 20b4000.ethernet-1:01: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet-1:01, irq=POLL)
[  209.447624] fec 20b4000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[  209.467313] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  210.489233] RTL871X: nolinked power save enter
[  214.858984] RTL871X: RTW_ADAPTIVITY_EN_
[  214.859008] AUTO, chplan:0x20, Regulation:3,3
[  214.867267] RTL871X: RTW_ADAPTIVITY_MODE_
[  214.867271] NORMAL
[  215.392816] RTL871X: nolinked power save leave
[  217.688359] RTL871X: nolinked power save enter
[  223.638984] RTL871X: RTW_ADAPTIVITY_EN_
[  223.639007] AUTO, chplan:0x20, Regulation:3,3
[  223.647265] RTL871X: RTW_ADAPTIVITY_MODE_
[  223.647269] NORMAL
[  224.172062] RTL871X: nolinked power save leave
[  226.467988] RTL871X: nolinked power save enter
[  232.414242] RTL871X: RTW_ADAPTIVITY_EN_
[  232.414266] AUTO, chplan:0x20, Regulation:3,3
[  232.422533] RTL871X: RTW_ADAPTIVITY_MODE_
[  232.422538] NORMAL
[  232.952116] RTL871X: nolinked power save leave
[  237.049120] RTL871X: nolinked power save enter
[  241.238618] RTL871X: RTW_ADAPTIVITY_EN_
[  241.238642] AUTO, chplan:0x20, Regulation:3,3
[  241.247051] RTL871X: RTW_ADAPTIVITY_MODE_
[  241.247055] NORMAL
[  241.772075] RTL871X: nolinked power save leave
[  244.064998] RTL871X: nolinked power save enter
[  250.009109] RTL871X: RTW_ADAPTIVITY_EN_
[  250.009132] AUTO, chplan:0x20, Regulation:3,3
[  250.017403] RTL871X: RTW_ADAPTIVITY_MODE_
[  250.017407] NORMAL
[  250.542065] RTL871X: nolinked power save leave
[  252.824859] RTL871X: nolinked power save enter
[  258.784482] RTL871X: RTW_ADAPTIVITY_EN_
[  258.784506] AUTO, chplan:0x20, Regulation:3,3
[  258.792763] RTL871X: RTW_ADAPTIVITY_MODE_
[  258.792767] NORMAL
[  259.321936] RTL871X: nolinked power save leave
[  261.615359] RTL871X: nolinked power save enter
[  267.558998] RTL871X: RTW_ADAPTIVITY_EN_
[  267.559021] AUTO, chplan:0x20, Regulation:3,3
[  267.567288] RTL871X: RTW_ADAPTIVITY_MODE_
[  267.567292] NORMAL
[  268.092061] RTL871X: nolinked power save leave
[  270.391125] RTL871X: nolinked power save enter
[  276.328984] RTL871X: RTW_ADAPTIVITY_EN_
[  276.329007] AUTO, chplan:0x20, Regulation:3,3
[  276.337266] RTL871X: RTW_ADAPTIVITY_MODE_
[  276.337270] NORMAL
[  276.862066] RTL871X: nolinked power save leave
[  279.154995] RTL871X: nolinked power save enter
[  285.098982] RTL871X: RTW_ADAPTIVITY_EN_
[  285.099006] AUTO, chplan:0x20, Regulation:3,3
[  285.107273] RTL871X: RTW_ADAPTIVITY_MODE_
[  285.107277] NORMAL
[  285.631945] RTL871X: nolinked power save leave
[  287.925246] RTL871X: nolinked power save enter
[  293.868993] RTL871X: RTW_ADAPTIVITY_EN_
[  293.869017] AUTO, chplan:0x20, Regulation:3,3
[  293.877284] RTL871X: RTW_ADAPTIVITY_MODE_
[  293.877288] NORMAL
[  294.402063] RTL871X: nolinked power save leave
[  298.489122] RTL871X: nolinked power save enter
[  302.638984] RTL871X: RTW_ADAPTIVITY_EN_
[  302.639008] AUTO, chplan:0x20, Regulation:3,3
[  302.647273] RTL871X: RTW_ADAPTIVITY_MODE_
[  302.647278] NORMAL
[  303.172061] RTL871X: nolinked power save leave

С правами все нормально было.
Я не удалял саму /usr/share. Я её переименовал в share1, и сделал символьную ссылку с правами.

cp  -R ~/usr/share ~/copy_usr/share

 ln -s /usr/share /mnt/data/copy_usr/share

Могу ли я через отладочную консоль переименовать share1 в share и удалить симлинк?

указывает на /root/copy_usr/share а симлинк, получается на /mnt/data/copy_usr/share
Ну и ~/usr/share - нету.
То есть я совершенно не понял что куда перемещено и указывает.

Да, конечно. ядро стартует судя по симптомам.

Прошу прощения за настойчивость)))
Подскажите пожалуйста методы подхода, как добраться до файловой системы через отладочную консоль? команды… По help`у консоли что то не сильно получается разобраться

Так, какие команды интересуют? Это обычная linux-консоль, все команды стандартны.

Команда ls -l дисков не отображает…

=>ls -l
** No device specified **

Направьте куда далее копать? Монтировать диски надо я так понимаю?

Это точно именно консоль, не initramfs?
Какое-то приглашение странное.

Подключился через usb к WB 6.
на этом моменте

Hit any key to stop autoboot:  0

идет обратный отсчет трёх секунд типа нажмите любую кнопку, нажимаешь и становится доступна консоль

U-Boot 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 52C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  512 MiB
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0
=> help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
bmode   - emmc|emmc_rst|normal|usb|sata|ecspi1:0|ecspi1:1|ecspi1:2|ecspi1:3|esdhc1|esdhc2|esdhc3|esdhc4 [noreset]
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bootz   - boot Linux zImage image from memory
clocks  - display clocks
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dcache  - enable or disable data cache
dhcp    - boot image via network using DHCP/TFTP protocol
dm      - Driver model low level access
echo    - echo args to console
editenv - edit environment variable
env     - environment handling commands
exit    - exit script
ext4load- load binary file from a Ext4 filesystem
ext4ls  - list files in a directory (default /)
ext4size- determine a file's size
false   - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatsize - determine a file's size
fdt     - flattened device tree utility commands
fsfitxtract- extract a part of a FIT stored on a filesystem
fstype  - Look up a filesystem type
fuse    - Fuse sub-system
go      - start application at address 'addr'
gpio    - query and control gpio pins
help    - print command description/usage
i2c     - I2C sub-system
icache  - enable or disable instruction cache
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
led     - manage LEDs
load    - load binary file from a filesystem
loop    - infinite loop on address range
ls      - list files in a directory (default /)
md      - memory display
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mtest   - simple RAM read/write test
mw      - memory write (fill)
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
regulator- uclass operations
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
save    - save file to a filesystem
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setexpr - set environment variable as the result of eval expression
showvar - print local hushshell variables
size    - determine a file's size
sleep   - delay execution for some time
source  - run script from memory
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true    - do nothing, successfully
ums     - Use the UMS [USB Mass Storage]
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
=>