• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 427
  • Last Modified:

RIDDLE ME THIS - Volume Group configuration options

1) What are all the configuration options for a volume group - either mirrored, RAID-ed?
2) Creating a brand new volume group comprised of two disks not mirrored containing a single application logical volume and a logginv lv - what dictates partition allocation between the two drives?
3) In the case of a disk failure in that configuration, is the entire volume group compromised?  
4) If not, why?  
5) What is this state defined as if it is not mirrored or RAIDed etc?
1 Solution
1) When you create a new volume group, there has no option it is mirrored or RAIDed.  The RAID is at the PV level and it is indepdendant of AIX (ie AIX does not know the PVs is raided).  Mirroring is at the lv level and not at the volume group level.

2) The folowing example lv xxlv has 4 partitions
lsvg -l xxlv

PV                COPIES        IN BAND       DISTRIBUTION
hdisk48           903:000:000   10%           203:093:202:202:203
hdisk49           865:000:000   6%            203:055:202:202:203
hdisk55           862:000:000   6%            203:052:202:202:203
hdisk56           644:000:000   7%            203:049:202:190:000

3) There has no AIX command to recover data at PV level.

4) AIX backup and restore is at the filesystem level. Savevg and restorevg is the volume group level.

5) Issue lsvg command and the value of LPs and PPs is exactly the same. It means that the lv is not mirrored.
# lsvg -l vgname
LV NAME         TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
lv1            jfs        1280  1280  2    open/syncd    /fs1
lv2            jfs        495   495   1    open/syncd    /fs2
lv3             jfs        1032  1032  3    open/syncd    /fs3
lv4             jfs        102   102   1    open/syncd    /fs4


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now