Operating System - HP-UX
1842584 Members
3122 Online
110193 Solutions
New Discussion

Netapp FS Mount During boot

 
AwadheshPandey
Honored Contributor

Netapp FS Mount During boot

Hello Gurus,

I want to mount netapp NFS during boot on my system in some rcX.d directory. but when this script tries to run, it hangs there and system is not coming up. but the all file systems came up properly when i put that script in /sbin/rc file.

Please suggest.

Thanks

Awadhesh
It's kind of fun to do the impossible
4 REPLIES 4
Jeeshan
Honored Contributor

Re: Netapp FS Mount During boot

Hi

Specify Directory you want to mount in /etc/fstab file

>>when this script tries to run, it hangs there and system is not coming up

Did u try to put the script in /etc/rc.config.d direcotry or /sbin/init.d directory

a warrior never quits
AwadheshPandey
Honored Contributor

Re: Netapp FS Mount During boot

Thx for reply. /etc/fstab is not a proper solution. my script is under /sbin/init.d directory.
It's kind of fun to do the impossible
V. Nyga
Honored Contributor

Re: Netapp FS Mount During boot

Hi,

NFS software has to be started, before you can mount netapp directories!
Check your '/etc/rc.log', but I believe that you try to mount the directories too early!

At least you have to wait till:
Start NFS client subsystem
Output from "/sbin/rc2.d/S430nfs.client start" ....
So you can't run your script before this.
Maybe you also have to wait till:
Start NFS server subsystem
Output from "/sbin/rc3.d/S100nfs.server start"
----------------------------

That you've to test in which rcX.d you can include your script.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Dennis Handly
Acclaimed Contributor

Re: Netapp FS Mount During boot

>/etc/fstab is not a proper solution.

What is the reason? You want it up sooner? You don't want it up permanently?

>my script is under /sbin/init.d directory.

As Volkmar mentions you need to read rc(1m) and link your script into the appropriate rcX.d directory and give it the appropriate sequence name, so your NFS client subsystem is up to do the mount.

>i put that script in /sbin/rc file.

You actually changed that file?