在我的 Ubuntu 虚拟机上,我有一个带有/
大量可用空间的磁盘/分区。
我还有一个名为/mnt/images
“已满”的分区。
你可以在这里看到:
root@marzen:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1774696 0 1774696 0% /dev
tmpfs 359172 988 358184 1% /run
/dev/sda1 1040831904 7396580 1033418940 1% /
tmpfs 5120 0 5120 0% /run/lock
/dev/sdb 92703048 92686664 0 100% /mnt/images
root@marzen:/#
Run Code Online (Sandbox Code Playgroud)
所以我试图使用fdisk
调整大小,但它给了我这样的消息:
root@marzen:/# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The …
Run Code Online (Sandbox Code Playgroud)