pvcreate -ff /dev/xvda4 - error
Hello community experts,
I need to extend storage of a new database server and after deleting the 4th and last partition, rebooting the server and executing the command
pvcreate -ff /dev/xvda4
I get these messages:
Really INITIALIZE physical volume "/dev/xvda4" of volume group "ol" [y/n]? y
Can't open /dev/xvda4 exclusively. Mounted filesystem?
I'm not sure what I missed during the delete of the partition. the fdisk -l command shows Disk /dev/xvda:536.GB (including the 200GB I just added.
Disk /dev/xvda: 536.9 GB, 536870912000 bytes, 1048576000 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