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

How to create a gateway?

4 Answers   CTS,


how to configure default router..?

3 Answers  


how to add swap space?

2 Answers   CSC,


how can u view installed packages

3 Answers   IBM,


How to identify multiple paths for a disk.?

2 Answers  






how many layouts we have in veritas volume manager and what is the task of those layouts?

6 Answers   IBM,


How to use disk quotas in solaris (command mode) ? what is the procedure for checking disk space of the particular user in command mode?

7 Answers   Samsung,


NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?

4 Answers  


How to repalce a failed disk?

3 Answers   Satyam,


what file shows all available ports?

1 Answers  


how to check network statstics..?

5 Answers  


explain Jumpstat configuration..?

2 Answers   Accenture,


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)