今天在做alt_disk_install备份操作系统时,报如下错误。ps:操作系统是aix 5.3 rootvg做了镜像 在image.data中已把各文件系统copy数改成1了,用同样的方法备份其它主机正常
#tail -f nohup.out
cleanupAndExit:mmglobfuncs.sh[25]> [[ no = yes ]]
cleanupAndExit:mmglobfuncs.sh[25]> [[ no = yes ]]
cleanupAndExit:mmglobfuncs.sh[25]> /usr/bin/rm -f /var/mmfs/tmp/adapterFile.mmlspv.1482828 /var/mmfs/tmp/relNamesFile.mmlspv.1482828 /var/mmfs/tmp/sdrNodeFile.mmlspv.1482828 /var/mmfs/tmp/sdrfs.mmlspv.1482828 /var/mmfs/tmp/newsdrfs.mmlspv.1482828 /var/mmfs/tmp/volGroupFile.mmlspv.1482828 /var/mmfs/tmp/tmpfile.mmlspv.1482828 /var/mmfs/tmp/tmpfile2.mmlspv.1482828 /var/mmfs/tmp/tmpsdrfs.mmlspv.1482828 /var/mmfs/tmp/vsdNamesFile.mmlspv.1482828 /var/mmfs/tmp/sdrVsdFile.mmlspv.1482828 /var/mmfs/tmp/stanza.mmlspv.1482828 /var/mmfs/tmp/oldstanza.mmlspv.1482828 /var/mmfs/tmp/newstanza.mmlspv.1482828 /var/mmfs/tmp/newcfg.mmlspv.1482828 /var/mmfs/tmp/tmpCfg.mmlspv.1482828 /var/mmfs/tmp/tmpNodes.mmlspv.1482828 /var/mmfs/tmp/diskfile.mmlspv.1482828 /var/mmfs/tmp/tmpPref.mmlspv.1482828 /var/mmfs/tmp/oldsdrfs.mmlspv.1482828 /var/mmfs/tmp/nodefile.mmlspv.1482828 /var/mmfs/tmp/sgDiskLines.mmlspv.1482828 /var/mmfs/tmp/diskNamesFile.mmlspv.1482828 /var/mmfs/tmp/errMsg.mmlspv.1482828 /var/mmfs/tmp/errMsg2.mmlspv.1482828 /var/mmfs/gen/mmsdrfs.1482828 /var/mmfs/tmp/lslvOutput.mmlspv.1482828 /var/mmfs/tmp/unreachedNodes.mmlspv.1482828 /var/mmfs/tmp/remainingFs.mmlspv.1482828 /var/mmfs/tmp/allClusterNodes.mmlspv.1482828 /var/mmfs/tmp/allQuorumNodes.mmlspv.1482828 /var/mmfs/tmp/lqueryvgResult.mmlspv.1482828 /var/mmfs/tmp/tmpAuthKeys.mmlspv.1482828 /var/mmfs/tmp/knownCluster.1482828_* /var/mmfs/gen/tmpDirectMap
cleanupAndExit:mmglobfuncs.sh[25]> _mmTRACE_EXIT_disabled rc=0
cleanupAndExit:mmglobfuncs.sh[25]> exit 0
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_loglv00
Creating logical volume alt_lv00
Creating /alt_inst/oracle file system.
0505-104 alt_disk_install: crfs failed to create file system
/alt_inst/oracle.
0516-306 getlvodm: Unable to find alt_oracle_lv in the Device
Configuration Database.
/usr/sbin/getlvodm: A flag requires a parameter: y
Usage: /usr/sbin/getlvodm [-a LVdescript] [-B LVdescript] [-b LVid] [-c LVid]
[-C] [-d VGdescript] [-e LVid] [-F] [-g PVid] [-h] [-j PVdescript]
[-k] [-L VGdescript] [-l LVdescript] [-m LVid] [-p PVdescript]
[-r LVid] [-s VGdescript] [-t VGid] [-u VGdescript] [-v VGdescript]
[-w VGid] [-y LVid] [-G LVdescript]
crfs: 0506-923 Cannot get logical volume type from odm.
收起