- 论坛徽章:
- 7
|
Contributed by
ray@west.gecems.com
How to replace an E3500 internal fiber channel attached disk, as long as it's not the boot disk.
vxdiskadm
luxadm stop
luxadm remove_device
luxadm_insert
format (check to see new disk)
vxdctl enable
vxdiskadm
If for some reason luxadm doesn't work right check to see you have all the patches installed (Sun Service). Create new disk entries in /etc/path_to_inst
yank bad disk
insert good disk
drvconfig -p /etc/path_to_inst
(If you would like to create a new path_to_inst file to a different location for some reason you can run
# drvconfig -r -p /a/etc/path_to_inst)
disks
devlinks
format (check to see new disk)
vxdctl enable
vxdiskadm
The real issue with the wwn's is that they are written to /etc/path_to_inst and /etc/path_to_inst.old so when they new disks are inserted there is a wwn mismatch. If you have the luxury of being able to reboot and create a new path_to_inst file, your proceedure can go something like
vxdiskadm
mv /etc/path_to_inst /etc/orig.path_to_inst
mv /etc/path_to_inst.old /etc/orig.path_to_inst.old
yank disk
reboot -- -rsap (reconfig,single user,ask questions,new path_to_inst) answer the questions
format check to see if your new disk(s) are there
init 3
vxdctl enable
vxdiskadm
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/43/showart_100114.html |
|