- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchange error
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
07-13-2004 06:10 PM
07-13-2004 06:10 PM
vgchange error
Server1 carries pkg1 normally.
when the pkg1 goto Server2, it fails with following messages:
vgchange: lr-sr-xr-t not found
vgchange[2]:c: not found
ERROR: Function deactivate volume group
ERROR: Failed to deactivate /dev/vg01/
I didn't change anything in the shell, so I don't have a clue what's going on; and what is lr-sr-xr-t is?
by the way, this function was used in the shell #vgchange -a e
and I didn't see any dev was mounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 06:43 PM
07-13-2004 06:43 PM
Re: vgchange error
The function that is failing in your case is:
vgchange -a n
Try if you can run this manualy from the commandprompt.
Check also the function "function deactivate_volume_group" for errors.
In your package.cntl file (in /etc/cmcluster/package/package.cntl)
See also what is configured for VG[0]= in this file.
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:13 PM
07-13-2004 07:13 PM
Re: vgchange error
before switching from server 1 to server2, vg is deactivate already. So vgchange -a e will enable the vg on server 2, but when it failed, it will try to disable to clear everything out.
everything works fine under activating vg at server2.
do you know the meaning of lr-sr-xr-t is ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:23 PM
07-13-2004 07:23 PM
Re: vgchange error
The lr-sr-xr-t looks like the vgchange get some output from a ls -al as input.
If it works fine at server2, just try to copy the package.cntl file from server2 to server1 and test it again.
By the way did this worked before. Is the volumegroup information correct imported in the lvmtab of server1?
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:25 PM
07-13-2004 07:25 PM
Re: vgchange error
Could u post the package log file of Server1?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:27 PM
07-13-2004 07:27 PM
Re: vgchange error
seems that vgchange is linked ("l" - option) and maybe therefore not found.
BTW Activation of the volume group should be "vgchange -a y
HTH
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:41 PM
07-13-2004 07:41 PM
Re: vgchange error
This is the log of the pkg.
fodssby is server 2
some parts are not visible since they are in Jap..... but it'ssaying that it cannot find it~.
########### Node "fodssby": Starting package at 2004å¹´07æ 14æ ¥ 10æ 34å 39ç§ ###########
7æ 14 10æ 34å 39ç§ - "fodssby": Activating volume group /dev/vg_fods1 with exclusive option.
vgchange: lr-sr-xr-t: è¦ ã ¤ã ã ã ¾ã ã ã
vgchange[2]: c: è¦ ã ¤ã ã ã ¾ã ã ã
ERROR: Function activate_volume_group
ERROR: Failed to activate /dev/vg_fods1
7æ 14 10æ 35å 09ç§ - Node "fodssby": Deactivating volume group /dev/vg_fods1
vgchange: lr-sr-xr-t: è¦ ã ¤ã ã ã ¾ã ã ã
vgchange[2]: c: è¦ ã ¤ã ã ã ¾ã ã ã
ERROR: Function deactivate_volume_group
ERROR: Failed to deactivate /dev/vg_fods1
########### Node "fodssby": Package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:43 PM
07-13-2004 07:43 PM
Re: vgchange error
Did you check the difference between the cntl-files on both servers?
Please post this cntl file aswell.
The log file is not giving any clues because I can not read the japanees characters.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:49 PM
07-13-2004 07:49 PM
Re: vgchange error
Try comparing Package Control scripts and also check whether the /etc/cmcluster/cmclconfig file is same on both the servers.
See the time stamp of both the files to see if any modifications has happened to them.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:52 PM
07-13-2004 07:52 PM
Re: vgchange error
It seemed to be erring because it cannot find the vgchange command. The reason why the ERROR: Function deactivate volume group came about was because of the vgchange command didn't execute. Check permission settings because it seems that what you have is a link.
Regards,
ira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 07:59 PM
07-13-2004 07:59 PM
Re: vgchange error
To check if you do not have a problem with the vgchange binary (like I mentioned before) try to run the command manually(as root):
vgchange -a e vg01
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 09:33 PM
07-13-2004 09:33 PM
Re: vgchange error
Please post the output of "ll /usr/sbin/vg* /sbin/vg*". Try to execute /usr/sbin/vgchange from the command line.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 03:11 AM
07-15-2004 03:11 AM
Re: vgchange error
Please check the conf file with the cmcheckconf utility. See if there are any errors.
# cmcheckconf -v -P (package conf file)
Also as other have mentioned please check the vgchange file which could be a link file.
# which vgchange
Copy the correct vgchange command to the $PATH and check if you still see the problem.
All the best!
V.Venkatesh