How to replace an E3500 internal fiber channel attached disk, as long as
it's not the boot disk.
-
vxdiskadm <remove for replacement>
-
luxadm stop <disk>
-
luxadm remove_device <disk>
-
luxadm_insert
-
format (check to see new disk)
-
vxdctl enable
-
vxdiskadm <replace a removed disk>
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 <replace a removed disk>
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 <remove for replacement>
- 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 <replace a removed disk>