How to find & replace bad disks in solaris & VXVM?plz
explain step by step?

Answers were Sorted based on User's Feedback



How to find & replace bad disks in solaris & VXVM?plz explain step by step?..

Answer / pravin

fist check "iostat -en " output & see which disks having
large Hard, tran ,soft errors .
In Vxvm see Vxprint o/p in u will get failed disk.

Is This Answer Correct ?    22 Yes 2 No

How to find & replace bad disks in solaris & VXVM?plz explain step by step?..

Answer / ramadevi

First check for the failed disk in iostat -En and vxdisk
list
Check if the failed disk is configured as dump device using
dumpadm command.If so change the dump device with dumpadm -v
Then the disk should be shoing as failed was or removed in
vxdisk list if not run vxdiskadm and select option remove
disk for replacement
Then take prtvtoc of the disk
remove the disk under vxvm ---vxdisk rm <diskname>
Physically replace the disk
Run devfsadm to get visibility of disk under OS
Partition the disk with fmthard
To get disk visibility under vxvm run vxdctl enable
Intialize the disk under vxvm with vxdisksetup -i <disk>
Then run vxdiskadm and select option 5 - 'Reattach a failed
or removed disk'
There it will ask for disk to be replaced

Is This Answer Correct ?    15 Yes 1 No

How to find & replace bad disks in solaris & VXVM?plz explain step by step?..

Answer / rao

in veritas:

vxdisk list
vxprint -hvt
check this command
remove the vxdisk remove <disk name>

Is This Answer Correct ?    7 Yes 1 No

How to find & replace bad disks in solaris & VXVM?plz explain step by step?..

Answer / srinivas rao.muvva

Hi Rohitrwx,

Q1)find the failed disk:-

Failed disk information automatically update in log file
with physical path
then run below commands
#format :here we can see like "" Drive not available""
#cfgadm -al
#iostat -en
With these commands we can find disks status.

Q-2) Repalce the failed disks.

If you create non-availablity raid on the disk,No need to
disk replacement
if the disk you using in Availability volume like :
-->RAID-1: first we need to remove plex which is on failed
disk. and recreate plex on newdisk.

-->RAID-5 :Spare disk will palce,
Now we need repalce the failed disk
#vxdiskadm
Select-- 4
Select -- 5
the failed disk will replace
--------------
remove failed disk from veritas

#vxdiskunsetup -C diskpath

Thanks
Srinivas

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

What is the function of truss in solaris?

6 Answers  


command to display default boot device

7 Answers  


how to now the network speed, whether it is a full duplex or half duplex? and what is full duplex and half duplex

3 Answers   Thomson Reuters,


How to increase the size of the file system?

2 Answers  


SUN CLUSTER offline cluster resources on smslu131

2 Answers  






How will check patches installed

1 Answers  


What is the purpose of ha daemons in VCS servers?

4 Answers  


How to check boot promt version from command prompt

7 Answers   IBM,


What is meant by persistant binding?

0 Answers   ITC Infotech,


How to Create a snapshot volume

2 Answers  


How to stop one node cluster exclusively

1 Answers  


what is the difference between /var/adm/ and /var/sadm directory contains in solaris?

1 Answers   TCS,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)