1834145 Members
2036 Online
110064 Solutions
New Discussion

MOUNT problems

 
Karin Sanati_1
New Member

MOUNT problems

Hello there,

I have 2 N class servers attached to an XP256. we have scripts that create the
proper volume groups and logical volumes. We also have scripts that run the
newfs command, mkdir (to creat the mountpoints) and mount commands. Approx 20
logical volumes get created. The problem is when we use the mount script (or
use mountall from the command line with an updated fstab file), it will mount
some logical volumes and will give an error stating that the file (mount point)
does not exist and hence it doesnot mount the logical volume.

Checked: Before we use the mountall, all mount points exist. Once mountall is
used and we see the errors, if we go to the subdirecotry where most of the
mount points are located, almost none of the 16 mountpoints that should exist
there can be seen. At this point, if we umount, all directory mount points
re-appear. We have checked all vg's and lvols, there are no duplications
anywhere.

Any help/hint/suggestion is appreciated.
2 REPLIES 2
Neil Gast_1
Frequent Advisor

Re: MOUNT problems

Are you mounting volumes under other mounted volumes? Do some of your mount
points depend on other volumes being mounted first? It may be a problem with
the order in which you're mounting, but I can only guess without seeing your
shell script.

MrNeil
Alan Riggs_1
Regular Advisor

Re: MOUNT problems

I second Neil's suggestion. this sounds very much like a situation in which a
mounted filesystem "blocks" an underlying mount point. for instance: you want
to create filesystems for /var/opt and /var/opt/omni.
your script does mkdir /var/opt
mkdir /var/opt/omni
you make entries in fstab
you issue mount -a
/var/opt gets mounted.
/var/opt/omni is now "hidden" by the mounted /var/opt.

The solution, always mount trunks of a tree before creating the limbs.