这是一个创建于 743 天前的主题,其中的信息可能已经有所发展或是发生改变。
1T 的机械盘挂载到 Ubuntu ,发现有 40G 的占用,但找不出是什么在占用就一个分区
fdisk -l 命令下
设备 起点 末尾 扇区 大小 类型
/dev/sda1 2048 1953525134 1953523087 931.5G Linux 文件系统
lsblk -f 命令下
sda
└─sda1 ext4 e19421e5-9d5c-432e-bb85-63ff5c16f9a3 869.2G 0% /home/wy/store
在 store 目录下使用 du -hs
28K .
在 store 目录下我新建一个目录 share 并开启 smb 共享
windows 映射网络驱动器显示“869G 可用,共 915G”。
请问该如何解决
3 条回复 2023-12-14 12:31:25 +08:00  | | 1 msg7086 2023-12-14 04:27:47 +08:00 ext4 的 root 保留空间吗? |
 | | 2 expy 2023-12-14 08:16:23 +08:00 刚好 5%,确实是楼上说的原因。 By default, 5% of the filesystem blocks will be reserved for the super-user, to avoid fragmentation and "allow root-owned daemons to continue to function correctly after non-privileged processes are prevented from writing to the filesystem" |
 | | 3 SlanWyf 2023-12-14 12:31:25 +08:00 via Android |