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 to view how many samba user in solaris

4 Answers   3i Infotech,


Options in ufsdump

1 Answers  


What are the NFS daemon in server & client

2 Answers  


My solaris system has 16GB RAM and swap. /tmp is associated to swap. We use vmstat command to get used system memory. We observe that once we fill up /tmp, it reflects in vmstat command. My intention is only to get overall used memory in RAM. 1. Can you let me know the if there is a solaris command to just get used memory in RAM? 2. How is /tmp filling up associated to "free memory" in vmstat command?

2 Answers  


Explain RAID0, RAID1, RAID3,

1 Answers  


If the /var file system is full then what you will do.

2 Answers   HP, ITC Infotech,


What is meant by persistant binding?

0 Answers   ITC Infotech,


How will see the hostname

3 Answers  


What is encapsulation?

3 Answers  


How to create NULL files of specific size in solaris ?

9 Answers   IBM,


If super block corrupted how to recover

2 Answers  


I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.

3 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)