Device /dev/sda4 not found (or ignored by filtering).

偏执的太偏执、 2022-05-15 10:16 410阅读 0赞
  1. # fdisk /dev/sda
  2. Command (m for help): p
  3. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
  4. Units = sectors of 1 * 512 = 512 bytes
  5. Sector size (logical/physical): 512 bytes / 512 bytes
  6. I/O size (minimum/optimal): 512 bytes / 512 bytes
  7. Disk identifier: 0x000a3dd7
  8. Device Boot Start End Blocks Id System
  9. /dev/sda1 * 2048 4196351 2097152 83 Linux
  10. /dev/sda2 4196352 172148735 83976192 8e Linux LVM
  11. CREATE NEW PARTITION
  12. Command (m for help): n
  13. Partition type:
  14. p primary (2 primary, 0 extended, 2 free)
  15. e extended
  16. Select (default p): p
  17. Partition number (1-4, default 3):
  18. Using default value 3
  19. First sector (172148736-1953525167, default 172148736):
  20. Using default value 172148736
  21. Last sector, +sectors or +size{K,M,G} (172148736-1953525167, default 1953525167):
  22. Using default value 1953525167
  23. Partition 3 of type Linux and of size 849.4 GiB is set

WRITE

  1. Command (m for help): w
  2. The partition table has been altered!
  3. Calling ioctl() to re-read partition table.
  4. WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
  5. The kernel still uses the old table. The new table will be used at
  6. the next reboot or after you run partprobe(8) or kpartx(8)
  7. Syncing disks.
  8. # partprobe

CREATE PHYSICAL VOLUME

  1. # pvcreate /dev/sda3
  2. Physical volume "/dev/sda3" successfully created

发表评论

表情:
评论列表 (有 0 条评论,410人围观)

还没有评论,来说两句吧...

相关阅读