我试图让我的硬盘更大,我的vm是kali linux。
vm在vmware上运行,我增加了磁盘大小,并试图遵循这些方向:
https://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1006371
我到了第8步,当我尝试运行pvcreate时,我得到:
~# pvcreate /dev/sda3 Device /dev/sda3 not found (or ignored by filtering).
分区列表如下所示:
~# fdisk -l Disk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 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: 0xc9671107 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 121636863 121634816 58G 83 Linux /dev/sda2 121638910 125827071 4188162 2G 5 Extended /dev/sda3 121636864 121638909 2046 1023K 8e Linux LVM /dev/sda5 121638912 125827071 4188160 2G 82 Linux swap / Solaris
所以我很确定它在那里。 我看到其他贴子被我的lvm conf文件过滤,我检查了它,global_filter行被注释掉了。
我已经search,似乎所有我find的解决scheme或者不在列表中或过滤出来,我似乎没有任何这些问题。
谢谢!