×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Replacing a disk on Sun Cluster 3

    How to replace a disk on a Sun Cluster 3/3.1 cluster with a A5200 array or similar FCAL.

    Obviously it's different depending on whether is under SVM or VxVM control.

    VxVM[edit]

    • Check if the cluster is using 'CVM' (cluster volume manager).
      • vxdctl -c mode (If it shows master/slave then CVM is in use, DO OPERATIONS ON MASTER NODE).
    • Identify the failed drive vxdisk -o alldgs list (note: if the device is 'failing' rather than 'failed' you need to 'remove a disk for replacement' in vxdiskadm first)
    • On the node hosting the device group: replace the device with luxadm luxadm replace_device encolsure,position
    • On the other node connected to the array: Run devfsadm
    • On either node, reconfigure the DID info scdidadm -l c#t#d# then scdidadm -R d# (with the did returned from the first command)
    • On the node hosting the device group,vxdctl enable then then 'replace a failed or removed disk' in vxdiskadm

    SVM[edit]

    • Identify the failed drive metastat -s setname (note: if the device is 'failing' rather than 'failed' you need to detach the relevent plexes first)
    • On the node hosting the device group: replace the device with luxadm luxadm replace_device encolsure,position
    • On the other node connected to the array: Run devfsadm
    • On either node, reconfigure the DID info scdidadm -l c#t#d# then scdidadm -R d# (with the did returned from the first command)
    • On any node connected to the storage, copy the partition table from the mirrored disk to the new disk prtvtoc /dev/did/rdsk/workingdisk-s0 | fmthard -s - /dev/did/rdsk/replaceddisk-s0
    • On any node connected to the storage, delete and add back any broken metadb's
      • metadb -s setname
      • metadb -s setname -d /dev/did/rdsk/replaceddisk-s7
      • metadb -s setname -a -c 3 /dev/did/rdsk/replaceddisk-s7
    • Repair the failed mirror metareplace -s setname d# -e /dev/did/rdsk/replaceddisk-s0
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.