Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Command (m for help): n Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): p Partition number (2-4, default 2): 2 First sector (651175056-1953525167, default 651175936): Last sector, +sectors or +size{K,M,G,T,P} (651175936-1953525167, default 1953525167): 1302350111
Created a new partition 2 of type 'Linux' and of size 310.5 GiB.
Command (m for help): wq The partition table has been altered. Calling ioctl() to re-read partition table.
如果遇到提示Re-reading the partition table failed.: Device or resource busy 用命令partprobe 初始化分区