Closed ccwssy closed 1 year ago
挂载点不存在,df -Th看下
*:/mnt/mmcblk2p4# df -Th
Filesystem Type Size Used Available Use% Mounted on
udev devtmpfs 512.0K 0 512.0K 0% /dev
tmpfs tmpfs 367.5M 128.0K 367.4M 0% /run
/dev/mmcblk2p3 btrfs 960.0M 658.7M 122.9M 84% /
tmpfs tmpfs 1.8G 44.9M 1.8G 2% /tmp
tmpfs tmpfs 512.0K 0 512.0K 0% /dev
cgroup tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
/dev/mmcblk2p1 vfat 157.5M 90.9M 66.6M 58% /boot
/dev/mmcblk2p4 ext4 54.8G 7.1G 44.9G 14% /mnt/mmcblk2p4
/dev/sda1 ext4 3.6T 1.9T 1.5T 56% /mnt/sda1
/dev/mmcblk2p4 ext4 54.8G 7.1G 44.9G 14% /mnt/mmcblk2p4/docker
看结果是没有挂载成功 /mnt/mmcblk2p4/boot 下没有 loop0p1 /mnt/mmcblk2p4/root 下没有 loop0p2 但在/mnt/目录下有 loop0p2 和 loop0p1 这两个文件夹,里面是空的 能否手动进行挂载。
Tue Aug 22 20:18:25 2023 kern.info kernel: [34263.092160] loop0: detected capacity change from 0 to 1843200
Tue Aug 22 20:18:25 2023 kern.info kernel: [34263.093315] loop0: p1 p2
Tue Aug 22 20:18:25 2023 kern.warn kernel: [34263.290370] FAT-fs (loop0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Tue Aug 22 20:18:25 2023 kern.info kernel: [34263.511899] BTRFS: device label ROOTFS devid 1 transid 27 /dev/loop0p2 scanned by block (29222)
Tue Aug 22 20:18:25 2023 kern.info kernel: [34263.512562] BTRFS info (device loop0p2): using crc32c (crc32c-generic) checksum algorithm
Tue Aug 22 20:18:25 2023 kern.info kernel: [34263.512592] BTRFS info (device loop0p2): using free space tree
Tue Aug 22 20:18:25 2023 kern.info kernel: [34263.512600] BTRFS info (device loop0p2): has skinny extents
Tue Aug 22 20:18:25 2023 kern.info kernel: [34263.527485] BTRFS info (device loop0p2): enabling ssd optimizations
Tue Aug 22 20:18:26 2023 daemon.err netdata[28033]: DEVICE-MAPPER ('loop0p1', 259:0): Cannot open directory '/dev/disk/by-label'.
Tue Aug 22 20:18:26 2023 daemon.err netdata[28033]: DEVICE-MAPPER ('loop0p1', 259:0): Cannot open directory '/dev/vx/dsk'.
Tue Aug 22 20:18:26 2023 daemon.err netdata[28033]: DEVICE-MAPPER ('loop0p2', 259:1): Cannot open directory '/dev/disk/by-label'.
Tue Aug 22 20:18:26 2023 daemon.err netdata[28033]: DEVICE-MAPPER ('loop0p2', 259:1): Cannot open directory '/dev/vx/dsk'.
Tue Aug 22 20:18:30 2023 kern.info kernel: [34268.302272] BTRFS: device label ROOTFS devid 1 transid 28 /dev/loop0p2 scanned by mount (29302)
Tue Aug 22 20:18:30 2023 kern.info kernel: [34268.303018] BTRFS info (device loop0p2): using crc32c (crc32c-generic) checksum algorithm
Tue Aug 22 20:18:30 2023 kern.info kernel: [34268.303054] BTRFS info (device loop0p2): use zstd compression, level 6
Tue Aug 22 20:18:30 2023 kern.info kernel: [34268.303065] BTRFS info (device loop0p2): using free space tree
Tue Aug 22 20:18:30 2023 kern.info kernel: [34268.303074] BTRFS info (device loop0p2): has skinny extents
Tue Aug 22 20:18:30 2023 kern.info kernel: [34268.309649] BTRFS info (device loop0p2): enabling ssd optimizations
[34968.473651] loop0: detected capacity change from 0 to 1843200
[34968.473888] loop0: p1 p2
[34968.642863] FAT-fs (loop0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[34968.884193] BTRFS: device label ROOTFS devid 1 transid 28 /dev/loop0p2 scanned by block (17518)
[34968.884869] BTRFS info (device loop0p2): using crc32c (crc32c-generic) checksum algorithm
[34968.884896] BTRFS info (device loop0p2): using free space tree
[34968.884902] BTRFS info (device loop0p2): has skinny extents
[34968.890725] BTRFS info (device loop0p2): enabling ssd optimizations
[34973.693241] BTRFS: device label ROOTFS devid 1 transid 29 /dev/loop0p2 scanned by mount (17600)
[34973.694024] BTRFS info (device loop0p2): using crc32c (crc32c-generic) checksum algorithm
[34973.694060] BTRFS info (device loop0p2): use zstd compression, level 6
[34973.694071] BTRFS info (device loop0p2): using free space tree
[34973.694078] BTRFS info (device loop0p2): has skinny extents
[34973.700058] BTRFS info (device loop0p2): enabling ssd optimizations
很明显/dev/mmcblk2p2
这个都没正确挂载,更新当然无法进行。手动 mount /dev/mmcblk2p2 /mnt/mmcblk2p2
再尝试。
很明显
/dev/mmcblk2p2
这个都没正确挂载,更新当然无法进行。手动mount /dev/mmcblk2p2 /mnt/mmcblk2p2
再尝试。
感谢大佬,手动挂载后,更新正常了
不管是手动升级还是用晶晨宝盒在线升级,都会升级失败 只更新内核没问题,完整更新就换败。 请大佬指点下这是什么问题。