solaris 8 software mirroring and flash image restore
Posted on 2006-07-04
I pretty new to solaris and have an issue with a flash image I created of a system that is using software mirroring. I have been making flash images of my servers and have successfully restored them without any problems until this one server that is using software mirroring. When I attempt to restore the flash image, I get a kernel panic that states that root could not be mounted. Here is the procedure I have been using on my other servers that works perfectly.
On a server I want to create an image of I do the following. I actually found this solution on this board and I take no credit for this.
flarcreate -c -n imagename -x excludedir /dir/filename.flar
To restore the server, I do the following:
Boot from the solaris 8 install cd and do the webstart install, but specify that I have an image on the server when it asks from where to get the solaris install images.
This has worked great on all of my servers as I could create an image and do a restore. Now, I have one server that is using software mirroring and the above procedure does not work. When I complete the restore and do a reboot, the systems dies with a kernel panic stating that the root filesystem could not be mounted. I assume that there is some other prep work that needs to be done with the disk partitioning since it's a mirrored disk.
How can I restore a systems that is using software mirroring from a flash image. What step am I missing since its software raid 1.