How make_sys_image keeps file system layout - HP UX

This is a discussion on How make_sys_image keeps file system layout - HP UX ; Hi, According to Ignite manual, we created the dvd image through make_sys_image cmd. For test purpose, we recovered another hp box using dvd. Everything seems to be fine except that the file system layout changed. We want to keep the ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: How make_sys_image keeps file system layout

  1. How make_sys_image keeps file system layout

    Hi,

    According to Ignite manual, we created the dvd image through
    make_sys_image cmd. For test purpose, we recovered another hp box using
    dvd. Everything seems to be fine except that the file system layout
    changed.
    We want to keep the original file system layout. Is there any way to
    maintain it?

    Thx.

    Yan Shaohui


  2. Re: How make_sys_image keeps file system layout

    wrote in message
    news:1158344118.847992.176830@p79g2000cwp.googlegr oups.com...
    > Hi,
    >
    > According to Ignite manual, we created the dvd image through
    > make_sys_image cmd. For test purpose, we recovered another hp box using
    > dvd. Everything seems to be fine except that the file system layout
    > changed.
    > We want to keep the original file system layout. Is there any way to
    > maintain it?
    >
    > Thx.
    >
    > Yan Shaohui
    >


    What actually changed? size? minfree? LVM vs VxVM, mounts?



  3. Re: How make_sys_image keeps file system layout

    File system size.

    M 写道:

    > wrote in message
    > news:1158344118.847992.176830@p79g2000cwp.googlegr oups.com...
    > > Hi,
    > >
    > > According to Ignite manual, we created the dvd image through
    > > make_sys_image cmd. For test purpose, we recovered another hp box using
    > > dvd. Everything seems to be fine except that the file system layout
    > > changed.
    > > We want to keep the original file system layout. Is there any way to
    > > maintain it?
    > >
    > > Thx.
    > >
    > > Yan Shaohui
    > >

    >
    > What actually changed? size? minfree? LVM vs VxVM, mounts?



  4. Re: How make_sys_image keeps file system layout

    Rnee,

    I checked the ignite document and found that we should first run
    'save_config' cmd before make dvd image to make the recovery dvd.

    Here is the my scripts, and it seems to work fine.

    #!/sbin/sh
    WORKDIR=/home/dvd
    GZFILE=B.11.23_archive.gz
    ISOF=`uname -n`.iso
    OUTF=run.out
    CFGF=config.`uname -n`
    save_config -f ${CFGF}
    rm -fr ${WORKDIR}
    mkdir ${WORKDIR}
    rm -f /home/${ISOF}


    /opt/ignite/lbin/list_expander -A | sed -e '/^tmp/d' \
    -e '/^var\/tmp/d' -e '/\.log$/d' -e '/^home\/dvd/d' >
    /root/dvd/mylist /opt/ignite/data/scripts/make_sys_image -s local \
    -R -g /root/dvd/mylist -d ${WORKDIR} -n ${GZFILE} | tee ${OUTF}
    #/opt/ignite/data/scripts/make_sys_image -s local \
    # -R -d ${WORKDIR} -n ${GZFILE} | tee ${OUTF}
    /opt/ignite/lbin/archive_impact \
    -tg ${WORKDIR}/${GZFILE} > /tmp/temp_impacts cat cfg1
    /tmp/temp_impacts cfg2 > ${WORKDIR}/B.11.23.archives.cfg
    #/opt/ignite/bin/make_medialif -a -r B.11.23 \
    # -f /opt/ignite/data/Rel_B.11.23/config \
    # -f ${WORKDIR}/B.11.23.archives.cfg \
    # -l ${WORKDIR}/B.11.23.lifimage | tee -a ${OUTF}
    /opt/ignite/bin/make_medialif -a -r B.11.23 \
    -f ${CFGF} \
    -f ${WORKDIR}/B.11.23.archives.cfg \
    -l ${WORKDIR}/B.11.23.lifimage | tee -a ${OUTF} cp -p
    /opt/ignite/boot/Rel_B.11.23/EFI_CD_image ${WORKDIR}
    /opt/ignite/lbin/mkisofs \
    -D -R -U -max-iso9660-filenames \
    -no-emul-boot \
    -b EFI_CD_image \
    -eltorito-alt-boot \
    -no-emul-boot \
    -b B.11.23.lifimage \
    -o /home/${ISOF} \
    ${WORKDIR} | tee -a ${OUTF}
    /opt/ignite/lbin/instl_combine -C /home/${ISOF} mknod /dev/rscsi/c0t0l0
    c 203 0x000002; chmod 0600 \
    /dev/rscsi/c0t0l0
    /opt/ignite/lbin/growisofs -Z \
    /dev/rdsk/c0t0d0=/home/${ISOF} | tee -a ${OUTF} rm -fr
    ${WORKDIR} rm -fr /home/${ISOF}

    Thanks.

    Yan Shaohui


+ Reply to Thread