Dharmesh,

        This may sound a bit repetitive from what support has told you,
but here's what I'd try:

First, this appears to be a NFS problem.  Even so, what I would do is
first isolate it completely from VCS.  To do this, I would stop VCS
(hastop -all) and make sure that all the resources were offline.  Then I
would bring up the IP, import the disks, mount the mounts, ect... by
hand.  Then I would try to access it from the client.  (If you really
want to, you could try and export something that wasn't under VxVM
control too).  If you can do it manually, then you know that there isn't
a issue say with network connectivity, /etc/hosts or the like.  If you
are still getting the same error, then...

I'd check your /etc/exports file.  Make double sure that the volume is
exported.  Also ensure that your client is attempting to mount the
volume with the same permissions as listed.  (In other words that you
client is not trying to mount a ro FS rw)

If you've made any changes to /etc/exports, type exportfs -ra.

Verify /proc/fs/nfs/exports (and /var/lib/nfs/xtab) are correct. 

Check that comms are good between the server and client, and that
everyone knows who the other is.  Ping the client from the server and
the server from the client.  Make sure that the names used are the same
as when you do the mount, and that there is not /etc/hosts entry messing
things up.

        Tom


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dharmesh
Kamdar
Sent: Sunday, October 15, 2006 2:23 PM
To: veritas-ha@mailman.eng.auburn.edu
Subject: [Veritas-ha] Unable to mount volumes on nfs-client in VSF 4.1
MP2for RHEL 4 AS U3 hosts.....

Hi,

We have 2 node VCS cluster. The specifics are as
follows:

Product Version : VERITAS Storage Foundation v4.1 MP2
for Linux

# of nodes in VCS : 2

HOST OS : RHEL AS 4 U3 (32 bit --
kernel-->2.6.9-34smp)

We've defined one fail-over service grp with bunch of
volumes to be shared via NFS. The service group
fails-over back-and-forth between 2 VCS nodes just
fine.

Howsoever, when we try to mount the exported volumes
on an NFS-client, we keep getting following error:

"reason given by server: Permission denied."
The NFS-client is also running RHEL AS 5 U3.

We also tried changing the permissions of mount-points
on the VCS  hosts (/mnt/vcsvol*) to be 777.

1) SELinux is OFF on both the VCS hosts and the
NFS-client

2) FIREWALL is OFF on both the VCS hosts and the
NFS-client

We've opened a case with Symatec tech-support as
well..So far, we both (ourself and Symatec
tech-support) have tried following things without any
luck:

1) tried AIX client with the same results...


2) Upgraded the NFS package on all VCS hosts and
nfs-client to the latest level (as per RED HAT Errata)

3) Checked to see host.deny/hosts.allow on both the
VCS nodes and nfs-client....They all are empty.

3) Included foll. line in /etc/fstab on both the
VCS-nodes and nfs-client as well:

nfsd /proc/fs/nfsd nfsd defaults 0 0


4) Tried to export the shares to a specific nfs-client
(via main.cf) and also  tried changing the "Client"
 value to "*" in the SHARES part of main.cf...without
any luck.


5) We also tried providing "no_root_squash" in the
SHARE part of main.cf for one volume to see if that
helps. But no luck.

6) We also checked the foll. technote:
http://seer.entsupport.symantec.com/docs/277033.htm

We see that NFS is not supported for SLES..but for RH
it seems supported.

7) The major and minor numbers for the shared diskgrp
have already been checked.


The main.cf file has been ratified by Symantec
tech-support...but am pasting here for reference..

Will really appreciate any tips/tricks/pointers to
resolve this issue.

Thanks & Regards,
Dharmesh.

============ main.cf ========================

include "vcsApacheTypes.cf"
include "types.cf"

cluster vcssvc4 (
        UserNames = { admin = xxxxx }
        Administrators = { admin }
        CounterInterval = 5
        )

system host_1 (
        )

system host_2 (
        )

group VCS_NFS_SG (
        SystemList = { host_2 = 0, host_1 = 1 }
        AutoStartList = { host_2, host_1 }
        )

        DiskGroup VCS_NFS_DG (
                DiskGroup = RH4_VCS_DG
                StartVolumes = 1
                StopVolumes = 1
                )

        IP VCS_NFS_IP (
                Device = eth0
                Address = "192.168.2.185"
                NetMask = "255.255.255.0"
                )

        Mount VCS_NFS_MOUNT_VOL1 (
                MountPoint = "/mnt/vcsvol1"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol1"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        Mount VCS_NFS_MOUNT_VOL2 (
                MountPoint = "/mnt/vcsvol2"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol2"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        Mount VCS_NFS_MOUNT_VOL3 (
                MountPoint = "/mnt/vcsvol3"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol3"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        Mount VCS_NFS_MOUNT_VOL4 (
                MountPoint = "/mnt/vcsvol4"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol4"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        Mount VCS_NFS_MOUNT_VOL5 (
                MountPoint = "/mnt/vcsvol5"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol5"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        Mount VCS_NFS_MOUNT_VOL6 (
                MountPoint = "/mnt/vcsvol6"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol6"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        Mount VCS_NFS_MOUNT_VOL7 (
                MountPoint = "/mnt/vcsvol7"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol7"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        Mount VCS_NFS_MOUNT_VOL8 (
                MountPoint = "/mnt/vcsvol8"
                BlockDevice = "/dev/vx/dsk/RH4_VCS_DG/vcs_vol8"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-n"
                SnapUmount = 1
                )

        NFS VCS_NFS_NFS (
                Nproc = 16
                IPResName = VCS_NFS_IP
                )

        NIC VCS_NFS_NIC (
                Device = eth0
                )

        Share VCS_NFS_SHARE_VOL1 (
                PathName = "/mnt/vcsvol1"
                Client = "*"
                Options = "rw,sync,no_root_squash"
                )

        Share VCS_NFS_SHARE_VOL2 (
                PathName = "/mnt/vcsvol2"
                Client = "*"
                Options = "rw,sync"
                )

        Share VCS_NFS_SHARE_VOL3 (
                PathName = "/mnt/vcsvol3"
                Client = "*"
                Options = "rw,sync"
                )

        Share VCS_NFS_SHARE_VOL4 (
                PathName = "/mnt/vcsvol4"
                Client = "*"
                Options = "rw,sync"
                )

        Share VCS_NFS_SHARE_VOL5 (
                PathName = "/mnt/vcsvol5"
                Client = "*"
                Options = "rw,sync"
                )

        Share VCS_NFS_SHARE_VOL6 (
                PathName = "/mnt/vcsvol6"
                Client = "*"
                Options = "rw,sync"
                )

        Share VCS_NFS_SHARE_VOL7 (
                PathName = "/mnt/vcsvol7"
                Client = "*"
                Options = "rw,sync"
                )

        Share VCS_NFS_SHARE_VOL8 (
                PathName = "/mnt/vcsvol8"
                Client = "*"
                Options = "rw,sync"
                )

        Volume RH4_VCS_DG_vcs_vol1 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol1
                )

        Volume RH4_VCS_DG_vcs_vol2 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol2
                )

        Volume RH4_VCS_DG_vcs_vol3 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol3
                )

        Volume RH4_VCS_DG_vcs_vol4 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol4
                )

        Volume RH4_VCS_DG_vcs_vol5 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol5
                )

        Volume RH4_VCS_DG_vcs_vol6 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol6
                )

        Volume RH4_VCS_DG_vcs_vol7 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol7
                )

        Volume RH4_VCS_DG_vcs_vol8 (
                DiskGroup = RH4_VCS_DG
                Volume = vcs_vol8
                )

        RH4_VCS_DG_vcs_vol1 requires VCS_NFS_DG
        RH4_VCS_DG_vcs_vol2 requires VCS_NFS_DG
        RH4_VCS_DG_vcs_vol3 requires VCS_NFS_DG
        RH4_VCS_DG_vcs_vol4 requires VCS_NFS_DG
        RH4_VCS_DG_vcs_vol5 requires VCS_NFS_DG
        RH4_VCS_DG_vcs_vol6 requires VCS_NFS_DG
        RH4_VCS_DG_vcs_vol7 requires VCS_NFS_DG
        RH4_VCS_DG_vcs_vol8 requires VCS_NFS_DG
        VCS_NFS_IP requires VCS_NFS_NIC
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL1
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL2
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL3
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL4
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL5
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL6
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL7
        VCS_NFS_IP requires VCS_NFS_SHARE_VOL8
        VCS_NFS_MOUNT_VOL1 requires RH4_VCS_DG_vcs_vol1
        VCS_NFS_MOUNT_VOL1 requires VCS_NFS_DG
        VCS_NFS_MOUNT_VOL2 requires RH4_VCS_DG_vcs_vol2
        VCS_NFS_MOUNT_VOL2 requires VCS_NFS_DG
        VCS_NFS_MOUNT_VOL3 requires RH4_VCS_DG_vcs_vol3
        VCS_NFS_MOUNT_VOL3 requires VCS_NFS_DG
        VCS_NFS_MOUNT_VOL4 requires RH4_VCS_DG_vcs_vol4
        VCS_NFS_MOUNT_VOL4 requires VCS_NFS_DG
        VCS_NFS_MOUNT_VOL5 requires RH4_VCS_DG_vcs_vol5
        VCS_NFS_MOUNT_VOL5 requires VCS_NFS_DG
        VCS_NFS_MOUNT_VOL6 requires RH4_VCS_DG_vcs_vol6
        VCS_NFS_MOUNT_VOL6 requires VCS_NFS_DG
        VCS_NFS_MOUNT_VOL7 requires RH4_VCS_DG_vcs_vol7
        VCS_NFS_MOUNT_VOL7 requires VCS_NFS_DG
        VCS_NFS_MOUNT_VOL8 requires RH4_VCS_DG_vcs_vol8
        VCS_NFS_MOUNT_VOL8 requires VCS_NFS_DG
        VCS_NFS_SHARE_VOL1 requires VCS_NFS_MOUNT_VOL1
        VCS_NFS_SHARE_VOL1 requires VCS_NFS_NFS
        VCS_NFS_SHARE_VOL2 requires VCS_NFS_MOUNT_VOL2
        VCS_NFS_SHARE_VOL2 requires VCS_NFS_NFS
        VCS_NFS_SHARE_VOL3 requires VCS_NFS_MOUNT_VOL3
        VCS_NFS_SHARE_VOL3 requires VCS_NFS_NFS
        VCS_NFS_SHARE_VOL4 requires VCS_NFS_MOUNT_VOL4
        VCS_NFS_SHARE_VOL4 requires VCS_NFS_NFS
        VCS_NFS_SHARE_VOL5 requires VCS_NFS_MOUNT_VOL5
        VCS_NFS_SHARE_VOL5 requires VCS_NFS_NFS
        VCS_NFS_SHARE_VOL6 requires VCS_NFS_MOUNT_VOL6
        VCS_NFS_SHARE_VOL6 requires VCS_NFS_NFS
        VCS_NFS_SHARE_VOL7 requires VCS_NFS_MOUNT_VOL7
        VCS_NFS_SHARE_VOL7 requires VCS_NFS_NFS
        VCS_NFS_SHARE_VOL8 requires VCS_NFS_MOUNT_VOL8
        VCS_NFS_SHARE_VOL8 requires VCS_NFS_NFS


        // resource dependency tree
        //
        //      group VCS_NFS_SG
        //      {
        //      IP VCS_NFS_IP
        //          {
        //          NIC VCS_NFS_NIC
        //          Share VCS_NFS_SHARE_VOL1
        //              {
        //              Mount VCS_NFS_MOUNT_VOL1
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol1
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          Share VCS_NFS_SHARE_VOL2
        //              {
        //              Mount VCS_NFS_MOUNT_VOL2
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol2
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          Share VCS_NFS_SHARE_VOL3
        //              {
        //              Mount VCS_NFS_MOUNT_VOL3
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol3
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          Share VCS_NFS_SHARE_VOL4
        //              {
        //              Mount VCS_NFS_MOUNT_VOL4
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol4
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          Share VCS_NFS_SHARE_VOL5
        //              {
        //              Mount VCS_NFS_MOUNT_VOL5
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol5
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          Share VCS_NFS_SHARE_VOL6
        //              {
        //              Mount VCS_NFS_MOUNT_VOL6
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol6
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          Share VCS_NFS_SHARE_VOL7
        //              {
        //              Mount VCS_NFS_MOUNT_VOL7
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol7
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          Share VCS_NFS_SHARE_VOL8
        //              {
        //              Mount VCS_NFS_MOUNT_VOL8
        //                  {
        //                  Volume RH4_VCS_DG_vcs_vol8
        //                      {
        //                      DiskGroup VCS_NFS_DG
        //                      }
        //                  DiskGroup VCS_NFS_DG
        //                  }
        //              NFS VCS_NFS_NFS
        //              }
        //          }
        //      }







====== end of main.cf ===========

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha


_______________________________________________
Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha

Reply via email to