请教userdata的疑惑
本帖最后由 ARMer 于 2023-9-25 14:01 编辑Forlinx您好,我用的是飞凌2G+16G的核心板;
mmcblk0p8分区是2.5GB,挂载在/userdata ; 但看到/userdata已经占用了500MB,使用率100%;
mmcblk0p8的2GB空间去哪里了? 还是可以继续在/userdata下放2GB的用户个人数据文件?
多谢!
resize2fs /dev/mmcblk0p8
文件系统误认为100%了,执行这个进行实际检测同步下大小 解决了,多谢!
==========
tmpfs 198M1.9M196M 1% /run
tmpfs 5.0M4.0K5.0M 1% /run/lock
tmpfs 986M 0986M 0% /sys/fs/cgroup
/dev/mmcblk0p7126M 13M107M11% /oem
/dev/mmcblk0p8520M500M 0 100% /userdata
tmpfs 198M 12K198M 1% /run/user/1000
forlinx@ok3568:~$ sudo resize2fs /dev/mmcblk0p8
resize2fs 1.45.5 (07-Jan-2020)
Filesystem at /dev/mmcblk0p8 is mounted on /userdata; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/mmcblk0p8 is now 639992 (4k) blocks long.
forlinx@ok3568:~$ sudo df -h
Filesystem SizeUsed Avail Use% Mounted on
/dev/root 12G4.4G6.9G40% /
devtmpfs 977M 0977M 0% /dev
tmpfs 986M 0986M 0% /dev/shm
tmpfs 198M1.9M196M 1% /run
tmpfs 5.0M4.0K5.0M 1% /run/lock
tmpfs 986M 0986M 0% /sys/fs/cgroup
/dev/mmcblk0p7126M 13M107M11% /oem
/dev/mmcblk0p82.5G500M1.9G22% /userdata
tmpfs 198M 12K198M 1% /run/user/1000
forlinx@ok3568:~$
页:
[1]