Operating System - HP-UX
1753516 Members
5101 Online
108795 Solutions
New Discussion юеВ

want to create a mount point.for nfs filesystem

 
SOLVED
Go to solution
arun khatwani
Frequent Advisor

want to create a mount point.for nfs filesystem

I want to create a mount-point only:

Qtree: /myhp01/aa_vol7/dick3
mount-point: /dick_new

in fstab on one of the server

and do not want to mount the filesystems

SO what i have to do just put a entry in fstab
or also create a mount point
8 REPLIES 8
sujit kumar singh
Honored Contributor

Re: want to create a mount point.for nfs filesystem

just

#mkdir /dick_new
#mount -F nfs myhp01:/aa_vol7/dick3 /dick_new


i assume that u have to mount the /aa_vol7/dick3 filesysem exported by the ssrervr myhp01



Sujit
sujit kumar singh
Honored Contributor

Re: want to create a mount point.for nfs filesystem

ad the following line to ur /etc/fstab wehere u want to mount the filesystem

Qtree:/myhp01/aa_vol7/dick3 /dick_new vxfs defaults 0 2


Sujit



where Qtree is the server and /myhp01/aa_vol7/dick3 is teh directory that this server exports and u want to mount of the client system


Sujit
Ganesan R
Honored Contributor

Re: want to create a mount point.for nfs filesystem

Hi Arun,

I want to make clear few things.

Putting entry on fstab means the mentioned filesystem will be mounted automatically whenever the server boots up.

Your query is >>I want to create a mount-point only: <<

Mount point is nothing but a empty directory as simple as that. So you just need to create a directory on root filesystem. That is the moount point

# mkdir

Hope you understand..

Best wishes,

Ganesh.
arun khatwani
Frequent Advisor

Re: want to create a mount point.for nfs filesystem

Ganesan what you will do if this is the situation u got a request from client:

Please prepare mount-point:

myhp01:/aa_vol7/dick3
mount-point: /dick_new

in fstab on below servers:

myhp066
myhp044
myhp033
DO NOT mount filesystem.
Ganesan R
Honored Contributor
Solution

Re: want to create a mount point.for nfs filesystem

Hi Arun,

What I understood is, they want to put the entry on fstab on clients(myhp066, myhp044, myhp033) and create the mount points.

Also they do not want to mount it as of now.

So create the mount point on all three clients.
#mkdir /dick_new

Then put the following entry on the clients /etc/fstab.

myhp01:/aa_vol7/dick3 /dick_new nfs defaults 0 0

Check and confirm with client once about the requirment.
Best wishes,

Ganesh.
arun khatwani
Frequent Advisor

Re: want to create a mount point.for nfs filesystem

yes client want this what u did. so thanks for your reply.
Dennis Handly
Acclaimed Contributor

Re: want to create a mount point.for nfs filesystem

>Ganesan: Then put the following entry on the clients /etc/fstab.

If you don't want it automatically mount on the next boot, you can use noauto:
myhp01:/aa_vol7/dick3 /dick_new nfs defaults,noauto 0 0

That way you can also just use: mount /dick_new
Or you can use the automounter and not have an entry in /etc/fstab.
unixadmin_1
Frequent Advisor

Re: want to create a mount point.for nfs filesystem

Create new directory to which you want to mount:

#mkdir

mount to the directory created:

#mount -f path_of_new_directory