Pb with alt_disk_copy - Aix

This is a discussion on Pb with alt_disk_copy - Aix ; Hi, I try to migrate AIX 5.3 from a local to a SAN disk for a new machine machine1: hdisk0 (34GB) hdisk1 (34GB) I changed copies =1 in /image.data machine2: hdisk (72GB) restore mksysb OK alt_disk: hdisk2 (SAN:34GB) KO with ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Pb with alt_disk_copy

  1. Pb with alt_disk_copy

    Hi,

    I try to migrate AIX 5.3 from a local to a SAN disk
    for a new machine

    machine1:
    hdisk0 (34GB)
    hdisk1 (34GB)
    I changed copies =1 in /image.data

    machine2:
    hdisk (72GB)
    restore mksysb
    OK

    alt_disk:
    hdisk2 (SAN:34GB)
    KO with the problem below

    can you help me ?

    alh:root:/#lscfg| grep hdisk
    * hdisk1 U7311.D20.65695BB-P1-C07-T1-W500604844893F5DC-L0
    EMC Symmetrix FCP Raid1
    * hdisk2
    U7311.D20.65695BB-P1-C07-T1-W500604844893F5DC-L132000000000000 EMC
    Symmetrix FCP RaidS
    * hdisk3 U7311.D20.65695BB-P1-C07-T2-W500604844893F5D3-L0
    EMC Symmetrix FCP Raid1
    * hdisk4
    U7311.D20.65695BB-P1-C07-T2-W500604844893F5D3-L132000000000000 EMC
    Symmetrix FCP RaidS
    + hdisk0 U787B.001.DNWFS2S-P1-T14-L8-L0
    16 Bit LVD SCSI Disk Drive (73400 MB)



    alh:root:/#alt_disk_copy -d hdisk2
    Calling mkszfile to create new /image.data file.
    Checking disk sizes.
    Creating cloned rootvg volume group and associated logical volumes.
    Creating logical volume alt_hd5
    Creating logical volume alt_hd6
    Creating logical volume alt_hd8
    Creating logical volume alt_hd4
    Creating logical volume alt_hd2
    Creating logical volume alt_hd9var
    Creating logical volume alt_hd3
    Creating logical volume alt_hd1
    Creating logical volume alt_hd10opt
    Creating logical volume alt_lg_dumplv
    Creating logical volume alt_rootvglv01
    Creating logical volume alt_loglv00
    Creating logical volume alt_rootvglv02
    Creating /alt_inst/ file system.
    Creating /alt_inst/dist file system.
    Creating /alt_inst/home file system.
    Creating /alt_inst/logir file system.
    Creating /alt_inst/opt file system.
    Creating /alt_inst/tmp file system.
    Creating /alt_inst/usr file system.
    Creating /alt_inst/var file system.
    Generating a list of files
    for backup and restore into the alternate file system...
    Backing-up the rootvg files and restoring them to the
    alternate file system...
    Modifying ODM on cloned disk.
    Building boot image on cloned disk.
    Error opening disk: The requested resource is busy.
    Error opening disk: The requested resource is busy.
    Error opening disk: The requested resource is busy.
    Error opening disk: The requested resource is busy.

    0301-101 /usr/lib/boot/bin/mkboot_chrp: Device open failure: /dev/hdisk0

    0301-158 bosboot: mkboot failed to create bootimage.

    0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.
    0505-120 alt_disk_install: Error running bosboot in the cloned
    root volume group.
    Cleaning up.
    forced unmount of /alt_inst/var
    forced unmount of /alt_inst/usr
    forced unmount of /alt_inst/tmp
    forced unmount of /alt_inst/opt
    forced unmount of /alt_inst/logir
    forced unmount of /alt_inst/home
    forced unmount of /alt_inst/dist
    forced unmount of /alt_inst
    forced unmount of /alt_inst




  2. Re: Pb with alt_disk_copy

    On Sep 27, 2:43 pm, "astalavista" wrote:
    > Hi,
    >
    > I try to migrate AIX 5.3 from a local to a SAN disk
    > for a new machine
    >
    > machine1:
    > hdisk0 (34GB)
    > hdisk1 (34GB)
    > I changed copies =1 in /image.data
    >
    > machine2:
    > hdisk (72GB)
    > restore mksysb
    > OK
    >
    > alt_disk:
    > hdisk2 (SAN:34GB)
    > KO with the problem below


    The following link provides a description how to migrate the rootvg to
    another disk. I have used this method several times to migrate from
    an internal disk drive to an EMC SAN volume.

    http://publib.boulder.ibm.com/infoce...nformation.htm

    Search for "Migrating the contents of a physical volume"

    You may also be albe to restore the mksysb contents directly to the
    EMC volume if you are running version 5.3, technology level 5, service
    pack 5 or later (it will not work with earlier versions). You need to
    have your SAN engineer verify that the EMC volume that you want to use
    as a boot volume is a standard volume. You cannot use a BCV volume as
    a boot volume.


+ Reply to Thread