Operating System - HP-UX
1837958 Members
3498 Online
110124 Solutions
New Discussion

Re: Mounting filesystems, props and cons

 
Silver_1
Regular Advisor

Mounting filesystems, props and cons

Hi,

We are in the process of implementing SAS on an HPUX.

I just have a question.

What are the props and cons in mounting filesystems in the root directory or in a second level.

eg:

/dev/vgsas/lvol1 in /sasdata

or

/dev/vgsas/lvol1 in /sas/sasdata

where /sas is a normal directory in the root directory.

Any inputs are appreciated.

Tx,
Nair.
5 REPLIES 5
Mark Greene_1
Honored Contributor

Re: Mounting filesystems, props and cons

A significant con is that if you, by accident or design, put any files in the /sas directory with /sas/sasdata not being mounted, they will no longer be visible when the mount is done. Another con is that if the /sas directory gets removed, has its ownership or permissions changed, the /sas/sasdata directory may no longer be accessible by the application.

mark
the future will be a lot like now, only later
Jeff_Traigle
Honored Contributor

Re: Mounting filesystems, props and cons

For local file systems it doesn't make a whole lot typically. For NFS mounted file systems with certain mount options, it could hang many things on a system if the NFS server was unavailable because the client wouldn't be able to complete a stat on the root directory.
--
Jeff Traigle
Silver_1
Regular Advisor

Re: Mounting filesystems, props and cons

One more addition.

I do have a NAS/NFS mount.

Wondering if i mount it as /sas/sasmount instead of /sasmount.
Silver_1
Regular Advisor

Re: Mounting filesystems, props and cons

Jeff,

you mean to say that if an NFS mount exists then put it in the second level right ?

eg: mount it as /sas/sasmount instead of /sasmount.
Silver_1
Regular Advisor

Re: Mounting filesystems, props and cons

Thanks for your inputs.