使用磁盘克隆 AIX操作系统new.doc_第1页
使用磁盘克隆 AIX操作系统new.doc_第2页
使用磁盘克隆 AIX操作系统new.doc_第3页
使用磁盘克隆 AIX操作系统new.doc_第4页
使用磁盘克隆 AIX操作系统new.doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

一.磁盘克隆安装操作系统。1.操作系统环境。# oslevel -s6100-04-10-1119# bootlist -m normal -ocd0hdisk0 pathid=0ent0 speed=auto duplex=auto bserver=000.000.000.000 client=000.000.000.000 gateway=000.000.000.000# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1 00cc1ad46aff307f None 2.使用alt_disk_install工具克隆磁盘。# alt_disk_install -OCB hdisk1+-+ATTENTION: calling new module /usr/sbin/alt_disk_copy. Please see the alt_disk_copy man pageand documentation for more details.Executing command: /usr/sbin/alt_disk_copy -O -B -d hdisk1+-+Calling mkszfile to create new /image.data file.Checking disk sizes.Creating cloned rootvg volume group and associated logical volumes.Creating logical volume alt_hd5Creating logical volume alt_hd6Creating logical volume alt_hd8Creating logical volume alt_hd4Creating logical volume alt_hd2Creating logical volume alt_hd9varCreating logical volume alt_hd3Creating logical volume alt_hd1Creating logical volume alt_hd10optCreating logical volume alt_hd11adminCreating logical volume alt_livedumpCreating /alt_inst/ file system./alt_inst filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/admin file system./alt_inst/admin filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/home file system./alt_inst/home filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/opt file system./alt_inst/opt filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/tmp file system./alt_inst/tmp filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/usr file system./alt_inst/usr filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/var file system./alt_inst/var filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/var/adm/ras/livedump file system./alt_inst/var/adm/ras/livedump filesystem not converted. Small inode extents are already enabled.Generating a list of filesfor backup and restore into the alternate file system.Backing-up the rootvg files and restoring them to thealternate file system.Modifying ODM on cloned disk.Building boot image on cloned disk.Resetting all device attributes.NOTE: The first boot from altinst_rootvg will prompt to define the newsystem console.Resetting all device attributes.NOTE: The first boot from altinst_rootvg will prompt to define the newsystem console.forced unmount of /alt_inst/var/adm/ras/livedumpforced unmount of /alt_inst/var/adm/ras/livedumpforced unmount of /alt_inst/varforced unmount of /alt_inst/varforced unmount of /alt_inst/usrforced unmount of /alt_inst/usrforced unmount of /alt_inst/tmpforced unmount of /alt_inst/tmpforced unmount of /alt_inst/optforced unmount of /alt_inst/optforced unmount of /alt_inst/homeforced unmount of /alt_inst/homeforced unmount of /alt_inst/adminforced unmount of /alt_inst/adminforced unmount of /alt_instforced unmount of /alt_instChanging logical volume names in volume group descriptor area.Fixing LV control blocks.Fixing file system superblocks.执行这个命令需要bos.alt_disk_install.rte软件包。alt_disk_install -OCB hdisk1 这个命令克隆的盘,可以拿到不同硬件配置的服务器上使用,使用它进行引导时,会删除ODM库里的所有信息,根据硬件重新配置所有设备信息,相当于使用克隆盘重新安装新的系统。alt_disk_install -CB hdisk1 如果是相同硬件配置的机器,则可以运行这个命令克隆磁盘,保持所有设备信息。3.查看克隆情况。# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1 00cc1ad46aff307f altinst_rootvg #alt_disk_install -X#rmdev -dl hdisk1hdisk1对应的卷组名为altinst_rootvg。# bootlist -o -m normalcd0hdisk0 pathid=0ent0 speed=auto duplex=auto bserver=000.000.000.000 client=000.000.000.000 gateway=000.000.000.000查看引导列表,未发生变化。4.重启操作系统。# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1 00cc1ad46aff307f altinst_rootvg # bootlist -o -m normalcd0hdisk0 pathid=0ent0 speed=auto duplex=auto bserver=000.000.000.000 client=000.000.000.000 gateway=000.000.000.000卷组名和引导顺序未发生变化。5.拔掉克隆磁盘。关闭操作系统,拔掉hdisk1,重启源服务器,查看服务器情况:# lspvhdisk0 00cc1ad4ef095bf0 rootvg active # lsdev -Cc diskhdisk0 Available 01-08-00 SAS Disk Drivehdisk1 Defined 01-08-00 SAS Disk Drive删除被拔掉的磁盘:# rmdev -dl hdisk1hdisk1 deleted# lsdev -Cc diskhdisk0 Available 01-08-00 SAS Disk Drive6.将克隆磁盘移植到新服务器。 将hdisk1插入新服务器,新插入的盘不会自动引导系统的启动,需要在分区启动时进入SMS菜单,手动指定磁盘启动。1).进入SMS菜单,选择5:2).选择1:3).选择7:4).选择3引导系统:5).选择2:6).选择1:7).选择2:7.检查系统:# lspvhdisk0 00cc1ad46aff307f rootvg active # lsdev -Cc diskhdisk0 Available 00-08-00 SAS Disk Drive# bootlist -o -m normalcd0-ent0 speed=auto duplex=auto bserver=000.000.000.000 client

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论