|
[root@wrong-hostname ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 222M 0 222M 0% /dev
tmpfs 244M 0 244M 0% /dev/shm
tmpfs 244M 4.3M 240M 2% /run
tmpfs 244M 0 244M 0% /sys/fs/cgroup
/dev/vda1 2.0G 1.5G 357M 81% /
tmpfs 244M 4.3M 240M 2% /etc/machine-id
只给了2G硬盘吗?怪不得宝塔一直装不上
但是 fdisk 命令后有10G硬盘,大佬们我要重新分区吗?
[root@wrong-hostname ~]# fdisk /dev/vda1
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x7111519c.
Command (m for help): p
Disk /dev/vda1: 10.6 GB, 10630266880 bytes, 20762240 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: 0x7111519c
Device Boot Start End Blocks Id System
Command (m for help):
|
|