Oracle Linux: Unable to Rename VG with Error “Device /dev/sdb3 has active LVs, deactivate first" — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Oracle Linux: Unable to Rename VG with Error “Device /dev/sdb3 has active LVs, deactivate first"

edited Aug 19, 2025 7:46AM in Linux

APPLIES TO:

Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


GOAL:


This document  is intended to explain why the error “Device /dev/sdb3 has active LVs, deactivate first” and how to fix it.

SOLUTION:


The error "Device /dev/sdb3 has active LVs, deactivate first" indicates that there is a need to stop the Logical Volumes (LVs) using the LVM on “/dev/sdb3” before any changes.

To fix this, identify the active LVs with “lvs” command. Then unmount any filesystems on these LVs using “umount” command, deactivate the LVs with “lvchange -an” command, and finally, deactivate the associated Volume Group (VG) with “

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!