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.

  1. vxdiskadm <remove for replacement>
  2. luxadm stop <disk>
  3. luxadm remove_device <disk>
  4. luxadm_insert
  5. format (check to see new disk)
  6. vxdctl enable
  7. 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

  1. yank bad disk
  2. insert good disk
  3. 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)
  4. disks
  5. devlinks
  6. format (check to see new disk)
  7. vxdctl enable
  8. 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

  1. vxdiskadm <remove for replacement>
  2. mv /etc/path_to_inst /etc/orig.path_to_inst
  3. mv /etc/path_to_inst.old /etc/orig.path_to_inst.old
  4. yank disk
  5. reboot -- -rsap (reconfig,single user,ask questions,new path_to_inst) answer the questions
  6. format check to see if your new disk(s) are there
  7. init 3
  8. vxdctl enable
  9. vxdiskadm <replace a removed disk>