全球主机交流论坛

标题: dedi这是什么套路 [打印本页]

作者: kania1983    时间: 2017-12-28 14:16
标题: dedi这是什么套路
[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):

作者: 丽人谷    时间: 2017-12-28 14:19
它家系统模板有各种问题,建议dd充重装系统
作者: sotandlat    时间: 2017-12-28 14:21
丽人谷 发表于 2017-12-28 14:19
它家系统模板有各种问题,建议dd充重装系统

我也发现了,有教程吗
作者: kania1983    时间: 2017-12-28 14:22
丽人谷 发表于 2017-12-28 14:19
它家系统模板有各种问题,建议dd充重装系统

centos7 有教材吗
作者: zhc670    时间: 2017-12-28 14:24
centos6没问题。
作者: hgzfzq    时间: 2017-12-28 14:38
resize2fs /dev/sda1  就可以恢复10G了
作者: kania1983    时间: 2017-12-28 17:56
hgzfzq 发表于 2017-12-28 14:38
resize2fs /dev/sda1  就可以恢复10G了

感谢大佬,有用!!!




欢迎光临 全球主机交流论坛 (https://loc.998820.xyz/) Powered by Discuz! X3.4