- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgscan: /etc/lvmconf//lvm_lock: Permission den...
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
Forums
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
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
04-30-2001 10:13 AM
04-30-2001 10:13 AM
need to expand a lvol. No matter what I do, delete lvmtab or lvm_lock I get the same error. I also get the permisson denied when I run vgchange and vgdisplay. Any suggestions
Thanks
Greg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 10:30 AM
04-30-2001 10:30 AM
SolutionTry this:
Make sure that /sbin/vgscan is owned by root with the setuid bit set, as:
-r-sr-xr-x 29 root sys 696320 May 10 1999 /sbin/vgscan
Do a 'chmod 4555 /sbin/vgscan' and/or 'chown root:sys /sbin/vgscan' if necessary.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 10:32 AM
04-30-2001 10:32 AM
Re: vgscan: /etc/lvmconf//lvm_lock: Permission denied
Somehow some of the vgxxx commands lost their setuid bit. Make sure that all the /sbin/vgxxx commands are owned by root/sys and have the setuid bit set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 03:22 PM
04-30-2001 03:22 PM
Re: vgscan: /etc/lvmconf//lvm_lock: Permission denied
'cannot open /dev/kmem: Permission denied'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 03:41 PM
04-30-2001 03:41 PM
Re: vgscan: /etc/lvmconf//lvm_lock: Permission denied
I would also check one other thing though I doubt this is a problem. Go to each /dev/vgxx
directory and make sure that you have exactly 1
group file. I once had a Jr. Admin who created an extra group file 'GROUP' with identical major and minor devices as the 'group' file and all sorts of strange behavior resulted. As I recall the symptom I saw in that case was duplicate physical volume entries in /etc/lvmtab.
You might want to do a 'strings /etc/lvmtab' and post the results; that might give us a clue. Since you mentioned MS/SG you might try a
vgchange -c n on a volume group to see if it makes any difference. At this point, I would say you have a sick installation.
Good luck, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 05:17 AM
05-01-2001 05:17 AM