Operating System - HP-UX
1753894 Members
7615 Online
108809 Solutions
New Discussion юеВ

Re: The case of the disappearing directory

 
SOLVED
Go to solution
donna hofmeister
Trusted Contributor

The case of the disappearing directory

I got an 11.11 system where I'm trying to mount a share from a Windows system onto the HPUX box.

The system can reach the windows server via ping. So I have basic connectivity:

/ # ping server
PING server: 64 byte packets
64 bytes from 192.168.15.27: icmp_seq=0. time=0. ms
64 bytes from 192.168.15.27: icmp_seq=1. time=0. ms
64 bytes from 192.168.15.27: icmp_seq=2. time=0. ms

----server PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0

I'm logged on as root and I'm in /. Here's the directory I want to use as a mount point:
/ # ll |grep netbkup
drwxrwxrwx 2 root sys 96 Feb 11 11:45 netbkup

Now I try to do a cifsmount:
/ # cifsmount //server/UNIXBackup /netbkup

No barking or complaining from cifsmount...so let's look at all the directories under /:
/ # ll|grep ^d
drwx------ 2 root sys 96 Mar 11 2015 .elm
drwxr-xr-x 2 root sys 96 Oct 25 2013 .ssh
drwxr-xr-x 6 root sys 8192 May 23 2017 .sw
drwx------ 2 root sys 96 Mar 12 2015 Mail
dr-xr-xr-x 15 bin bin 8192 Feb 11 04:07 dev
drwxr-xr-x 8 root root 8192 Sep 27 2017 disc2
dr-xr-xr-x 31 bin bin 8192 Feb 11 13:07 etc
drwxr-xr-x 30 root root 8192 Mar 11 2019 home
drwxrwxrwx 2 root sys 8192 Feb 3 08:30 logs
drwxr-xr-x 2 root root 96 Oct 8 2013 lost+found
dr-xr-xr-x 1 root root 512 Feb 11 04:06 net <--- the missing directory should be after /net, of course, but it's not
drwxrwxrwx 2 root sys 96 Jul 6 2017 nobackup
dr-xr-xr-x 73 bin bin 8192 Feb 10 12:48 opt
drwxrwxrwx 2 root sys 96 Oct 22 2017 pdf
drwxrwxrwx 2 root sys 96 Oct 22 2017 pdfs
dr-xr-xr-x 14 bin bin 8192 May 24 2017 sbin
dr-xr-xr-x 10 bin bin 1024 May 5 2014 stand
drwxrwxrwx 5 bin bin 98304 Feb 11 13:34 tmp
dr-xr-xr-x 2 root root 96 Oct 11 2013 tmp_mnt
dr-xr-xr-x 24 bin bin 8192 Oct 25 2013 usr
dr-xr-xr-x 26 bin bin 8192 Oct 11 2013 var

What does 'mount' have to say?
/ # mount
/ on /dev/vg00/lvol3 log on Tue Feb 11 04:06:11 2020
/stand on /dev/vg00/lvol1 defaults on Tue Feb 11 04:06:11 2020
/var on /dev/vg00/lvol8 delaylog,nodatainlog on Tue Feb 11 04:06:13 2020
/usr on /dev/vg00/lvol7 delaylog,nodatainlog on Tue Feb 11 04:06:13 2020
/tmp on /dev/vg00/lvol6 delaylog,nodatainlog on Tue Feb 11 04:06:13 2020
/opt on /dev/vg00/lvol5 delaylog,nodatainlog on Tue Feb 11 04:06:13 2020
/home on /dev/vg00/lvol4 delaylog,nodatainlog on Tue Feb 11 04:06:13 2020
/disc2 on /dev/dsk/c2t1d0 delaylog,nodatainlog,nolargefiles on Tue Feb 11 04:06:13 2020
/netbkup on server:/unixbackup soft,noac,retrans=3,timeo=50,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,NFSv3 on Tue Feb 11 13:34
:04 2020

Mount looks ok...but what's going on with /netbkup?

This is rather a duh, but:
/ # ll /netbkup/
/netbkup/ not found

Let's do an unmount:
cifsumount /netbkup

Again, no errors from the command. So is the directory "back"?
/ # ll|grep netbkup
drwxrwxrwx 2 root sys 96 Feb 11 11:45 netbkup

Of course it is.

While I have a logon/password for this system and folder, if I try to use them (eg, -U userid -P password) on the command line, I get "SRV: Invalid netname". I've tried adding "-D domain" but it doesn't make any difference.

What am I missing?

2 REPLIES 2
KishJ
HPE Pro
Solution

Re: The case of the disappearing directory

Greetings,

I am glad to see such a detailed description. 

First of all, please note that HP-UX CIFS Client is supported only with Windows 2003 and earlier.  It is not tested with Windows 2008 and later. 

The error you mentioned "SRV: Invalid netname" is very typical of a shared resource configured in a Windows 2008 cluster.  

There have been instances where it was possible to mount the share from Windows 2008 when configured as a single share on the specific server, and not as a cluster resource or an AD shared resource.

Hope it helps. All the best!


I am a HPE Employee

Accept or Kudo

donna hofmeister
Trusted Contributor

Re: The case of the disappearing directory

Thank you! I am confident that this is the issue I'm running into.

The server I'm trying to connect to is running 2016.