Operating System - HP-UX
1825774 Members
2090 Online
109687 Solutions
New Discussion

Re: make_net_recovery errors

 
Edgar_8
Regular Advisor

make_net_recovery errors

Hi,

We have 2 hosts (A-need image of & B server to store image). When we run the following cmd:
/opt/ignite/bin/make_net_recovery -s hostB -Av -a hostB:/backup

The following error is displayed:

Permission denied
ERROR: Unable to mount or write hostB:/backup

Please assist URGENTLY!

Thanks in advance!

11 REPLIES 11
Peter Godron
Honored Contributor

Re: make_net_recovery errors

Edgar,
have you ensured access to hostB?
DNS, remsh,.rhosts/etc/hosts.equiv,export of /backup with wite access
Patrice Le Guyader
Respected Contributor

Re: make_net_recovery errors

hi,

is the file system you try to mount exported on source ?

you should hae a line in /etc/exports with :

/backup

and after make a exportfs -av to enable all host to mount it.
If you want to restrict access try it :

/backup -anon=2,access=hostA

and exportfs -av

Regards
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Patrice Le Guyader
Respected Contributor

Re: make_net_recovery errors

Try this link for installing you ignite server :
http://www.docs.hp.com/en/IUX/download.html

Hope this help
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Edgar_8
Regular Advisor

Re: make_net_recovery errors

Hi All,

On hostB( where image is to be stored in /backup) the /etc/exports file looks like:
/backup -anon=2,access=hostA,ro
/var/opt/ignite/clients -anon=2

There is access from hostA to hostB.

Thanks in advance!
Peter Godron
Honored Contributor

Re: make_net_recovery errors

Edgar,
/backup is mounted ro, error message may indicate write access required?
Edgar_8
Regular Advisor

Re: make_net_recovery errors

Hi Peter,

The rw=hostA was included,rexported but still the problem persist.At the bottom there is an error message stating:
ERROR: Failed to Create NFS mount Archive directory.

Thanks for the assistance!
Patrice Le Guyader
Respected Contributor

Re: make_net_recovery errors

Hi,

Try restarting nfs client and server on both machines

Just an idea.
Pat

Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Patrice Le Guyader
Respected Contributor

Re: make_net_recovery errors

Hi,

Why are you adding the rw option ?

/var/opt/ignite/clients -anon=2
/var/opt/ignite/recovery/archives/hostA -anon=2,access=hostA

With this default configuration only the machine with hostA can mount this FS.

Look at showmount -e hostB to see what is exported.

Regards
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Edgar_8
Regular Advisor

Re: make_net_recovery errors

Hi,

With or without the "rw" I still get the same error. the showmount -e cmd on hostA replies that there's no exported filesystems but on hostB /Backup is exported.

Thanks in advance!
Patrice Le Guyader
Respected Contributor

Re: make_net_recovery errors

And my last idea ;-)

Is the directory you are exporting owned by bin:bin with right 755 ? It seems that it can't
create the directory hostA in /backup for storing the archives. have you try to create /backup/hostA with owner bin:bin in 755 and export it instead of exporting /backup directly ?

Regards
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Patrice Le Guyader
Respected Contributor

Re: make_net_recovery errors

Have you try checking your config files with :
/opt/ignite/bin/instl_adm -T
and check network settings with :
/opt/ignite/bin/instl_adm -d

Look at the netmask of your lan cards, I've already had a pb with server which were on differents subnet.

Can you recapitulate the action you've done, please ?

Pat




Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.