Hello,
I am running Solaris 8 Enterprise. I had 2 drives in RAID 1. One of the drives failed and it was still up and running. I replaced the drive. I ran the command: prtvtoc /dev/rdsk/c1t0d0s1 | fmthard -s - /dev/rdsk/c1t1d0s1
Unfortunately, I didn't realize the drives were switched when the one failed, and I formatted the good drive! The metastat database never updated when the drives were switched, and thus the mix up.
How do I recover the data?
Is there a way where I can switch the drives around again, boot from a Solaris CD, and rebuild the boot partition to recover the data? If so, could someone please advise to those steps?
Best Regards,
John
I am running Solaris 8 Enterprise. I had 2 drives in RAID 1. One of the drives failed and it was still up and running. I replaced the drive. I ran the command: prtvtoc /dev/rdsk/c1t0d0s1 | fmthard -s - /dev/rdsk/c1t1d0s1
Unfortunately, I didn't realize the drives were switched when the one failed, and I formatted the good drive! The metastat database never updated when the drives were switched, and thus the mix up.
How do I recover the data?
Is there a way where I can switch the drives around again, boot from a Solaris CD, and rebuild the boot partition to recover the data? If so, could someone please advise to those steps?
Best Regards,
John