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

difference b/w solais 8 and 9...?

1 Answers  


What is a layered volume? how to create it using vxmake?

1 Answers  


what is the use of Jumpstart in Solaris and how can u configure it

2 Answers   IBM,


I have a hard disk. After inserting this what are the recommended steps to install it on your solaris

1 Answers   HCL,


how to determine how many nfs server are there from nfs client

2 Answers   IBM,






How do u know that,what patch can be applicable on the system?

0 Answers  


what is the difference between detached and disassociate state of plexes?

2 Answers  


what is difference between tar and cpio

1 Answers   IBM,


If root file system 100% full what you have to do?

5 Answers   Tech Mahindra,


Compare and contrast VCS and Sun Cluster.

1 Answers  


How do you give a user access to an application or program that needs to run as root without giving them the root password?

2 Answers   Infosys,


How do you boot from CD-ROM?

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