Edited /etc/vfstab for mirroring, rebooted and system won't boot!
Hello,
I was trying to setup a RAID-1 (mirroring) on a sunfire V210. I did create the replicas in /dev/dsk/c0t0d0s3 (which I labeled /mirror, can replicas be in filesysems?), initialized the mirrors, edited the /etc/vfstab and rebooted! Now, the system can't find /usr.
My /etc/vfstab before editing for RAID-1
#device device mountFSfsckmountmount
#to mountto fsck pointtypepassat boot options
#
fd-/dev/fd fd-no-
/proc-/procproc-no-
/dev/dsk/c0t0d0s1--swap-no-
/dev/dsk/c0t0d0s0/dev/rdsk/c0t0d0s0/ufs1no-
/dev/dsk/c0t0d0s4/dev/rdsk/c0t0d0s4/usrufs1no-
/dev/dsk/c0t0d0s5/dev/rdsk/c0t0d0s5/varufs1no-
/dev/dsk/c0t0d0s7/dev/rdsk/c0t0d0s7/export/homeufs2yes-
/dev/dsk/c0t0d0s3/dev/rdsk/c0t0d0s3/mirror ufs2yes-
/dev/dsk/c0t0d0s6/dev/rdsk/c0t0d0s6/optufs2yes-
swap-/tmptmpfs-yes-
My edited /etc/vfstab for RAID-1
#device device mountFSfsckmountmount
#to mountto fsck pointtypepassat boot options
#
fd-/dev/fd fd-no-
/proc-/procproc-no-
/dev/md/dsk/d1--swap-no-
/dev/md/dsk/d0/dev/md/rdsk/d0/ufs1no-
/dev/md/dsk/d4/dev/md/rdsk/d4/usrufs1no-
/dev/md/dsk/d5/dev/md/rdsk/d5/varufs1no-
/dev/md/dsk/d7/dev/md/rdsk/d7/export/homeufs2yes-
/dev/md/dsk/d6/dev/md/rdsk/d6/optufs2yes-
swap-/tmptmpfs-yes-
Here the log of my booting screen follows:
Rebooting with command: boot
Boot device: disk File and args:
SunOS Release 5.9 Version Generic_112233-07 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
WARNING: forceload of misc/md_trans failed
WARNING: forceload of misc/md_raid failed
WARNING: forceload of misc/md_hotspares failed
WARNING: forceload of misc/md_sp failed
Hardware watchdog enabled
configuring IPv4 interfaces: bge0.
Hostname: test.testserv.org
mount: /dev/md/dsk/d4 no such device
/sbin/rcS: /usr/sbin/devfsadm: not found
/sbin/rcS: /usr/bin/loadkeys: not found
/etc/rcS.d/S35svm.init: rm: not found
/etc/rcS.d/S35svm.init: grep: not found
WARNING: /proc could not be mounted
/sbin/swapadd: expr: not found
/sbin/swapadd: swap: not found
<snip>
syncing file systems... done
Program terminated
{0} ok
I understand that there must have something in /etc/vfstab is missing. Where have I gone wrong? How can I edit back that /etc/vfstab file?
TIA
--
Raqueeb Hassan
Bangladesh

