The device presents a logical sector size that is smaller than the physical sector size. Aligning to a physical sector (or optimal I/O) size boundary is recommended, or performance may be impacted. 欢迎使用 fdisk (util-linux 2.23.2)。
设备 Boot Start End Blocks Id System /dev/sdb1 2048 1048575999 524286976 8e Linux LVM
命令(输入 m 获取帮助):n Partition type: p primary (1 primary, 0 extended, 3 free) e extended Select (default p): Using default response p 分区号 (2-4,默认 2): 起始 扇区 (1048576000-1468006399,默认为 1048576000): 将使用默认值 1048576000 Last 扇区, +扇区 or +size{K,M,G} (1048576000-1468006399,默认为 1468006399): 将使用默认值 1468006399 分区 2 已设置为 Linux 类型,大小设为 200 GiB
命令(输入 m 获取帮助):t 分区号 (1,2,默认 2): Hex 代码(输入 L 列出所有代码):8e 已将分区“Linux”的类型更改为“Linux LVM”
命令(输入 m 获取帮助):w The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: 设备或资源忙. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) 正在同步磁盘。