1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| root@k8s-node-01:~
Welcome to fdisk (util-linux 2.34). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Command (m for help): d Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): p Disk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 sectors Disk model: Virtual disk 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: gpt Disk identifier: B1D5268C-61B9-4C12-B04D-CB42CCD09229
Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot
Command (m for help): n Partition number (2-128, default 2): First sector (4096-419430366, default 4096): Last sector, +/-sectors or +/-size{K,M,G,T,P} (4096-419430366, default 419430366):
Created a new partition 2 of type 'Linux filesystem' and of size 200 GiB. Partition
Do you want to remove the signature? [Y]es/[N]o: n
Command (m for help): p
Disk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 sectors Disk model: Virtual disk 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: gpt Disk identifier: B1D5268C-61B9-4C12-B04D-CB42CCD09229
Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 419430366 419426271 200G Linux filesystem
Command (m for help): w The partition table has been altered. Syncing disks.
|