ncpmount is not working when going to Novell Cluster Services volumes on Linux

  • 7002486
  • 28-Jan-2009
  • 27-Apr-2012

Environment

Novell Cluster Services 1.8.4
Novell Open Enterprise Server 2 (OES 2)
Novell Open Enterprise Server (Linux based)

Situation

Unable to use ncpmount to get to a cluster enabled volume on linux.
Error: "Get host address `151.155.242.45': Server not found (0x8847)"

Resolution

ncpmount uses UDP by default and not TCP.  The ncpmount will
fail on cluster volumes because it is only listening to tcp on cluster
interface.

cluster interfaces are 151.155.242.44 and 151.155.242.45
non cluster address is 151.155.242.37

server:~ # netstat -ln | grep 524
tcp        0      0 151.155.242.44:524      0.0.0.0:*               LISTEN
tcp        0      0 151.155.242.45:524      0.0.0.0:*               LISTEN
tcp        0      0 151.155.242.37:524      0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:524           0.0.0.0:*               LISTEN
udp        0      0 151.155.242.37:524      0.0.0.0:*

Add the "-o tcp" switch to the ncpmount command to allow it to use tcp.
EXAMPLE:
ncpmount -S CLUSTER_CP1_SERVER -A 151.155.242.45 -o tcp -V VOL2 -U admin.novell /mnt/testncp