I am attempting to make my hard drive bigger for my vm which is kali linux.
The vm is running on vmware, I have increased the disk size and tried to follow these directions:
I got to step 8 and when I try to run pvcreate, I get:
~# pvcreate /dev/sda3
Device /dev/sda3 not found (or ignored by filtering).
The partition list looks like:
~# 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
So I am pretty sure it is there. I saw other postings about it being filtered by my lvm conf file, I checked it and the global_filter line is commented out.
I have searched and it seems all the ones I found solution are either not in the list or filtered out, I don't seem to have either of these problems.
thx!
pvcreate -vvv /dev/sda3
andpvscan -vvv
. Moreover, use pastebin or similar to post your/etc/lvm.conf
file. – shodanshok Oct 20 '17 at 21:11