全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1327|回复: 7

dedi这是什么套路

[复制链接]
发表于 2017-12-28 14:16:44 | 显示全部楼层 |阅读模式
[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 17:56:26 | 显示全部楼层
hgzfzq 发表于 2017-12-28 14:38
resize2fs /dev/sda1  就可以恢复10G了

感谢大佬,有用!!!
发表于 2017-12-28 14:19:29 来自手机 | 显示全部楼层
它家系统模板有各种问题,建议dd充重装系统
发表于 2017-12-28 14:21:43 | 显示全部楼层
丽人谷 发表于 2017-12-28 14:19
它家系统模板有各种问题,建议dd充重装系统

我也发现了,有教程吗
 楼主| 发表于 2017-12-28 14:22:35 | 显示全部楼层
丽人谷 发表于 2017-12-28 14:19
它家系统模板有各种问题,建议dd充重装系统

centos7 有教材吗
发表于 2017-12-28 14:24:40 | 显示全部楼层
centos6没问题。
发表于 2017-12-28 14:38:10 | 显示全部楼层
resize2fs /dev/sda1  就可以恢复10G了

点评

又学到了  发表于 2017-12-28 18:18
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-18 02:55 , Processed in 0.065111 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表