- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /dev/lvm_private/lvm open: Permission denied
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 07:36 AM
06-03-2014 07:36 AM
Hello,
I just installed HPUX 11.31 from DVD, I applied Bundles 1403 ...
I have now this error at everytime I use lvm command :
VM:root@MASTER1131:/root:vgdisplay
Could not open the LVM device file /dev/lvm_private/lvm .
open: Permission denied
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4121
VGDA 2
PE Size (Mbytes) 8
Total PE 4111
Alloc PE 3862
Free PE 249
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 527488m
VG Max Extents 65936
VM:root@MASTER1131:/root:lvremove /dev/vg00/lvol300
Could not open the LVM device file /dev/lvm_private/lvm .
open: Permission denied
The logical volume "/dev/vg00/lvol300" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg00/lvol300" has been successfully removed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
Syslog doesn't say nothing (also dmesg)
VM:root@MASTER1131:/root:grep -i lvm /var/adm/syslog/syslog.log
Jun 3 15:03:42 MASTER1131 vmunix: LVM: Root VG activated
Jun 3 15:06:24 MASTER1131 lvmpud[2334]: LVM daemon started
Jun 3 15:39:40 MASTER1131 LVM[4154]: lvmadm -l
Jun 3 15:39:52 MASTER1131 LVM[4157]: vgscan
Jun 3 15:39:52 MASTER1131 LVM[4158]: vgscan
Jun 3 16:27:56 MASTER1131 LVM[4755]: lvcreate -l 3 -n lvol300 vg00
Jun 3 16:27:56 MASTER1131 LVM[4755]: Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
Jun 3 16:28:24 MASTER1131 LVM[4759]: lvremove /dev/vg00/lvol300
Jun 3 16:28:24 MASTER1131 LVM[4759]: Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
VM:root@MASTER1131:/root:ll /dev/lvm_private/lvm
crw------- 1 root sys 64 0x000000 Mar 24 16:23 /dev/lvm_private/lvm
there is no vxvm installed
at the boot of server, i have this weird messages :
/sbin/ioinitrc:
fsck: execl() failed
fsck: Exec format error
fsck: read of pipe failed
fsck: Error 0
/dev/vg00/lvol1:file system is clean - log replay is not required
mount: execl() failed
mount: Exec format error
mount: read of pipe failed
mount: Error 0
vxtunefs: execl() failed
vxtunefs: Exec format error
vxtunefs: read of pipe failed
vxtunefs: Error 0
/sbin/krs_sysinit:
mount: execl() failed
mount: Exec format error
mount: read of pipe failed
mount: Error 0
* The module 'rng' has been loaded.
* The module 'pciinfo' has been loaded.
mount: execl() failed
mount: Exec format error
mount: read of pipe failed
mount: Error 0
insf: Installing special files for ipmi instance 0 address 250/0
any help is welcome
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 09:41 AM
06-03-2014 09:41 AM
SolutionCheck the ownership and permissions on the /sbin/lvm_wrapper and /usr/sbin/lvm_wrapper files.
They should be:
# ll /sbin/lvm_wrapper /usr/sbin/lvm_wrapper
-r-sr-xr-x 1 root sys 1089536 Dec 9 2012 /sbin/lvm_wrapper
-r-sr-xr-x 1 root sys 192512 Dec 9 2012 /usr/sbin/lvm_wrapper
If the owner is incorrect, and since it is an suid executable, it will run as a user other than root which won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2014 01:58 AM
06-04-2014 01:58 AM
Re: /dev/lvm_private/lvm open: Permission denied
Hello Patrick
Thank you, it was helpfull, it works fine now, exactly
/sbin/lvm_wrapper was missing and /usr/sbin/lvm_wrapper had bad owner.
So I did a copy and change owners