- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MC/SG cannot deactivate VG
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
05-15-2002 12:38 AM
05-15-2002 12:38 AM
upon shutdown a package MC/SG could not deactivate the volume group:
Error message:
vgchange: Failed to notify clvm daemon about volume group deactivation - No such
file or directory
Couldn't deactivate volume group "vgtest":
No upon startup I get:
########### Node "neptun": Starting package at Wed May 15 10:32:11 METDS
T 2002 ###########
May 15 10:32:11 - "neptun": Activating volume group vgtest with exclusive option
.
Volume group "vgtest" has been successfully changed.
/dev/vgtest/test: No such device or address
May 15 10:32:12 - Node "neptun": Checking filesystems:
/dev/vgtest/test
Can't open /dev/vgtest/rtest, errno = 6
ERROR: Function check_and_mount
ERROR: Failed to fsck one of the logical volumes.
May 15 10:32:16 - Node "neptun": Deactivating volume group vgtest
vgchange: Failed to notify clvm daemon about volume group deactivation - No such
file or directory
Couldn't deactivate volume group "vgtest":
No such file or directory
ERROR: Function deactivate_volume_group
ERROR: Failed to deactivate vgtest
########### Node "neptun": Package start failed at Wed May 15 10:32:17
METDST 2002 ###########
lvdisplay -v seems to be ok.
lvdisplay /dev/vgtest/test
--- Logical volumes ---
LV Name /dev/vgtest/test
VG Name /dev/vgtest
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Any ideas
Regards
Rainer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 12:47 AM
05-15-2002 12:47 AM
Re: MC/SG cannot deactivate VG
Did you check the LV on both nodes ?
Did you import your VG on all the nodes ?
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 12:50 AM
05-15-2002 12:50 AM
Re: MC/SG cannot deactivate VG
Have you checked the major/minor nuimbers for this vg?
do you have a conflict?
ll /dev/vg*
and chcek it through.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 01:00 AM
05-15-2002 01:00 AM
Re: MC/SG cannot deactivate VG
Have you added the logical volume /dev/vgtest/test on only one node and forgot to do a vgexport -p again ?
After making changes to the Volume group on one node, like adding or deleting Logical volumes, u need to do a vgexport and vgimport on the other node.
# vgexport -p -s -m /tmp/vgtest.map /dev/vgtest
# rcp /tmp/vgtest.map othernode:/tmp
On the other node,
do a vgexport of the existing /dev/vgtest and then do the following
# vgexport /dev/vgtest
# mkdir /dev/vgtest
# mknod /dev/vgtest/group c 64 0x0n0000
where n is the minor number
# vgimport /tmp/vgtest.map /dev/vgtest
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 01:01 AM
05-15-2002 01:01 AM
Re: MC/SG cannot deactivate VG
there seems to be no conflict:
/dev/vgtest:
total 0
cr--r--r-- 1 root sys 64 0x030000 May 2 10:08 group
cr--r----- 1 root sys 64 0x030001 May 2 10:08 rtest
:q!-r----- 1 root sys 64 0x030001 May 2 10:08 test
Major/Minor is unique across all other VG's
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 01:03 AM
05-15-2002 01:03 AM
Re: MC/SG cannot deactivate VG
Looks like you have a logical volume /dev/vgtest/test defined in your Service Guard control file but no longer exists.
Do an ll /dev/*/group and check for uniqueness of the groups.
Probably export vgtest and import it back and then try.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 01:16 AM
05-15-2002 01:16 AM
Re: MC/SG cannot deactivate VG
I cannot import VG because it is still active and de-activation gives again:
vgchange -a n vgtest
vgchange: Failed to notify clvm daemon about volume group deactivation - No such
file or directory
Couldn't deactivate volume group "vgtest":
No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 01:31 AM
05-15-2002 01:31 AM
SolutionSorry to say this but looks like there is some problem with the group file that is not letting you to do anything.
You may need to reboot the box if the packages are down.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 01:37 AM
05-15-2002 01:37 AM
Re: MC/SG cannot deactivate VG
Try halting the cluster then startit
#cmhaltcl
#cmruncl
These process should run:
root 18 0 0 Mar 31 ? 146:49 lvmkd
root 19 0 0 Mar 31 ? 147:18 lvmkd
root 20 0 1 Mar 31 ? 146:12 lvmkd
root 21 0 0 Mar 31 ? 145:54 lvmkd
root 22 0 0 Mar 31 ? 143:52 lvmkd
root 23 0 1 Mar 31 ? 146:48 lvmkd
root 24 0 0 Mar 31 ? 0:00 lvmschedd
root 1476 0 0 Mar 31 ? 0:00 slvm_sorcvd
root 1369 1367 254 Mar 31 ? 5339:26 /usr/lbin/cmlvmd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 01:43 AM
05-15-2002 01:43 AM
Re: MC/SG cannot deactivate VG
The daemon lvmschedd is not running on my box.
I don't know what this daemon is doing . Can I start it manually or should I reboot as mentioned earlier?
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 02:10 AM
05-15-2002 02:10 AM
Re: MC/SG cannot deactivate VG
A reboot may be the way to go, and then retest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 02:20 AM
05-15-2002 02:20 AM
Re: MC/SG cannot deactivate VG
If so, have you run the vgchid command on his vg/bcv?
Just a thought, as this could have resuklted in duplicate vgid's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 03:04 AM
05-15-2002 03:04 AM
Re: MC/SG cannot deactivate VG
Reboot solved the problem; VG is behaving normal again
Regards
Rainer