版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、一.磁盘克隆安装操作系统。1.操作系统环境。# oslevel -s6100-04-10-1119# bootlist -m normal -ocd0hdisk0 pathid=0# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1
2、160; 00cc1ad46aff307f None 2.使用alt_disk_install工具克隆磁盘。# alt_disk_install -OCB hdisk1+-+ATTENTION: calling new module /usr
3、/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
4、.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 logi
5、cal 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.
6、 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 e
7、xtents 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 alrea
8、dy 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
9、 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 the alternate file system.Modifying ODM on cloned disk.Building boot image on cloned disk.Resetting all device attributes.NOTE: The firs
10、t 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 o
11、f /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/homeforc
12、ed 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
13、160; 这个命令克隆的盘,可以拿到不同硬件配置的服务器上使用,使用它进行引导时,会删除ODM库里的所有信息,根据硬件重新配置所有设备信息,相当于使用克隆盘重新安装新的系统。alt_disk_install -CB hdisk1 如果是相同硬件配置的机器,则可以运行这个命令克隆磁盘,保持所有设备信息。3.查看克隆情况。# lspvhdisk0 00cc1ad4ef095bf0
14、 rootvg active hdisk1 00cc1ad46aff307f altinst_rootvg #alt_di
15、sk_install -X#rmdev -dl hdisk1hdisk1对应的卷组名为altinst_rootvg。# bootlist -o -m normalcd0hdisk0 pathid=0查看引导列表,未发生变化。4.重启操作系统。# lspvhdisk0 00cc1ad4ef095bf0 rootvg activ
16、e hdisk1 00cc1ad46aff307f altinst_rootvg # bootlist -o -m normalcd0hdisk0 pathid=0卷组名和引导顺序未发生变化。5.拔掉克隆磁盘。关闭操作系统,拔掉hdisk1,重启源服务器,查
17、看服务器情况:# lspvhdisk0 00cc1ad4ef095bf0 rootvg active # lsdev -Cc diskhdisk0 Available 01-08-00 SAS Disk Drivehdisk1 Defined 01-08-00 SAS D
18、isk 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
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年邵阳职业技术学院单招综合素质考试题库与答案详解
- 2026年重庆海联职业技术学院单招职业适应性测试题库及答案详细解析
- 2026年海南省海口市高职单招职业技能考试题库与答案详解
- 2025-2026学年湖北省宜昌市中考化学适应性模拟试题(含答案解析)
- 2026年洛阳科技职业学院单招职业技能考试题库带答案详解
- 2026年重庆幼儿师范高等专科学校单招综合素质考试题库附答案详解
- 2026年江西旅游商贸职业学院单招职业适应性测试题库与答案详解
- 2026年银川能源学院单招职业适应性测试题库与答案详解
- 2026年苏州市职业大学单招职业适应性测试题库及答案详细解析
- 学生的理想当医生演讲稿
- 2026年甘肃事业单位联考笔试易考易错模拟试题(共500题)试卷后附参考答案
- 《化工HSE与清洁生产》课件-项目6 危险化学品
- 七下综合世界真奇妙-共享“地球村”
- 2022版小学语文新课程标准解读
- 肿瘤放射治疗策略放射生物学基础篇
- 机场危险品与爆炸物安全处置8-爆炸犯罪与爆炸物管理及炸药
- 品管圈提高床头抬高达标率
- 去极端化课件
- 文化产业经济学 焦斌龙课件第二章 文化产业沿革
- GB/T 6188-2017螺栓和螺钉用内六角花形
- 商业插画设计全套精美课件
评论
0/150
提交评论