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