![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1001992.1 : Solaris Cluster 3.x How to Change SCSI JBOD Disk Under Veritas Volume Manager 3.x
PreviouslyPublishedAs 202778 Applies to:Solaris Cluster - Version 3.0 to OSC 3.3 3/13 [Release 3.0 to 3.3]Sun Storage D2 Array - Version All Versions to All Versions [Release All Releases] Sun Storage D1000 Array - Version All Versions to All Versions [Release All Releases] Sun Storage 3310 Array - Version Not Applicable and later Oracle Solaris on SPARC (64-bit) Oracle Solaris on SPARC (32-bit) Oracle Solaris on x86-64 (64-bit) Oracle Solaris on x86 (32-bit) GoalThis article explains how to change a SCSI JBOD (Just A Bunch Of Disks) under Veritas Volume Manager 3.x in Solaris Cluster 3.x (D1000, D2, 3310 JBOD...) For Solaris Volume Manager (also known as Solstice DiskSuite), refer to <Document 1004951.1> . SolutionIn the following example, c3t11d0 is a failed disk and Veritas volume manager (VxVM) has already detached it. 1. Identify the failed disk's sd instance number. Save this information for step 7. % /usr/bin/ls -l /dev/dsk/c3t11d0s2
lrwxrwxrwx 1 root root 44 May 23 13:48 /dev/dsk/c3t11d0s2 -> ../../devices/pci@8,700000/scsi@5,1/sd@b,0:c % /usr/bin/grep \/pci@8,700000\/scsi@5,1\/sd@b,0 /etc/path_to_inst
2. Use scdidadm to extract information about the failed disk's DID number and diskid. Save this information for step 8. % /usr/cluster/bin/scdidadm -L |grep c3t11d0
13 m1lab50:/dev/rdsk/c3t11d0 /dev/did/rdsk/d13 13 m1lab51:/dev/rdsk/c3t11d0 /dev/did/rdsk/d13 % /usr/cluster/bin/scdidadm -o diskid -l c3t11d0 or which is more readable for on-site engineers % /usr/cluster/bin/scdidadm -o asciidiskid -l d13 3. On both nodes, remove the Veritas volume manager entry of the failed disk. % /usr/sbin/vxdisk offline c3t11d0
% /usr/sbin/vxdisk rm c3t11d0 % /usr/sbin/vxdisk list | /usr/bin/grep c3t11d0 - - disk20 testdg failed was:c3t11d0s2 4. Physically disconnect the failed disk from JBOD array. Refer to the Sun System Handbook for additional instructions. 5. On both nodes, unconfigure the failed disk. % /usr/sbin/cfgadm -c unconfigure c3::dsk/c3t11d0
% /usr/sbin/devfsadm -C (c3t11d0 has been unconfigured as below) (device has been removed as below) % /usr/bin/ls /devices/pci@8,700000/scsi@5,1/sd@b,0:c
6. Physically connect a new disk to JBOD array. 7. On both nodes, configure the new disk. % /usr/sbin/cfgadm -c configure c3::sd306
% /usr/sbin/devfsadm (c3t11d0 has been configured as below) (device has been created as below) % ls /devices/pci@8,700000/scsi@5,1/sd@b,0:c 8. On both nodes, update DID. % /usr/cluster/bin/scdidadm -R d13
(did has been updated) % /usr/cluster/bin/scdidadm -o diskid -l c3t11d0 9. On both nodes, reconstruct the volume manager. % /usr/sbin/vxdctl enable
% /usr/sbin/vxdisk list | /usr/bin/grep c3t11d0
10. Finally, recover the volume manager. % /usr/sbin/vxdiskadm
then use option 5 : 5 Replace a failed or removed disk (VM recovery has been started)
Refer to the following bug for more information: Bug ID 5102351 Attachments This solution has no attachment |
||||||||||||
|