linux disk mount partition

1. View the disk mount

[root@ecs-cee0-0002 /]# fdisk -l

Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00095725

Device Boot Start End Blocks Id System
/dev/vda1 * 1 5222 41942016 83 Linux

Disk /dev/vdc: 536.9 GB, 536870912000 bytes
16 heads, 63 sectors/track, 1040253 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf1578e53

2. Need to mount the disk /dev/vdc

fdisk /dev/vdc
If all partitions are deleted, enter
n, Enter
p, Enter
1, Enter
Enter (the default is 1, you don’t need to enter it?

Guess you like

Origin blog.csdn.net/qq_43070471/article/details/114440841