Forum Discussion

rsthakur83's avatar
rsthakur83
Level 3
11 years ago

Can't mount vxfs filesystem

Split off from https://www-secure.symantec.com/connect/forums/flag-status-unknown as unrelated question:

Thanks again Mike and Gaurav .

 

I am facing one more issue when i am trying to switch the resource group from node1 to node2 and getting attached error for the nfs mount point.Also attaching update main.cf.

 

So can you please suggest the solution to this problem as well.

 

Below is the nfs export and fstab file entry on node1 ,node2.

[root@node1 ~]# cat /etc/exports
/nfsshr01 *(rw,sync,no_root_squash)
[root@node1 ~]#

 

[root@node1 ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

# NOTE: When adding or modifying VxFS or VxVM entries, add '_netdev'
# to the mount options to ensure the filesystems are mounted after VxVM and
# VxFS have started.
192.168.56.121:/nfsshr01 /nfslock       nfs      defaults        0 0
[root@node1 ~]#

 

[root@node2 ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

# NOTE: When adding or modifying VxFS or VxVM entries, add '_netdev'
# to the mount options to ensure the filesystems are mounted after VxVM and
# VxFS have started.
192.168.56.121:/nfsshr01 /nfslock       nfs      defaults        0 0
[root@node2 ~]#

 

When trying to do manually getting below error for mount point under vcs.

[root@node2 ~]# mount -t vxfs /dev/vx/dsk/nfsvdg01/nfsvol01  /nfsshr01
UX:vxfs mount.vxfs: ERROR: V-3-22168: Cannot open portal device: No such file or directory
UX:vxfs mount.vxfs: ERROR: V-3-25255: mount.vxfs: You don't have a license to run this program
[root@node2 ~]#

 

 

 

 

  • Have you run "vxlicrep" (or "vxkeyless display" if you are using keyless licences), to verify your license.

    Mike

  • Hi Mike & Marianne,

     

    Below is the license status on node2 please let me know the fix of this issue.

     


    Last login: Wed Jul  9 03:50:36 2014 from 192.168.56.1
    [root@node2 ~]# vxdctl license
    All features are available:
     Mirroring
     Root Mirroring
     Concatenation
     Disk-spanning
     Striping
     RAID-5
     RAID-5 Snapshot
     VxSmartSync
     DMP (multipath enabled)
     CDS
     Dynamic LUN Expansion
     Hardware assisted copy
     DMP Native Support
     SMARTIO_VMREAD
    [root@node2 ~]# vxlicrep

    Symantec License Manager vxlicrep utility version 3.02.61.010
    Copyright (C) 1996-2013 Symantec Corporation. All rights reserved.

    Creating a report on all VERITAS products installed on this system

     -----------------***********************-----------------

       License Key                         = AJZH-VN33-P37E-64KR-FONP-POH6-4PPP-P68N-P
       Product Name                        = VERITAS Storage Foundation Standard HA
       Serial Number                       = 61983
       License Type                        = PERMANENT
       OEM ID                              = 2006
       Site License                        = YES
       Editions Product                    = YES

     Features :=
       VxVM#VERITAS Volume Manager         = Enabled
       CPU Count#VERITAS Volume Manager    = Not Restricted
       CPU Count#VERITAS File System       = Not Restricted
       Platform                            = un-used

       VXFS#VERITAS File System            = Enabled
       Version                             = 6.1
       Tier#VERITAS Cluster Server         = Unused
       Mode#VERITAS Cluster Server         = VCS
       VERITAS Foundation Suite HA         = Enabled
       Storage Expert#VERITAS Volume Manager = Enabled
       QLOG#VERITAS File System            = Enabled
       PGR#VERITAS Volume Manager          = Enabled
       PGR_TRAINING#VERITAS Volume Manager = Enabled
       VXFDD#VERITAS File System           = Enabled
       DMP Native Support#VERITAS Volume Manager = Enabled
       VXKEYLESS                           = Enabled


     -----------------***********************-----------------

       Product Name                        = VERITAS Volume Manager
       License Type                        = PERMANENT

     Features :=
       Dynamic Lun Expansion               = Enabled
       Hardware assisted copy              = Enabled
       Cross-platform Data Sharing         = Enabled
       PGR                                 = Enabled
       PGR_TRAINING                        = Enabled
       RAID5SNAP                           = Enabled
       SMARTIO_VMREAD                      = Enabled
       Storage Expert                      = Enabled

     

     -----------------***********************-----------------

       Product Name                        = VERITAS File System
       License Type                        = PERMANENT

     Features :=
       File Change Log                     = Enabled
       Cross-platform Data Sharing         = Enabled
       Extra-Big File Systems              = Enabled
       Multi-Volume Support                = Enabled
       VXFDD                               = Enabled
       Quality of Storage Service          = Enabled
       Compression                         = Enabled
       SMARTIO_FSREAD                      = Enabled

     

     -----------------***********************-----------------

       Product Name                        = VERITAS Database Edition for Oracle
       License Type                        = PERMANENT

     Features :=
       DATABASE_EDITION                    = Enabled
       DBED_ORA_TOOLS                      = Enabled
       ODM                                 = Enabled

     

     -----------------***********************-----------------

       Product Name                        = VERITAS SANPoint Control
       License Type                        = PERMANENT

     Features :=
       SPC Lite                            = Enabled

     

     -----------------***********************-----------------

       License Key                         = AJZE-6JH2-CTFR-K83J-PPUR-PPPN-PPP3-P4CR-P
       Product Name                        = VERITAS Volume Manager
       Serial Number                       = 61983
       License Type                        = PERMANENT
       OEM ID                              = 2006
       Site License                        = YES
       Point Product                       = YES

     Features :=

       Storage Expert                      = Enabled
       VxVM                                = Enabled
       CPU Count                           = Not Restricted
       PGR                                 = Enabled
       PGR_TRAINING                        = Enabled
       Platform                            = un-used
       Version                             = 6.1
       Maximum number of volumes           = Not Restricted
       DMP Native Support                  = Enabled


     -----------------***********************-----------------

       License Key                         = AJZE-VEXI-PPXL-YXOE-2T8C-PPPP-PPPP-PPPC-P
       Product Name                        = VERITAS Cluster Server
       Serial Number                       = 61983
       License Type                        = PERMANENT
       OEM ID                              = 2006
       Site License                        = YES
       Point Product                       = YES

     Features :=
       Platform                            = Unused
       Version                             = 6.1
       Tier                                = Unused
       Reserved                            = 0

       Mode                                = VCS
       CPU_TIER                            = 0


     -----------------***********************-----------------

       License Key                         = AJZG-3C8S-WEBF-2A86-PPPR-3PPP-PPPP-3P7U
       Product Name                        = VERITAS File System
       Serial Number                       = 61983
       License Type                        = PERMANENT
       OEM ID                              = 2006
       Site License                        = YES
       Point Product                       = YES

     Features :=
       VXFS                                = Enabled
       VXFDD                               = Enabled
       QLOG                                = Enabled

       CPU Count                           = Not Restricted
       Platform                            = un-used
       Version                             = 6.1
       Maximum number of file systems      = Not Restricted

    [root@node2 ~]# vxkeyless display
    SFHASTD
    [root@node2 ~]#

     

  • License looks okay ..Could you check on the vxfs startup scripts for the runlevel, as advised here:

    http://www.symantec.com/business/support/index?page=content&id=TECH137343

     

  • These symptoms may happen if the vxportal kernel module fails to load. Is this a new installation/upgrade ? Were there any issues at the time ?

     

    thanks

    tony

  • Hi Tony,

     

    This is the new installation i have done on two virtual machines on virtualbox.

    Every thing working fine on node1 .

    Please advice.

    Thanks

  • Can you confirm if vx modules are loaded after system startup?

    # lsmod | grep -i vx

     

    Srini