Answer Posted / 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 |
Post New Answer View All Answers
How to create a gateway?
What is cachefs?
What is the zone in DNS?
how can u give space garentee for volume in netapp storage
What is the use of Sam utility in solaris
How do u know that,what patch can be applicable on the system?
Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh
hi to all,, i need few real time issues please provide me,, if you have any,,,
In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?
Local zone in shutting down state.how to bring state of zone to installed?
what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?
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?