LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 09-23-2004, 06:34 AM   #1
ire.z
LQ Newbie
 
Registered: Sep 2004
Location: Rome
Distribution: Aix
Posts: 5

Rep: Reputation: 0
my rootvg is varied off!!!


I got a great problem!
After reboot a node of my cluster seems to be up (rootvg fs are mounted, tcpip services are active) but rootvg results not varied on. My rootvg is defined on hdisk0 and hdisk1 (mirrored) and other vg occupies from hdisk2 up to hdisk9. Now the system sees the inexistent hdisk10 and hdisk11 defined but not assigned to a vg.

hdisk0 and hdisk1 are been removed manually, before this operation the lspv command output showed 12 disk with hdisk0 and hdisk11 not assigned to a vg.

After rmdev -dl hdisk0 & rmdev -d hdisk1 lspv show this ouput:

Code:
hdisk2         0055f35a39ef1c14    VG1         
hdisk3         0055f35a39ef2010    VG1
hdisk4         0055f35a39ef22d0    VG1         
hdisk5         0055f35a39ef25a2    VG1         
hdisk6         0055f35a39ef2869    VG1         
hdisk7         0055f35a39ef2b21    VG1         
hdisk8         0055f35a39efc862    VG2         
hdisk9         0055f35a39efcc55    VG2         
hdisk10        0055f34ae77a8bf0    None           
hdisk11        0055f34a38cf3fb3    None
Code:
lsvg rootvg
0516-010 : Volume group must be varied on; use varyonvg command.
Any ideas?
TNX
 
Old 09-23-2004, 07:06 AM   #2
-DC-
LQ Newbie
 
Registered: Apr 2004
Location: Ireland
Distribution: LFS, Redhat 9.0, FC 1, AIX
Posts: 8

Rep: Reputation: 0
How did this happen? What you need to do is rmdev -dl hdisk10 and 11, then make sure HA is stopped on this node (smitty cl_stop) and run cfgmgr. hdisk0 & 1 should reappear. If they still say none for the volume group, do importvg -y rootvg hdisk0, then try lspv again. How are your rootvg filesystems mounted if there is no rootvg?
 
Old 09-23-2004, 09:55 AM   #3
ire.z
LQ Newbie
 
Registered: Sep 2004
Location: Rome
Distribution: Aix
Posts: 5

Original Poster
Rep: Reputation: 0
This happened after a shutdown. Maybe there was a problem with the sysplanar or with the scsi bus, anyway i can't remove hdisk10 and hdisk11 because the system sees them as busy. I think it's an ODM problem: hdisk10 and hdisk11 are the same as hdisk0 and hdisk1 but not for the system. Now the situation is that the system booted from hdisk10 but the system does not recognize it as belonging to rootvg (PVID are different), so rootvg can't be varied on even if everything seems ok. Very interesting problem, but maybe it's faster to reinstall the system from a backup.
 
Old 09-23-2004, 03:21 PM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Talking

Definitively the problem is somewhere else. If rootvg is not varied on, /usr is not mounted, so you have no Unix system. Your rootvg is necesserily varied on. Of course this does not solve your problem of willing to know how to get the things fixed, nevertheless you can be sure that rootvg is varied on.
 
Old 09-24-2004, 06:18 AM   #5
ire.z
LQ Newbie
 
Registered: Sep 2004
Location: Rome
Distribution: Aix
Posts: 5

Original Poster
Rep: Reputation: 0
I agree with you zorba, rootvg must be varied on, and i think it is, anyway when i edit any command on rootvg (ie lsvg -l rootvg) i get the message:

"0516-010 : Volume group must be varied on; use varyonvg command".

Editing lspv i have no PV assigned to rootvg (rootvg is not listed at all) and hdisk10 and hdisk11 are not assigned to vg. Moreover PVID of hdisk10 and hdisk11 are both different from the PVID of hdisk0 and hdisk1, and i don't know how this can be possible if the disks are the same!
I think that somewhere in ODM (i don't know where!) there is an istance that makes the system identifies hdisk10 and hdisk11 as belonging to rootvg and somewhere else they are identified as new disks. File system are mounted and i tried to read from /usr and nmon says that i'm reading from hdisk10!
 
Old 09-24-2004, 11:18 AM   #6
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Something must be out of sync somewhere.
There is something absolutely not risky to be done : just use "smit vg", "activate the volume goup", if there is an error message do what is said (probably syncvg odm) and that's probably all what has to be done.
Nevertheless, having no disk seen as rootvg from the lspv output remains rather strange.

Last edited by zorba4; 09-25-2004 at 04:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
c question: function with varied input argument blackzone Programming 1 09-12-2004 11:20 PM
rootvg Frustin AIX 3 07-21-2004 06:47 AM
How to mirror rootvg using NIM joshunix AIX 1 01-13-2004 06:18 AM
Programs for displaying multiple, varied clocks? Thymox Linux - Software 4 11-01-2002 03:33 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration