Operating System - HP-UX
1819682 Members
3849 Online
109605 Solutions
New Discussion юеВ

cifs entries in /etc/fstab

 
Tim_125
Occasional Contributor

cifs entries in /etc/fstab

When add an entry to /etc/fstab and execute the command: mount -aF cifs, I see two entries in the list of mounts. Is this normal?

These are the entries I see:

/pdfs/Data/mps/dev on localhost:\\PRIHPUX1\MPSDEV soft,noac,retrans=3,timeo=205,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,proto=udp,NFSv3 on Mon Sep 27 12:45:11 2004
/pdfs/Data/mps/dev on prihpux1:/mpsdev soft,noac,retrans=3,timeo=205,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,proto=udp,NFSv3 on Mon Sep 27 12:45:11 2004
4 REPLIES 4
Shine_5
Frequent Advisor

Re: cifs entries in /etc/fstab

Hello tim,

Have u tried "mountall" command. If you use this command, this may happen.

Regards
Shine
Tim_125
Occasional Contributor

Re: cifs entries in /etc/fstab

I put the following in /etc/fstab:

server:/share /mountpoint cifs defaults 0 0

I mounted using:

mount -aF cifs
Steven E. Protter
Exalted Contributor

Re: cifs entries in /etc/fstab

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=685489

With cifs its a two step process.

mount then authenticate.

You may be able to put authentication info directly into /etc/fstab but I'm not sure if thats a great idea.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim_125
Occasional Contributor

Re: cifs entries in /etc/fstab

I am able to authenticate myself (cifslogin server user) and access the mounted drive. But I am curious to why there are two mounts listed:

/mountpoint on localhost:\\remoteserver\share
/mountpoint on remoteserver:/share