Linux Operating System (MOSC)

MOSC Banner

pvcreate -ff /dev/xvda4 - error

edited Apr 18, 2017 5:04AM in Linux Operating System (MOSC) 10 commentsAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center