How to repalce a failed disk?

Answers were Sorted based on User's Feedback



How to repalce a failed disk?..

Answer / phani-a

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

How to repalce a failed disk?..

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

How to repalce a failed disk?..

Answer / raviga006

Ok > prtenv boot-device

ok> setenv boot-device <new boot disk address>

ok> boot

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More Solaris AllOther Interview Questions

what is the difference between ssh & telnet

10 Answers   HP, Lehman Brothers, Linux, Shiraz, Tech Mahindra,


What does fmthard do?

9 Answers   Accel,


how to see nfs server from the client and the share directories

5 Answers   IBM,


how to add a disk group in veritas from one system to another system?

2 Answers   TCS,


what r the daily responsibilities of u as a system administrator

10 Answers   ADP, IBM, Infosys, Wipro,






How do you view shared memory statistics?

3 Answers  


what is use of boot -a

3 Answers   TCS,


if storage contain 500 disks in this one disk is failed,we placed new disk in failed disk place,how can we find out exact path of the newly installed disk when we execute format command?

5 Answers   TCL,


What is the profile file for ordinary user, when those will execute..?

2 Answers  


If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?

2 Answers   Satyam,


If a users is logged in to your system, and now you want to restrict that user what will you do?

1 Answers  


What is process id of init daemon?

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)