lvcreate failed with error "semid xxxxxx: semop failed for cookie 0xd4de6a7: incorrect semaphore state".
Issue
- lvcreate failed with following error.
# lvcreate -L 100M -n testlv vg0
/dev/vg0/testlv: not found: device not cleared
Aborting. Failed to wipe start of new LV.
semid 294915: semop failed for cookie 0xd4d7b81: incorrect semaphore state
Failed to set a proper state for notification semaphore identified by cookie value 223181697 (0xd4d7b81) to initialize waiting for incoming notifications.
Environment
- Red Hat Enterprise Linux 6
- lvm2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.