手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网站运营>建站经验>列表

光纤硬盘的DD及映像,讨论一下。

来源:互联网 作者:west263.com 时间:2008-04-16
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

"installboot" command.


7) With root mounted under "/a" run the following commands to re-build

the devices tree :


drvconfig -r /a/devices -p /a/etc/path_to_inst


cd /devices

find . -print | cpio -pduVm /a/devices


disks -r /a

devlinks -r /a


NOTE: It is currently necessary to use both "drvconfig" and "find | cpio" due

to bugid 4161768, drvconfig does not work properly with socal disks.


Configure the "boot-device" parameter in the EEPROM using the

"luxadm set_boot_dev /dev/dsk/{root slice entry}" command.


9) Restore the other filesystems on that disk, or comment out the

entries for them from /a/etc/vfstab. At least you must have all the

Solaris filesystems (root, /var, /usr, /opt, etc.) recovered.

补充一点:
假如原有系统根盘采用disksuite做了映像的话,先在缺省引导盘上做1-9步,完毕后做以下步骤:
备份/etc/system,然后将里面的disksuite root信息、内核驱动信息全部删除干净。
* Begin MDD root info (do not edit)
forceload: misc/md_trans
forceload: misc/md_raid
forceload: misc/md_hotspares
forceload: misc/md_sp
forceload: misc/md_stripe
forceload: misc/md_mirror
forceload: drv/pcipsy
forceload: drv/glm
forceload: drv/sd
rootdev:/pseudo/md@0:0,10,blk
* End MDD root info (do not edit)
* Begin MDD database info (do not edit)
set md:mddb_bootlist1="sd:6:16 sd:6:1050 sd:6:2084 sd:14:16 sd:14:1050"
set md:mddb_bootlist2="sd:14:2084 sd:22:16 sd:30:16"
* End MDD database info (do not edit)


10、假如原有系统根盘采用disksuite做了映像的话,需要将disksuite映像配置信息清理掉
/etc/lvm/md.cf

10) Reboot the system from the recovered disk.
建议用reboot -- -r选项重启

12、假如原有系统根盘采用disksuite做了映像的话,正常启动后按照标准做法重新配置disksuite映像。

samshi 回复于:2005-07-11 16:17:20 我是根据sun的文档做的,只是我的环境稍微复杂一点.


文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!