How to repalce a failed disk?
Answers were Sorted based on User's Feedback
1) echo |format
check the all disks and find out the failed disk
2) check the dick is configured in veritas or meta
3) remove the disk from veritas or meta controller
4) insert a new disk
5) run devfsadm -c disk
or
devfsadm
format c0t0dx
6) configure the disk
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / priya
Check the status of the disks using command: iostat -e
or if the disk is a metadevice then use metastat -p
If the disk is faulty and needs to be removed then use the
prtvtoc /dev/rdsk/c#t#d#s2 > /diskprtvtoc to save the disk
partition.
Use the command cfgadm -c unconfigure c1::dsk/c1t1do to
unconfigure the device
verify using cfgadm -al if the disk is unconfigured
remove the failed disk using command cfgadm -x
remove_device c1::/dsk/c1t1do
run devfsadm -C -c disk to invoke cleanup to remove device
pathsand unreferenced links
verify it ls -ld /dev/rdsk/c1t1dos2 this should return no
devices
it is safe to physically remove the disk n replace
cfgadm -x insert_device c1::/dsk/c1t1do
now configure it cfgadm -c configure c1::dsk/c1t1do
Run devfsadm and verify about the configured disk using ls -
ld command.
Run the fmthard -s /diskprtvtoc /dev/rdsk/c1t1d0s2 to copy
back the saved partitions to the new configured and
inserted disk
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / raviga006
Ok > prtenv boot-device
ok> setenv boot-device <new boot disk address>
ok> boot
| Is This Answer Correct ? | 3 Yes | 10 No |
What is RPC?
how to add a run control script..?
how can u crete snapshot
what is split brain? if it happens, what are the solutions need to be applicable?
Major Difference between sparc and X86 systems
what is state database replica and how to create it
how to create 30 gb of volume using raid 0 concatination on three different disk
How to brk the root pwd?
when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?
benifits of SMF over LRC
booting process in solaris
13 Answers IBM, OMS, Wipro,
wat is router? How do u find a default router?