Reboot required on Server, Just confirm my settings.

Hi Guys,
I need to reboot one Server as the newly inserted disk is not getting detected in system , I have also confirmed with Sun Support and finally it was the reboot which was required after doing all troubleshooting stuff.

So I have disassembled the mirror and kept working disk's single slices etry in /etc/vfstab as follows:

#########################################################################
# device        device    mount      FS      fsck    mount   mount      #
# to mount      to fsck   point      type    pass    at boot options    #


/proc                   -                       /proc   proc    -       no      -
fd                      -                       /dev/fd fd      -       no      -
swap                    -                       /tmp    tmpfs   -       yes     -
#
#/dev/md/dsk/d1         -                       -       swap    -       no      -
#
#/dev/md/dsk/d0 /dev/md/rdsk/d0 /       ufs     1       no      -
#/dev/md/dsk/d4 /dev/md/rdsk/d4 /var    ufs     1       yes     -
#live-upgrade:<Tue Oct  6 13:10:13 CEST 2009>:<Sol10>#  /dev/md/dsk/d1          /dev/md/rdsk/d1         /var    ufs     1       no      -
#/dev/md/dsk/d3         /dev/md/rdsk/d3         /u01    ufs     2       yes     -

/dev/dsk/c1t1d0s1     -              -      swap   -   no  -
/dev/dsk/c1t1d0s0 /dev/rdsk/c1t1d0s0 /      ufs    1   no  -
/dev/dsk/c1t1d0s4 /dev/rdsk/c1t1d0s4 /var   ufs    1   yes -
/dev/dsk/c1t1d0s3 /dev/rdsk/c1t1d0s3 /u01   ufs    2   yes -
-bash-3.00$

this is what my metastat -p shows:-

-bash-3.00$ /usr/local/bin/sudo /usr/sbin/metastat -p
d4 -m d24 1
d24 1 1 c1t1d0s4
d3 -m d23 1
d23 1 1 c1t1d0s3
d1 -m d21 1
d21 1 1 c1t1d0s1
d0 -m d20 1
d20 1 1 c1t1d0s0
d14 1 1 c1t0d0s4
d13 1 1 c1t0d0s3
d11 1 1 c1t0d0s1
d10 1 1 c1t0d0s0
-bash-3.00$

I have also commented out

#rootdev:/pseudo/md@0:0,0,blk 

in /etc/system.

is there any thing else I need to comment out before ensuring proper reboot of Server.

Please advise.

Thanks a lot.

It should work, unless metadb shows one of the now directly mounted partitions (and metastat shows an offset).
However I don't see a sense of this exercise at all.

1 Like

Manali, was there any reason to break mirror before rebooting server ? I believe, you are not going to change anything.

1 Like

Well, our disk has failed and new one was inserted.

The setting has worked.

Case solved.