I'm encounter a dilemma. I have create mirror for root file system previously and i remove the mirroring and reboot.
After reboot, I trying remove /dev/md/dsk/d30 from vfstab file, I found that file cannot access anymore.
Every time, it show the error message /var/tmp No such file or directory.
Why it's happen when i'm edit the /var/vfstab but it mention /var/tmp is not exist. Any idea?
Ya, I using /etc not /var. When i typing vi /etc/vfstab but it show up error "/var/tmp No such file or directory". I don't know how it happen.
Previously, i create a submirror d31 from /dev/dsk/c1t0d0s0 and another submirror from /dev/dsk/c1t1d0s0 and mirror d30.
I also change the root file system path to /dev/md/dsk/30 in /etc/vfstab. After i metaclear the mirror d30 and reboot.
It is gone. I cannot edit /etc/vfstab anymore. Any rescue method?
You told it the root filesystem was on d30, then you destroyed d30 and rebooted. Yup, that'll sure break it. Did you do that accidentally, or were you trying to accomplish something else?
Easiest is to boot from alternate media (network or cd/dvd), mount the root slice on the boot disk.
Change /etc/vfstab to refer to the boot disk slices again (c1t0d0s0), and edit /etc/system and remove or comment out the bootvol line. You should reboot and find root is normal. You can then recreate your metadevices as needed, and then get the root filesystem ready with metaroot as before.