With the help of this forum, I have finally mirrored all my mount points on my Solaris 9 sun v100 and was looking to finish it off by mirroring swap.
clptcmissun058 root : more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t2d0s4 - - swap - no -
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no logging
/dev/md/dsk/d60 /dev/md/rdsk/d60 /usr ufs 1 no logging
/dev/md/dsk/d30 /dev/md/rdsk/d30 /var ufs 1 no logging
/dev/md/dsk/d70 /dev/md/rdsk/d70 /export/home ufs 2 yes logging
/dev/md/dsk/d50 /dev/md/rdsk/d50 /opt ufs 2 yes logging
/dev/md/dsk/d10 /dev/md/rdsk/d10 /usr/openwin ufs 2 yes logging
swap - /tmp tmpfs - yes -
I then went to create the submirror but recieved error:
clptcmissun058 root : metainit -f d41 1 1 c0t2d0s4
metainit: clptcmissun058: c0t2d0s4: overlaps with device in metadevice state database
I see that there is a swap being mounted as /tmp but I am not sure what that does. I may have made a mistake and ran a metadb -a c0t2d0s4 when I was first started this. Is there anyway to query the state database and find all entries of c0t2d0s4? I ran a format on the disk and there is no overlaps that I can tell..... metastat looks golden too....
clptcmissun058 root : more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t2d0s4 - - swap - no -
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no logging
/dev/md/dsk/d60 /dev/md/rdsk/d60 /usr ufs 1 no logging
/dev/md/dsk/d30 /dev/md/rdsk/d30 /var ufs 1 no logging
/dev/md/dsk/d70 /dev/md/rdsk/d70 /export/home ufs 2 yes logging
/dev/md/dsk/d50 /dev/md/rdsk/d50 /opt ufs 2 yes logging
/dev/md/dsk/d10 /dev/md/rdsk/d10 /usr/openwin ufs 2 yes logging
swap - /tmp tmpfs - yes -
I then went to create the submirror but recieved error:
clptcmissun058 root : metainit -f d41 1 1 c0t2d0s4
metainit: clptcmissun058: c0t2d0s4: overlaps with device in metadevice state database
I see that there is a swap being mounted as /tmp but I am not sure what that does. I may have made a mistake and ran a metadb -a c0t2d0s4 when I was first started this. Is there anyway to query the state database and find all entries of c0t2d0s4? I ran a format on the disk and there is no overlaps that I can tell..... metastat looks golden too....