我有一个Ubuntu VM。如果我为/ dev / sda运行fdisk,则按预期显示以下输出。
root@ubuntu:/home# fdisk -l /dev/sda
Disk /dev/sda: 300 GiB, 322122547200 bytes, 629145600 sectors
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: dos
Disk identifier: 0xf4c9f2a3
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 75595775 75593728 36G 83 Linux
/dev/sda2 75597822 83884031 8286210 4G 5 Extended
/dev/sda3 83886080 629145599 545259520 260G 83 Linux
/dev/sda5 75597824 83884031 8286208 4G 82 Linux swap / Solaris
Partition table entries are not in disk order.
如果我运行pvdisplay,则不会返回任何内容。为什么我的磁盘没有显示在pvdisplay中?
root@ubuntu:/home# pvdisplay
root@ubuntu:/home#