Move an installed (Open)Solars from one disk to another

Procedure:

1. Take a backup. Rince and repeat. Take another backup as well.
2. change hardware
3. Boot failsafe single user on new hardware - normally your root disk
gets mounted as /a doing this.
4. Replace /a/etc/path_to_inst with the failsafe /etc/path_to_inst
(should be a single stub line)
5. Remove the physical devices from /a/devices i.e the pci@* paths (rm
-rf). Dont touch any pseudo or others you are unsure of.
6. do an rm /dev/dsk/*, /dev/rdsk/* to get rid of the old entries
7. run devfsadm to fix up the device config from scratch:

# devfsadm -r /a

8. Check that the entries in /a/devices and /a/etc/path_to_inst are now
populated. If not, use tar to copy the failsafe device tree in place
and run step 7 again i.e

# cd /devices; tar cvf -|(cd /a/devices; tar xf -)

9. Check /a/dev/dsk - make sure you have disks.
10. edit /a/boot/solaris/bootenv.rc - fix your boot-device path
11. Check no disk names have changed - if they have, fix /etc/vfstab
12. Run "bootadm update-archive -R /a" to repack your boot archive.

You should now be able to boot off the disk as if it always lived on
your system.

this is really just a modification of an old procedure for SPARC systems
to re-order controller numbers. There is probably an Infodoc on it
somewhere.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值