标签:tmpfs res use start filesyste 分享图片 技术 alt logical
VPS是15G的。。
但是dh和fdisk显示不一样。。求解
df:
Filesystem Size Used Avail Use% Mounted on
udev 236M 0 236M 0% /dev
tmpfs 50M 2.7M 47M 6% /run
/dev/vda1 3.4G 845M 2.5G 25% /
tmpfs 247M 0 247M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 247M 0 247M 0% /sys/fs/cgroup
tmpfs 50M 0 50M 0% /run/user/0
--------------------------------------------------------------
fdisk:
Disk /dev/vda: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb31c4ed8
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 30406271 30404224 14.5G 83 Linux
/dev/vda2 30406272 31454847 1048576 512M 82 Linux swap / Solaris
------------------------------------
解决:
resize2fs -f /dev/vda1
标签:tmpfs res use start filesyste 分享图片 技术 alt logical
原文地址:https://www.cnblogs.com/crac/p/9162976.html