cancel
Showing results for 
Search instead for 
Did you mean: 

Mirrored volume became disabled active everytime whenever i reboot the server and filesystem umount after every reboot

Gaurav_singh
Level 4

Mirrored volume became disabled active everytime whenever i reboot the server and filesystem umount after every reboot

 

Hi 

 

Mirrored volume became disabled active everytime whenever, i reboot the server and filesystem(/dev/vx/dsk/datadg/datavol) umount after every reboot.

Everytime I have to manually mount the filesystem.Please guide me, where I  am lacking.

 

OS- Sol10, vxvm 6.0 

 

bash-3.00# vxdisk -e list
DEVICE       TYPE           DISK        GROUP        STATUS               OS_NATIVE_NAME   ATTR
disk_0       auto:none      -            -           online invalid       c1t0d0s2         -
disk_1       auto:none      -            -           online invalid       c1t2d0s2         -
disk_2       auto:cdsdisk   datadg01     datadg      online               c1t1d0s2         -
disk_3       auto:cdsdisk   datadg02     datadg      online               c1t3d0s2         -

=============================================================================

 

bash-3.00# vxprint -hvt
Disk group: datadg

V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO
EX NAME         ASSOC        VC                       PERMS    MODE     STATE

v  datavol      -            DISABLED ACTIVE   409600   SELECT    -        fsgen
pl datavol-01   datavol      DISABLED ACTIVE   409600   CONCAT    -        RW
sd datadg01-01  datavol-01   datadg01 0        409600   0         disk_2   ENA
pl datavol-02   datavol      DISABLED ACTIVE   409600   CONCAT    -        RW
sd datadg02-01  datavol-02   datadg02 0        409600   0         disk_3   ENA
=================================================================

 

bash-3.00# cat /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/c1t0d0s1       -       -       swap    -       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       no      -
/dev/dsk/c1t0d0s5       /dev/rdsk/c1t0d0s5      /usr    ufs     1       no      -
/dev/dsk/c1t0d0s3       /dev/rdsk/c1t0d0s3      /var    ufs     1       no      -
/dev/dsk/c1t0d0s7       /dev/rdsk/c1t0d0s7      /export/home    ufs     2       yes     -
/dev/dsk/c1t0d0s4       /dev/rdsk/c1t0d0s4      /opt    ufs     2       yes     -
/dev/dsk/c1t0d0s6       /dev/rdsk/c1t0d0s6      /temp   ufs     2       yes     -
/dev/vx/dsk/datadg/datavol /dev/dev/vx/rdsk/datadg/datavol /pictor vxfs 1       -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -

======================================================================

bash-3.00# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0       14G   2.3G    12G    17%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   1.9G   1.1M   1.9G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/dev/dsk/c1t0d0s5      9.6G   4.3G   5.3G    45%    /usr
/usr/lib/libc/libc_hwcap1.so.1
                       9.6G   4.3G   5.3G    45%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c1t0d0s3      1.9G    93M   1.7G     5%    /var
swap                   1.9G   180K   1.9G     1%    /tmp
swap                   1.9G    36K   1.9G     1%    /var/run
/dev/dsk/c1t0d0s6      103M   1.0M    92M     2%    /temp
/dev/dsk/c1t0d0s4      2.9G   819M   2.0G    29%    /opt
/dev/dsk/c1t0d0s7       18G    19M    18G     1%    /export/home
/vol/dev/dsk/c0t0d0/sol_10_910_x86
                       2.0G   2.0G     0K   100%    /cdrom/sol_10_910_x86
/dev/odm                 0K     0K     0K     0%    /dev/odm
/dev/vx/dsk/datadg/datavol
                       200M   103M    91M    54%    /pictor

 

 

2 REPLIES 2

Gaurav_S
Moderator
Moderator
   VIP    Certified

I some how remember answering this but not able to collect the thread .. this seems to be duplicate of old post, just got published.

check out the settings under /etc/default/vxsf  & also in /etc/vfstab file you are missing with a "yes" in the "Mount at boot" column

Ideally vxvm would start all the volumes in a DG unless specified not to start.

 

G

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified