找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 17|回复: 1

如何把linux 硬盘扩容 就像这个情 (同块硬盘啊还有30G呢

[复制链接]

18

主题

77

回帖

218

积分

中级会员

积分
218
发表于 2018-3-8 16:22:26 | 显示全部楼层 |阅读模式
root@debian:~# df -hl
文件系统        容量  已用  可用 已用% 挂载点
udev            982M     0  982M    0% /dev
tmpfs           200M   21M  180M   11% /run
/dev/vda1        20G  8.0G   11G   44% /
tmpfs           999M     0  999M    0% /dev/shm
tmpfs           5.0M     0  5.0M    0% /run/lock
tmpfs           999M     0  999M    0% /sys/fs/cgroup
tmpfs           200M  4.0K  200M    1% /run/user/126
tmpfs           200M  4.0K  200M    1% /run/user/0
root@debian:~# fdisk -l
Disk /dev/vda: 50 GiB, 53687091200 bytes, 104857600 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: 0x8d8faa3b

Device     Boot    Start      End  Sectors  Size Id Type
/dev/vda1  *        2048 40894463 40892416 19.5G 83 Linux
/dev/vda2       40896510 41940991  1044482  510M  5 Extended
/dev/vda5       40896512 41940991  1044480  510M 82 Linux swap / Solaris
root@debian:~#
回复

使用道具 举报

104

主题

2230

回帖

4816

积分

论坛元老

积分
4816
发表于 2018-3-8 16:26:16 | 显示全部楼层
谷歌关键词:Linux 分区划分,挂载
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-2-23 02:50 , Processed in 0.016806 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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