problem with "mirrorvg -m"

Ask a Question related to AIX, Design and Development.

  1. #1

    Default problem with "mirrorvg -m"

    Hello,
    I'd like to mirrovg and have an exact PPs location on second copy.
    Please tell me what do I do wrong that mirrovg fails.

    regards,
    A.


    root@n7p21r3 /dev/pts/1 /
    # lspv
    hdisk0 007810c52b349455 rootvg
    active
    hdisk1 007810c5514fd582 rootvg
    active
    hssaSR1D9-9 007810c53077c413 datavg
    active
    hssaSR1D9-10 007810c5c077ce65 datavg
    active
    hssaSR1D9-11 007810c5c073c0a3 datavg
    active
    hssaSR1D9-12 007810c5c077c3fa datavg
    active
    hssaSR1D9-13 0038412a6043b4fe datavg
    active
    hssaSR1D9-16 0038412a6048e46d datavg
    active
    hssaSR2D9-9 0028314f778a9483 datavg
    active
    hssaSR2D9-10 0028314f7784a42a datavg
    active
    hssaSR2D9-11 0028314f778aaad8 datavg
    active
    hssaSR2D9-12 0028314f778a514e datavg
    active
    hssaSR2D9-13 0028314f778ab5b2 datavg
    active
    hssaSR2D9-16 0038412a752ab504 datavg
    active
    root@n7p21r3 /dev/pts/1 /
    # lsvg -p datavg
    datavg:
    PV_NAME PV STATE TOTAL PPs FREE PPs FREE
    DISTRIBUTION
    hssaSR1D9-9 active 543 478
    108..109..44..108..109
    hssaSR1D9-10 active 543 479
    109..109..44..108..109
    hssaSR1D9-11 active 543 479
    109..109..44..108..109
    hssaSR1D9-12 active 543 390
    109..36..28..108..109
    hssaSR1D9-13 active 271 260
    55..54..43..54..54
    hssaSR1D9-16 active 271 144
    14..14..08..54..54
    hssaSR2D9-9 active 543 543
    109..109..108..108..109
    hssaSR2D9-10 active 543 543
    109..109..108..108..109
    hssaSR2D9-11 active 543 543
    109..109..108..108..109
    hssaSR2D9-12 active 543 543
    109..109..108..108..109
    hssaSR2D9-13 active 271 271
    55..54..54..54..54
    hssaSR2D9-16 active 271 271
    55..54..54..54..54
    root@n7p21r3 /dev/pts/1 /
    # lsdev -Cc pdisk
    pssaSR1D9-10 Available 3L-08-R1D9-10-P SSA160 Physical Disk Drive
    pssaSR1D9-11 Available 3L-08-R1D9-11-P SSA160 Physical Disk Drive
    pssaSR1D9-12 Available 3L-08-R1D9-12-P SSA160 Physical Disk Drive
    pssaSR1D9-13 Available 3L-08-R1D9-13-P SSA160 Physical Disk Drive
    pssaSR1D9-16 Available 3L-08-R1D9-16-P SSA160 Physical Disk Drive
    pssaSR1D9-9 Available 3L-08-R1D9-09-P SSA160 Physical Disk Drive
    pssaSR2D9-10 Available 3H-08-R2D9-10-P SSA160 Physical Disk Drive
    pssaSR2D9-11 Available 3H-08-R2D9-11-P SSA160 Physical Disk Drive
    pssaSR2D9-12 Available 3H-08-R2D9-12-P SSA160 Physical Disk Drive
    pssaSR2D9-13 Available 3L-08-R2D9-13-P SSA160 Physical Disk Drive
    pssaSR2D9-16 Available 3L-08-R2D9-16-P SSA160 Physical Disk Drive
    pssaSR2D9-9 Available 3H-08-R2D9-09-P SSA160 Physical Disk Drive
    root@n7p21r3 /dev/pts/1 /
    # lsvg -o
    datavg
    rootvg
    root@n7p21r3 /dev/pts/1 /
    # mirrorvg -m datavg hssaSR2D9-9 hssaSR2D9-10 hssaSR2D9-11
    hssaSR2D9-12 hssaSR2D9-13 hssaSR2D9-16
    0516-418 allocp: Illegal data on standard input map line 1.
    0516-1199 mirrorvg: Failed to create logical partition copies
    for logical volume jfslog1_lv.
    0516-1200 mirrorvg: Failed to mirror the volume group.
    root@n7p21r3 /dev/pts/1 /
    #
    Andy Guest

  2. Similar Questions and Discussions

    1. Proj cannot run on LCDS 2.6 ES due to "Unable to resolveresource bundle "datamanagement" for locale "en_US"
      hi, all, We have developped an application on Flex Build 3 (run successfully), but failed when we try to deploy it on Tomcat with LCDS 2.5 ES...
    2. Drag and drop problem with "dragEnabled" and"allowMultipleSelection"
      Update 2, if it can help someone: Finally I don't manage the drag and drop by myself using DragManager.doDrag(...). Why? Because doing so if the...
    3. CFINPUT type="radio" w/ "value" requires "label"
      On a Flash form, when you specify type='radio' and value='whatever', the value of the 'value' attribute will be displayed as a label if no 'label'...
    4. Problem with fopen("php://input", "r")
      Hello there, I am having problem opening the in-built php stream php://input According to the manual this has been integrated into php since...
    5. "Start" "Program" "Menu" list is empty
      For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your...
  3. #2

    Default Re: problem with "mirrorvg -m"


    "Andy" <gk15374@yahoo.com> schrieb im Newsbeitrag
    news:e01e9fdb.0309050257.dddafaa@posting.google.co m...
    > Hello,
    > I'd like to mirrovg and have an exact PPs location on second copy.
    > Please tell me what do I do wrong that mirrovg fails.
    >
    > regards,
    > A.
    >
    >
    > root@n7p21r3 /dev/pts/1 /
    > # lspv
    > hdisk0 007810c52b349455 rootvg
    > active
    > hdisk1 007810c5514fd582 rootvg
    > active
    > hssaSR1D9-9 007810c53077c413 datavg
    > active
    > hssaSR1D9-10 007810c5c077ce65 datavg
    > active
    > hssaSR1D9-11 007810c5c073c0a3 datavg
    > active
    > hssaSR1D9-12 007810c5c077c3fa datavg
    > active
    > hssaSR1D9-13 0038412a6043b4fe datavg
    > active
    > hssaSR1D9-16 0038412a6048e46d datavg
    > active
    > hssaSR2D9-9 0028314f778a9483 datavg
    > active
    > hssaSR2D9-10 0028314f7784a42a datavg
    > active
    > hssaSR2D9-11 0028314f778aaad8 datavg
    > active
    > hssaSR2D9-12 0028314f778a514e datavg
    > active
    > hssaSR2D9-13 0028314f778ab5b2 datavg
    > active
    > hssaSR2D9-16 0038412a752ab504 datavg
    > active
    > root@n7p21r3 /dev/pts/1 /
    > # lsvg -p datavg
    > datavg:
    > PV_NAME PV STATE TOTAL PPs FREE PPs FREE
    > DISTRIBUTION
    > hssaSR1D9-9 active 543 478
    > 108..109..44..108..109
    > hssaSR1D9-10 active 543 479
    > 109..109..44..108..109
    > hssaSR1D9-11 active 543 479
    > 109..109..44..108..109
    > hssaSR1D9-12 active 543 390
    > 109..36..28..108..109
    > hssaSR1D9-13 active 271 260
    > 55..54..43..54..54
    > hssaSR1D9-16 active 271 144
    > 14..14..08..54..54
    > hssaSR2D9-9 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-10 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-11 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-12 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-13 active 271 271
    > 55..54..54..54..54
    > hssaSR2D9-16 active 271 271
    > 55..54..54..54..54
    > root@n7p21r3 /dev/pts/1 /
    > # lsdev -Cc pdisk
    > pssaSR1D9-10 Available 3L-08-R1D9-10-P SSA160 Physical Disk Drive
    > pssaSR1D9-11 Available 3L-08-R1D9-11-P SSA160 Physical Disk Drive
    > pssaSR1D9-12 Available 3L-08-R1D9-12-P SSA160 Physical Disk Drive
    > pssaSR1D9-13 Available 3L-08-R1D9-13-P SSA160 Physical Disk Drive
    > pssaSR1D9-16 Available 3L-08-R1D9-16-P SSA160 Physical Disk Drive
    > pssaSR1D9-9 Available 3L-08-R1D9-09-P SSA160 Physical Disk Drive
    > pssaSR2D9-10 Available 3H-08-R2D9-10-P SSA160 Physical Disk Drive
    > pssaSR2D9-11 Available 3H-08-R2D9-11-P SSA160 Physical Disk Drive
    > pssaSR2D9-12 Available 3H-08-R2D9-12-P SSA160 Physical Disk Drive
    > pssaSR2D9-13 Available 3L-08-R2D9-13-P SSA160 Physical Disk Drive
    > pssaSR2D9-16 Available 3L-08-R2D9-16-P SSA160 Physical Disk Drive
    > pssaSR2D9-9 Available 3H-08-R2D9-09-P SSA160 Physical Disk Drive
    > root@n7p21r3 /dev/pts/1 /
    > # lsvg -o
    > datavg
    > rootvg
    > root@n7p21r3 /dev/pts/1 /
    > # mirrorvg -m datavg hssaSR2D9-9 hssaSR2D9-10 hssaSR2D9-11
    > hssaSR2D9-12 hssaSR2D9-13 hssaSR2D9-16
    > 0516-418 allocp: Illegal data on standard input map line 1.
    > 0516-1199 mirrorvg: Failed to create logical partition copies
    > for logical volume jfslog1_lv.
    > 0516-1200 mirrorvg: Failed to mirror the volume group.
    > root@n7p21r3 /dev/pts/1 /
    > #
    Hallo Andy,

    this error message looks like the error message mklv generates if it is
    given a wrong map file. E.g. mklv expects a map file in the format:
    hdisk0:10-23
    for UNused partitions!
    For used partitions the output would look like:
    hdisk0:10 burpfslv:8
    (for the eigth lp of the burpfslv on the hdisk0 placed at pp 10). However,
    this would be the wrong format for mklv (which is used by mirrorvg).

    Thus I would guess that there is some logival volume (e.g.the jfslog1_lv in
    your case) on your target disks already. If this was the true, just clear
    the target disks from any lv or fs information and restart the mirrorvg.

    regards,
    Andreas


    Andreas Schulze Guest

  4. #3

    Default Re: problem with "mirrorvg -m"


    Originally posted by Andreas Schulze
    > "Andy" <gk15374@yahoo.com> schrieb im Newsbeitrag
    > news:e01e9fdb.0309050257.dddafaa@posting.google.co m"]news:e01e9-
    > [email]fdb.0309050257.dddafaa@posting.google.com[/email][/url]...
    > > Hello,
    > > I'd like to mirrovg and have an exact PPs location on second
    > copy.
    > > Please tell me what do I do wrong that mirrovg fails.
    > > regards,
    > > A.
    > > root@n7p21r3 /dev/pts/1 /
    > > # lspv
    > > hdisk0 007810c52b349455 rootvg
    > > active
    > > hdisk1 007810c5514fd582 rootvg
    > > active
    > > hssaSR1D9-9 007810c53077c413 datavg
    > > active
    > > hssaSR1D9-10 007810c5c077ce65 datavg
    > > active
    > > hssaSR1D9-11 007810c5c073c0a3 datavg
    > > active
    > > hssaSR1D9-12 007810c5c077c3fa datavg
    > > active
    > > hssaSR1D9-13 0038412a6043b4fe datavg
    > > active
    > > hssaSR1D9-16 0038412a6048e46d datavg
    > > active
    > > hssaSR2D9-9 0028314f778a9483 datavg
    > > active
    > > hssaSR2D9-10 0028314f7784a42a datavg
    > > active
    > > hssaSR2D9-11 0028314f778aaad8 datavg
    > > active
    > > hssaSR2D9-12 0028314f778a514e datavg
    > > active
    > > hssaSR2D9-13 0028314f778ab5b2 datavg
    > > active
    > > hssaSR2D9-16 0038412a752ab504 datavg
    > > active
    > > root@n7p21r3 /dev/pts/1 /
    > > # lsvg -p datavg
    > > datavg:
    > > PV_NAME PV STATE TOTAL PPs FREE PPs
    > FREE
    > > DISTRIBUTION
    > > hssaSR1D9-9 active 543 478
    > > 108..109..44..108..109
    > > hssaSR1D9-10 active 543 479
    > > 109..109..44..108..109
    > > hssaSR1D9-11 active 543 479
    > > 109..109..44..108..109
    > > hssaSR1D9-12 active 543 390
    > > 109..36..28..108..109
    > > hssaSR1D9-13 active 271 260
    > > 55..54..43..54..54
    > > hssaSR1D9-16 active 271 144
    > > 14..14..08..54..54
    > > hssaSR2D9-9 active 543 543
    > > 109..109..108..108..109
    > > hssaSR2D9-10 active 543 543
    > > 109..109..108..108..109
    > > hssaSR2D9-11 active 543 543
    > > 109..109..108..108..109
    > > hssaSR2D9-12 active 543 543
    > > 109..109..108..108..109
    > > hssaSR2D9-13 active 271 271
    > > 55..54..54..54..54
    > > hssaSR2D9-16 active 271 271
    > > 55..54..54..54..54
    > > root@n7p21r3 /dev/pts/1 /
    > > # lsdev -Cc pdisk
    > > pssaSR1D9-10 Available 3L-08-R1D9-10-P SSA160 Physical Disk
    > Drive
    > > pssaSR1D9-11 Available 3L-08-R1D9-11-P SSA160 Physical Disk
    > Drive
    > > pssaSR1D9-12 Available 3L-08-R1D9-12-P SSA160 Physical Disk
    > Drive
    > > pssaSR1D9-13 Available 3L-08-R1D9-13-P SSA160 Physical Disk
    > Drive
    > > pssaSR1D9-16 Available 3L-08-R1D9-16-P SSA160 Physical Disk
    > Drive
    > > pssaSR1D9-9 Available 3L-08-R1D9-09-P SSA160 Physical Disk
    > Drive
    > > pssaSR2D9-10 Available 3H-08-R2D9-10-P SSA160 Physical Disk
    > Drive
    > > pssaSR2D9-11 Available 3H-08-R2D9-11-P SSA160 Physical Disk
    > Drive
    > > pssaSR2D9-12 Available 3H-08-R2D9-12-P SSA160 Physical Disk
    > Drive
    > > pssaSR2D9-13 Available 3L-08-R2D9-13-P SSA160 Physical Disk
    > Drive
    > > pssaSR2D9-16 Available 3L-08-R2D9-16-P SSA160 Physical Disk
    > Drive
    > > pssaSR2D9-9 Available 3H-08-R2D9-09-P SSA160 Physical Disk
    > Drive
    > > root@n7p21r3 /dev/pts/1 /
    > > # lsvg -o
    > > datavg
    > > rootvg
    > > root@n7p21r3 /dev/pts/1 /
    > > # mirrorvg -m datavg hssaSR2D9-9 hssaSR2D9-10 hssaSR2D9-11
    > > hssaSR2D9-12 hssaSR2D9-13 hssaSR2D9-16
    > > 0516-418 allocp: Illegal data on standard input map line 1.
    > > 0516-1199 mirrorvg: Failed to create logical partition
    > copies
    > > for logical volume jfslog1_lv.
    > > 0516-1200 mirrorvg: Failed to mirror the volume group.
    > > root@n7p21r3 /dev/pts/1 /
    > > #
    >
    > Hallo Andy,
    >
    > this error message looks like the error message mklv generates
    > if it is
    > given a wrong map file. E.g. mklv expects a map file in the format:
    > hdisk0:10-23
    > for UNused partitions!
    > For used partitions the output would look like:
    > hdisk0:10 burpfslv:8
    > (for the eigth lp of the burpfslv on the hdisk0 placed at pp 10).
    > However,
    > this would be the wrong format for mklv (which is used by mirrorvg).
    >
    > Thus I would guess that there is some logival volume (e.g.the
    > jfslog1_lv in
    > your case) on your target disks already. If this was the true,
    > just clear
    > the target disks from any lv or fs information and restart the
    > mirrorvg.
    >
    > regards,
    > Andreas






    Hi Andreas,

    The disks I would like to use for mirror copy are brand new and empty
    (ne LV exists - I'd added them today to datavg). They are identical as
    disks in the only copy I have now.

    BTW: when I do "mklvcopy jfslog1_lv 2 hssaSR2D9-9" it is completed
    successfuly but I would like to run mirrovg to do it for all LVs
    in the VG).





    regards,

    Andy.


    --
    Posted via [url]http://dbforums.com[/url]
    andy7 Guest

  5. #4

    Default Re: problem with "mirrorvg -m"

    "Andy" <gk15374@yahoo.com> schrieb im Newsbeitrag
    news:e01e9fdb.0309050257.dddafaa@posting.google.co m...
    > Hello,
    > I'd like to mirrovg and have an exact PPs location on second copy.
    > Please tell me what do I do wrong that mirrovg fails.
    >
    > regards,
    > A.
    >
    >
    > root@n7p21r3 /dev/pts/1 /
    > # lspv
    > hdisk0 007810c52b349455 rootvg
    > active
    > hdisk1 007810c5514fd582 rootvg
    > active
    > hssaSR1D9-9 007810c53077c413 datavg
    > active
    > hssaSR1D9-10 007810c5c077ce65 datavg
    > active
    > hssaSR1D9-11 007810c5c073c0a3 datavg
    > active
    > hssaSR1D9-12 007810c5c077c3fa datavg
    > active
    > hssaSR1D9-13 0038412a6043b4fe datavg
    > active
    > hssaSR1D9-16 0038412a6048e46d datavg
    > active
    > hssaSR2D9-9 0028314f778a9483 datavg
    > active
    > hssaSR2D9-10 0028314f7784a42a datavg
    > active
    > hssaSR2D9-11 0028314f778aaad8 datavg
    > active
    > hssaSR2D9-12 0028314f778a514e datavg
    > active
    > hssaSR2D9-13 0028314f778ab5b2 datavg
    > active
    > hssaSR2D9-16 0038412a752ab504 datavg
    > active
    > root@n7p21r3 /dev/pts/1 /
    > # lsvg -p datavg
    > datavg:
    > PV_NAME PV STATE TOTAL PPs FREE PPs FREE
    > DISTRIBUTION
    > hssaSR1D9-9 active 543 478
    > 108..109..44..108..109
    > hssaSR1D9-10 active 543 479
    > 109..109..44..108..109
    > hssaSR1D9-11 active 543 479
    > 109..109..44..108..109
    > hssaSR1D9-12 active 543 390
    > 109..36..28..108..109
    > hssaSR1D9-13 active 271 260
    > 55..54..43..54..54
    > hssaSR1D9-16 active 271 144
    > 14..14..08..54..54
    > hssaSR2D9-9 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-10 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-11 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-12 active 543 543
    > 109..109..108..108..109
    > hssaSR2D9-13 active 271 271
    > 55..54..54..54..54
    > hssaSR2D9-16 active 271 271
    > 55..54..54..54..54
    > root@n7p21r3 /dev/pts/1 /
    > # lsdev -Cc pdisk
    > pssaSR1D9-10 Available 3L-08-R1D9-10-P SSA160 Physical Disk Drive
    > pssaSR1D9-11 Available 3L-08-R1D9-11-P SSA160 Physical Disk Drive
    > pssaSR1D9-12 Available 3L-08-R1D9-12-P SSA160 Physical Disk Drive
    > pssaSR1D9-13 Available 3L-08-R1D9-13-P SSA160 Physical Disk Drive
    > pssaSR1D9-16 Available 3L-08-R1D9-16-P SSA160 Physical Disk Drive
    > pssaSR1D9-9 Available 3L-08-R1D9-09-P SSA160 Physical Disk Drive
    > pssaSR2D9-10 Available 3H-08-R2D9-10-P SSA160 Physical Disk Drive
    > pssaSR2D9-11 Available 3H-08-R2D9-11-P SSA160 Physical Disk Drive
    > pssaSR2D9-12 Available 3H-08-R2D9-12-P SSA160 Physical Disk Drive
    > pssaSR2D9-13 Available 3L-08-R2D9-13-P SSA160 Physical Disk Drive
    > pssaSR2D9-16 Available 3L-08-R2D9-16-P SSA160 Physical Disk Drive
    > pssaSR2D9-9 Available 3H-08-R2D9-09-P SSA160 Physical Disk Drive
    > root@n7p21r3 /dev/pts/1 /
    > # lsvg -o
    > datavg
    > rootvg
    > root@n7p21r3 /dev/pts/1 /
    > # mirrorvg -m datavg hssaSR2D9-9 hssaSR2D9-10 hssaSR2D9-11
    > hssaSR2D9-12 hssaSR2D9-13 hssaSR2D9-16
    > 0516-418 allocp: Illegal data on standard input map line 1.
    > 0516-1199 mirrorvg: Failed to create logical partition copies
    > for logical volume jfslog1_lv.
    > 0516-1200 mirrorvg: Failed to mirror the volume group.
    > root@n7p21r3 /dev/pts/1 /
    > #
    1) Why do you have so uncommon hdisk names ? Did you messed around with the
    hdisk names ?

    For debugging:
    I assume that your new "hdisks" are right now empty and that the "mirrorvg"
    does not like the "-" in your hdisk names.
    So:
    * backup up "/usr/sbin/mirrorvg
    * Open the file /usr/sbin/mirrorvg with "vi" and insert a "set -x" in every
    function and in the second line
    * Execute mirrorvg -m datavg ..............

    HTH
    Hajo

    CATE AIX/RS6000

    have no
    Hopefully you have not messed around with the I really do not know






    Hans-Joachim Ehlers Guest

  6. #5

    Default Re: problem with "mirrorvg -m"

    > 1) Why do you have so uncommon hdisk names ? Did you messed around with the
    > hdisk names ?
    Names are OK. I renamed default hdisk naming with simple script to
    easily determine the SSA disk location (each mirror copy's disks are
    located in different SSA rack and drawer - different buildings).
    >
    > For debugging:
    > I assume that your new "hdisks" are right now empty and that the "mirrorvg"
    > does not like the "-" in your hdisk names.
    I don't think this is the reason - I don't remember the problem on
    4.3.3 systems where I have the same disk naming convention with "-")
    BTW: I it will be not possible to do it with "mirrorvg" I'll do it
    with "mklvcopy" which works properly)
    > So:
    > * backup up "/usr/sbin/mirrorvg
    > * Open the file /usr/sbin/mirrorvg with "vi" and insert a "set -x" in every
    > function and in the second line
    > * Execute mirrorvg -m datavg ..............
    First I try to do it without modifying the "mirorvg" - just "set -x"
    for session I run mirrorvg..

    regards,
    Andy.
    >
    > HTH
    > Hajo
    >
    > CATE AIX/RS6000
    >
    > have no
    > Hopefully you have not messed around with the I really do not know
    Andy Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139