Operating System - HP-UX
1827097 Members
3963 Online
109714 Solutions
New Discussion

Re: auto mounting filesystems

 
SOLVED
Go to solution
Paul Wright
Advisor

auto mounting filesystems

I have 4 file systems that do not automatically mount after booting the machine. I put the entries for them in /etc/fstab but still no go. Appreciate any enlightenment as to what I am doing wrong.
13 REPLIES 13
Helen French
Honored Contributor

Re: auto mounting filesystems

Are you using MC/SG? Check the file /etc/lvmrc and see if your volume groups get activated during boot process.

Also, do you get any error messages during boot? Is the VGs listed in /etc/lvmtab file? Can you mount those file systems manually after booting?
Life is a promise, fulfill it!
Robert-Jan Goossens
Honored Contributor

Re: auto mounting filesystems

Hi,

Could you display the fstab in this forum ?

Robert-Jan
Mark Grant
Honored Contributor

Re: auto mounting filesystems

Rober-Jan's suggestion above would be helpful!

Also, it's worth noting that if the file systems were not unmounted properly and need an "fsck" they also will not mount at boot.
Never preceed any demonstration with anything more predictive than "watch this"
Sridhar Bhaskarla
Honored Contributor

Re: auto mounting filesystems

Hi,

As mentioned by Shiju check /etc/lvmrc and see if it is customized to activate selective volume groups. If so, you will need to check if this volume group is listed in there.

Check your /etc/rc.log to find the errors.

There may be a problem with your /etc/fstab entries. Try "mount -a" and see if you get any errors.

If you find no filesystem getting mounted from this volume group, then do a 'vgchange -a y vgxx' and see what happens. If it is on serviceguard, it might have been configured into serviceguard but not really into the packages. In that case you can do a "vgchange -c n vgxx" followed by vgchange -a y vgxx and mount -a.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Paul Wright
Advisor

Re: auto mounting filesystems

Shiju:
/etc/lvmrc & /etc/lvmtab check out OK. I don not get error msgs during boot and YES I can mount the systems manually.
Robert:
Here's the fstab entry

/dev/vgXX/lvol1 /u41 vxfs rw,suid,largefiles,delaylog 0 2

Thanks
Paul
Mark Grant
Honored Contributor

Re: auto mounting filesystems

Sometimes a simple one that gets missed is if you have an earlier mount that means the current mount doesn't work.

For example if /etc/fstab first mounts /u14/arch and then mounts /u14, the first one will work and the second one won't.

It's a long shot and "mount -a" would show it as an error but it's worth just checking.
Never preceed any demonstration with anything more predictive than "watch this"
Paul Wright
Advisor

Re: auto mounting filesystems

The /etc/rc.log has the following error message for all the filesystems on this VG.
vxfs mount: illegal -o suboption -- detainlog

but I didn't use the -o option?????
Mark Grant
Honored Contributor

Re: auto mounting filesystems

Are you sure you don't have that option in your /etc/fstab options because these just become -o options when they are mounted at boot
Never preceed any demonstration with anything more predictive than "watch this"
Helen French
Honored Contributor

Re: auto mounting filesystems

Did you check /etc/rc.log file for any file system mount errors? Can you post your complete fstab file and tell us which ones are mounted and which ones are not mounting?

Also, I would install all latest patches to the system.
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: auto mounting filesystems

Which OS are you running? If it's 11.00, then install this patch - PHCO_28141 (s700_800 11.00 mount(1M) cumulative patch). That might solve the issue.
Life is a promise, fulfill it!
Helen French
Honored Contributor
Solution

Re: auto mounting filesystems

Read the patch description here, it refers the same type of error "vxfs mount: illegal -o suboption":

http://support2.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHCO_28141
Life is a promise, fulfill it!
Paul Wright
Advisor

Re: auto mounting filesystems

Thanks everyone. I think I've got it now, appreciate all the help.

Paul
Rodney Hills
Honored Contributor

Re: auto mounting filesystems

Paul,

It is forum courtesy to assign points to those that have helped.

Also this forum is not just a place for an individual to get an answer. It is a place where all can benefit from the combined efforts of many to solve a problem.

If you could summarize what you found that corrected your problem. Then we all benefit.

My 2 cents

-- Rod Hills
There be dragons...