How to find & replace bad disks in solaris & VXVM?plz
explain step by step?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
How will check patches installed
How to view the kernel (shmmax)paramiter value in solaris 10?
Tell me the port for Telnet, ftp,nis,ssh,nfs
What is the difference between container and zones?
what is a solaris toolkit
Which service assign port no dynamically
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.
How to lock the user id in solaris?
what is the command to know about pkg information
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
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?
How to do the disk cloning on solaris