lvm commands fail to resume devices

Solution Verified - Updated -

Issue

  • Some LVM commands (lvcreate, lvremove, dmsetup resume, ...) may fail due to a shortage of semaphores with this error:
Limit for the maximum number of semaphores reached. You can check and set the limits in /proc/sys/kernel/sem.

As a result the commands may fail to resume any devices they have suspended.

Environment

  • Red Hat Enterprise Linux 6
    • LVM2
    • tuned

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.