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

How will check patches installed

1 Answers  


How to view the kernel (shmmax)paramiter value in solaris 10?

6 Answers   Xavient,


Tell me the port for Telnet, ftp,nis,ssh,nfs

5 Answers  


What is the difference between container and zones?

1 Answers   IBM,


what is a solaris toolkit

1 Answers  






Which service assign port no dynamically

1 Answers  


When iam checking the services its showing unintialized then what should i do step by step.pls tell me the answer as soon as posible.

1 Answers   Wipro,


How to lock the user id in solaris?

4 Answers  


what is the command to know about pkg information

7 Answers  


Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 755 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please every body and wite the proper answer. Thanks in Advance

2 Answers  


How would you truncate a log file that is growing too large if you don't have space to compress it or to move it somewhere else? How would you do it?

3 Answers  


How to do the disk cloning on solaris

1 Answers  


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)