08-09-2013 08:42 AM - edited 08-09-2013 09:28 AM
Trying to expand an volume group, but we are seeing this weird error every time we run any LVM command:
# vgdisplay -v vg05
Could not open the LVM device file /dev/lvm_private/lvm .
open: Permission denied
The only other reference to this I found via Google was on this site, which was not answered, and stated that the command needed to be run as root. We are running as root.
The file /dev/lvm_private/lvm exists and has the same permissions as on other servers were we don't see the error.
Any help is greatly appreciated.
08-12-2013 06:57 AM
OK... what it turned out to be was even more bizarre than I imagined.
Apparently, a Progress installation or rogue chown had changed the UID:GID ownershp on the entire /usr/bin directory (and others), so many of the lvm commands weren't owned by root:sys. This is why we saw the odd permissions error.
The system finally rebooted, but nothing was working as expected. A lot of manual chowning following by several swverify's and one more reboot resolved the issue.