AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  alt_disk_copy for VIOS

    Posted Tue August 02, 2011 06:17 AM

    Originally posted by: karthikraja


    Dear All,

    Am planning to clone the root vg (alt_disk_copy) to different disk, my query is will it work for VIO servers ? if so , can we use the target disk to boot ?

    Thanks,
    Karthi


  • 2.  Re: alt_disk_copy for VIOS

    Posted Sun August 07, 2011 03:59 PM

    Originally posted by: SystemAdmin


    Yes. It will work for the VIOS. You can run it from the root prompt. Once the alternate disk copy process completes, By default the first boot device will be the disk which you have mentioned on the alt_disk_copy -d <hdisk#> command.
    1. Kannan.


  • 3.  Re: alt_disk_copy for VIOS

    Posted Mon August 08, 2011 07:14 AM

    Originally posted by: karthikraja


    Hi Kannan,

    Thanks for the info, have you tried to boot form the Cloned Disk and able to see all mappings ?

    Thanks,
    Karthik


  • 4.  Re: alt_disk_copy for VIOS

    Posted Mon August 08, 2011 05:09 PM

    Originally posted by: SystemAdmin


    The command from ioscli is alt_root_vg but it does not have -X option (clean the alt_disk_install) and you run this from root shell.


  • 5.  Re: alt_disk_copy for VIOS

    Posted Mon August 08, 2011 05:53 PM

    Originally posted by: SystemAdmin


    Yes, If you boot the VIOS on the cloned disk, It should come up properly with all the configuration.

    I have done this test, while I have performed the VIOS upgrade.
      1. Kannan


  • 6.  Re: alt_disk_copy for VIOS

    Posted Mon August 08, 2011 05:56 PM

    Originally posted by: SystemAdmin


    Kerthi,

    Are you facing any issues, If you boot the VIOS on the cloned disk ?
    Kannan


  • 7.  Re: alt_disk_copy for VIOS

    Posted Tue August 09, 2011 09:47 AM

    Originally posted by: karthikraja


    Kannan,

    No, Thanks for the info.

    Thanks,
    Karthik


  • 8.  Re: alt_disk_copy for VIOS

    Posted Wed October 24, 2012 12:05 AM

    Originally posted by: SystemAdmin


    This works good but I have one doubt. alt_disk_copy does not back-up unmounted FS. If I have an LV mapped to VIO client as vscsi disk, alt_disk_copy will take it as unmounted FS and will not backup ( though LV should be created ) and then if VIO is booted from alt_rootvg, the VIO client will not have data in that LV mapped disk.

    Have you tried this?


  • 9.  Re: alt_disk_copy for VIOS

    Posted Thu October 25, 2012 01:59 PM

    Originally posted by: teletype


    Hey Amit,
    Maybe I am missing the point here. But for a vio server the logical volume does not contain a filesystem so it would be impossible to backup/restore it. This is, to the best of my knowledge, what alt_disk_copy does.
    Furthermore I hope you did not make the logical volumes in rootvg but used another volumegroup for it. If you did, then you are in trouble if you use alt_disk_copy.

    Hope this helps


  • 10.  Re: alt_disk_copy for VIOS

    Posted Fri October 26, 2012 04:33 AM

    Originally posted by: PontiacGeronimo


    i think you could wake alt_rootvg up and do copy the lv using dd or cplv --- I have using dd many times clonning LV backend devices and it worked.
    of coure better is to stop client fisrt or assing to the client another disks"LV" from non-rootvg and migrate it to it (via mklvcopy or mirrorvg).