1752573 Members
4749 Online
108788 Solutions
New Discussion юеВ

Re: auto mount

 
SOLVED
Go to solution
Yarok
Regular Advisor

auto mount

Hello,

Each time I am rebooting the HP UX machine, the mount for all other machines are lost.
Is there any possible to ensure it would not happend?
If so, how?

Thanks,

Yaron
35 REPLIES 35
DeafFrog
Valued Contributor

Re: auto mount

Hi ,

have not you mentioned them in /etc/fstab ,
(expect when FS is in cluster)
what tye of application you have on servers..how does this application utilizes the underlying disk structure , please provide more details.A fstab should look like this :

~
/dev/vg01/mango08 /mango08 vxfs defaults 0 2
/dev/vg01/mango09 /mango09 vxfs defaults 0 2
/dev/vg01/mango10 /mango10 vxfs defaults 0 2
/dev/vg01/mango11 /mango11 vxfs defaults 0 2
/dev/vg01/mango12 /mango12 vxfs defaults 0 2
/dev/vg01/mango13 /mango13 vxfs defaults 0 2
/dev/vg01/mango14 /mango14 vxfs defaults 0 2


Regards,
FrogIsDeaf
DeafFrog
Valued Contributor

Re: auto mount

Hi ,

i misread the thread "the mount for all other machines are lost"....i guess you are having NFS export form the server and having the NFS client to mount the same .

Regards,
FrogIsDeaf
Yarok
Regular Advisor

Re: auto mount

Hello,

No, I didn't mention it.
Indeed, it is NFS and I dont quite sure who is the server and who is the client (I read that it could be both).

Now I looked on other HP machin on the fstab file and I have seen your meaning. Let me be more familiar with the line from it:

ednop:/vol/vol0/scc /ednop nfs rw,suid,soft,bg 0 0

Please let me know what are the following refer to:
ednop:/vol/vol0/scc /ednop nfs rw,suid,soft,bg 0 0

for example:
ednop - machine name (i know)
vol,vol0,scc (i know)

rw?
suid?
soft?
bg?
0,0?

should I define it by myself? what are the defenitions options I have?
regards.
Ismail Azad
Esteemed Contributor

Re: auto mount

Hi Yaron/Yarok,

First check if your NFS server is permanently sharing the filesystem in /etc/dfs/dfstab on 11.31 and /etc/exports on 11.23 and check on the client side if the nfs entry is there for mounting permanently on /etc/fstab. This is an approach to your problem.

OK, so what i understand from your query is what are mount options . Now these are some options for mount...

ro/rw :- exapansion read only/read write
suid/nosuid :- Do u want suid bit set??
quota/noquota :- Do u want a filesystem quota set?

The 0 0 refers to backup frequency and fsck order. Backup frequency is like a "dummy" field in modern HPUX operating systems but you still need a placeholder 0 over there.

soft on NFS would refer to a soft mount. You will also see options on NFS mounts that deal with the behaviour of the NFS substystem when the NFS server hangs. Don't forget to assign appropriate points. :)

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Dennis Handly
Acclaimed Contributor

Re: auto mount

If you want to mount them on each reboot, you list then in /etc/fstab. If you are using the automounter, you don't list there, you put them in the automounter maps.

>I don't quite sure who is the server and who is the client.

You better know this.

>ednop:/vol/vol0/scc /ednop nfs rw,suid,soft,bg 0 0

You are mounting it R/W, you allow SUID programs. Your retry is soft.
See mount_nfs(1M):
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02264554/c02264554.pdf
Ismail Azad
Esteemed Contributor

Re: auto mount

Hi,

Just adding to Mr. Dennis Handly's comments. Since your topic is "auto mount", if you remove that space the terminology typically relates to AutoFS. But I don't think you (Yarok) are talking about direct, special or indirect maps. In case you are, the NFS client side service involves one essential file called as AUTOFS master map. You don't mention it in /etc/fstab, it automatically mounts and unmounts depending on access and idle time respectively.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Yarok
Regular Advisor

Re: auto mount

Hello Ismail,
Sorry for the dalay with assigning points and answer.




The OS does not have the file /etc/dfs/dfstab
I dont know what is 11.31 and 11.23.
Do you prefer that I will attach the files: /etc/dfstab /etc/mnttab and /etc/exports.?

Please advice.



Dennis Handly
Acclaimed Contributor

Re: auto mount

>The OS does not have the file /etc/dfs/dfstab

It isn't likely to be there on 11.23, just a dummy one.

>I don't know what is 11.31 and 11.23.

This is scary, 11i v2 and 11i v3. Look at: uname -a

>Do you prefer that I will attach the files: /etc/dfstab /etc/mnttab and /etc/exports?

We mostly care about /etc/fstab.
Yarok
Regular Advisor

Re: auto mount

the version is 11.11;
uname -a shows:

B.11.11 U 9000/785

I attached the file.