- 论坛徽章:
- 2
|
本帖最后由 miniboy 于 2021-06-21 15:32 编辑
CentOS7,原本100GB的磁盘,只用了10多GB,剩余空间去哪了?(fdisk 进去后,n 命令时,提示没有可用扇区)
查看信息如下:
-------------------------------------------
[root@app1 conf]# df -l | grep /dev/vda
/dev/vda2 9426944 9426924 20 100% /
/dev/vda3 3135488 816248 2319240 27% /data
/dev/vda1 1038336 168384 869952 17% /boot
[root@app1 conf]# df -lh | grep /dev/vda
/dev/vda2 9.0G 9.0G 20K 100% /
/dev/vda3 3.0G 798M 2.3G 27% /data
/dev/vda1 1014M 165M 850M 17% /boot
[root@app1 conf]# fdisk -l /dev/vda
Disk /dev/vda: 107.4 GB, 107374182400 bytes, 209715200 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
Disk label type: dos
Disk identifier: 0x000e0da7
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 2099199 1048576 83 Linux
/dev/vda2 2099200 20973567 9437184 83 Linux
/dev/vda3 20973568 27265023 3145728 83 Linux
/dev/vda4 27265024 31457279 2096128 5 Extended
/dev/vda5 27267072 31457279 2095104 82 Linux swap / Solaris
[root@app1 conf]#
|
|