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

After installing kernal patch if system crashed,then how to recover?

2 Answers   HP,


wht is the umask value to crate directory with only rw options to root..?

3 Answers  


what is port no for LDAP?

8 Answers  


what are the various layouts that are available in VxVM?

3 Answers   IBM,


what is incident management and change management and prob management in ticketing tool ,can u explain briefly?

6 Answers   BlueStacks, HCL, IBM, TCS,






explain Jumpstat configuration..?

2 Answers   Accenture,


How would you freeze a service group?

1 Answers  


what is SMF service? And what it does in Solaris 10

2 Answers   IBM,


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

2 Answers  


Custom jumpstart works on which protocol? or What basis custom jumpstart works on?

4 Answers   IBM,


What is the use of Ldap utility in solaris

1 Answers  


i have sun ultra10 machine,OS is solaris 9 and i have single harddisk, now i want same ,exact copy of data in anoher harddisk so that i should be able boot from new harddisk, how do yo do this? is it called as cloning?

4 Answers   Symphony,


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)