The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
max size of a group in /etc/group antalexi AIX 4 05-11-2008 06:01 AM
Add group tifmils UNIX for Dummies Questions & Answers 3 10-11-2007 02:58 AM
Monkcast #12: IBM HW group OEMs Solaris to chagrin of SW group & a ... - ZDNet.com bl iBot UNIX and Linux RSS News 0 08-17-2007 01:30 PM
entry in /etc/group too long - problem using sudo with %group poli SUN Solaris 4 12-21-2004 06:50 AM
NIS group vs local group vjsony UNIX for Dummies Questions & Answers 3 05-19-2003 06:54 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-08-2006
Registered User
 

Join Date: Jul 2006
Posts: 50
volums group

Dear all

I need command to show me the state for volums group,Is active or not?

thanks
Reply With Quote
Forum Sponsor
  #2  
Old 11-08-2006
Registered User
 

Join Date: May 2006
Location: England
Posts: 265
lsvg -o you mean. This will show the volume groups which are varied on.
Reply With Quote
  #3  
Old 11-08-2006
Registered User
 

Join Date: Jul 2006
Posts: 50
re

Yes my frind this command it is only give me the volum group without any information about state, I need to know the state for all my volum groups in my system.

thank you
Reply With Quote
  #4  
Old 11-08-2006
Registered User
 

Join Date: May 2006
Location: England
Posts: 265
Try this then:

for name in `lsvg -o`
> do
> lsvg $name
> done
Reply With Quote
  #5  
Old 11-08-2006
Registered User
 

Join Date: Jul 2006
Posts: 50
re

jbvrprd(root)/> lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 003afdbc00004c00000001001dd60dc0
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 546 (69888 megabytes)
MAX LVs: 256 FREE PPs: 337 (43136 megabytes)
LVs: 13 USED PPs: 209 (26752 megabytes)
OPEN LVs: 12 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON:yes

MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no

Active pvs : 1 that means the volum group is active, Ok if is it non active how can I know ?


I appreciate you
Reply With Quote
  #6  
Old 11-08-2006
Registered User
 

Join Date: Nov 2006
Posts: 8
re

Active pvs doesnt mean that volume group is active. It shows that it has one active physical volume in it. The volume groups you see in the output of lsvg -o are active. lsvg only itself gives the active and non-actives together. Look with lsvg. Subtract the ones with lsvg -o. They are inactive . You cant get the detailed one like you rootvg if it is not active.
Reply With Quote
  #7  
Old 11-08-2006
Registered User
 

Join Date: Jul 2006
Posts: 50
Thanks for all
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0