Update resize_vmdisk.md
This commit is contained in:
parent
53c1f23953
commit
0f2a2eb75a
|
|
@ -73,8 +73,13 @@ ssh -p 2222 root@localhost
|
||||||
|
|
||||||
**查看磁盘大小**
|
**查看磁盘大小**
|
||||||
|
|
||||||
|
执行命令:
|
||||||
```shell
|
```shell
|
||||||
fdisk -l /dev/sda
|
fdisk -l /dev/sda
|
||||||
|
```
|
||||||
|
结果如下:
|
||||||
|
|
||||||
|
```shell
|
||||||
Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors # 已增加到20G
|
Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors # 已增加到20G
|
||||||
Units: sectors of 1 * 512 = 512 bytes
|
Units: sectors of 1 * 512 = 512 bytes
|
||||||
Sector size (logical/physical): 512 bytes / 512 bytes
|
Sector size (logical/physical): 512 bytes / 512 bytes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue