Forum Discussion

6 Replies

  • Hi, Not sure on your pervious post, can you put your query again here, do elaborate on the issue

    is the volume getting controlled by VCS ? are there any other volumes in same DG or this is just one volume ? If there are other volumes, does this problem happen to other volumes as well ?

    What is OS & SF version is use ?

    G

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

    I have to manually mount  the filesystem everytime.

    Please help to get it resolve.

    One more query, please elaborate about /dev/odm filesystem

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

    bash-3.00# vxdisk list
    DEVICE       TYPE            DISK         GROUP        STATUS
    disk_0       auto:none       -            -            online invalid
    disk_1       auto:none       -            -            online invalid
    disk_2       auto:cdsdisk    datadg01     datadg       online
    disk_3       auto:cdsdisk    datadg02     datadg       online
    bash-3.00#
    bash-3.00#
    bash-3.00#
    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  

     

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

    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                   2.2G   1.1M   2.2G     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   138M   1.7G     8%    /var
    swap                   2.2G    44K   2.2G     1%    /tmp
    swap                   2.2G    32K   2.2G     1%    /var/run
    /dev/dsk/c1t0d0s4      2.9G   819M   2.0G    29%    /opt
    /dev/dsk/c1t0d0s6      103M   1.0M    92M     2%    /temp
    /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
    bash-3.00#

     

  • OS version = Sol 10 with vxvm 6.0, there is only one volume datavol which is not in control with vcs.

  • Hi

    what is the value of autostartvolumes in /etc/default/vxsf ?

    You can tune this with vxdefault command

    https://sort.symantec.com/public/documents/sfha/6.0/solaris/manualpages/html/man/volume_manager/html/man1m/vxdefault.1m.html

     

    G

  • Your vfstab file is missing the 'yes' entry under 'Mount at boot' 

    You need to check and verify that disks are visible at OS level when the server is rebooted and that the diskgroup is imported when the system goes down.
    Check that dg is not imported with -t option. 

    See this extract from vxdg man pages:  http://sfdoccentral.symantec.com/sf/5.0/aix/manpages/vxvm/vxdg_1m.html

    Typically, an imported disk group is reimported automatically when the system is rebooted, if at least some of the disks in the disk group remain accessible and usable. This can be disabled using the -t option, which causes the import to be persistent only until the system is rebooted.

     

     

    PS:
    About the following in the post title: 

    ..... did you get the queries which I drafted  ....

     

    Posts that you leave in 'draft' state cannot be seen in the forums.

    Please try to type just a short description in the Subject line when starting new discussion.