RIDDLE ME THIS - Volume Group configuration options

Posted on 2005-04-24
Last Modified: 2013-11-17
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?
Question by:nsome
    1 Comment
    LVL 20

    Accepted 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

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now