这些实例化的新c5是“ growpart”还是“ resize2fs”?

时间:2018-11-16 02:39:04

标签: amazon-ec2

$ sudo lsblk

NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
loop0         7:0    0    4G  0 loop /var/tmp
nvme0n1     259:0    0  500G  0 disk 
├─nvme0n1p1 259:1    0    1M  0 part 
└─nvme0n1p2 259:2    0  300G  0 part /

$ sudo fdisk -l / dev / nvme0n1p2

Disk /dev/nvme0n1p2: 322.1 GB, 322120433152 bytes, 629141471 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

谢谢!

0 个答案:

没有答案