我正在使用 BTRFS 从 2 个磁盘创建 RAID0 卷。两者都在一个 AWS EC2 实例上,每个实例都有 30 GB 的可用空间。我用来创建文件系统的命令是:btrfs -d raid0 -L MYLABEL /dev/xvdf /dev/xvdg
.
现在Ubuntu告诉我磁盘空间已满,就像BTRFS一样:
root@host:/var/docker-apps/prometheus# btrfs balance start -dconvert=raid0 .
ERROR: error during balancing '.': No space left on device
There may be more info in syslog - try dmesg | tail
root@host:/var/docker-apps/prometheus#
Run Code Online (Sandbox Code Playgroud)
有趣的是,当我看到btrfs filesystem usage
我得到这个:
root@host:/var/docker-apps/prometheus# btrfs filesystem usage .
Overall:
Device size: 60.00GiB
Device allocated: 60.00GiB
Device unallocated: 2.00MiB
Device missing: 0.00B
Used: 25.26GiB
Free (estimated): 34.22GiB (min: …
Run Code Online (Sandbox Code Playgroud)