This content has been marked as final. Show 3 replies
It should be /etc/vfstab, not /var/vfstab?
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.