Operating System - HP-UX
1847177 Members
5705 Online
110263 Solutions
New Discussion

some logical volumes didn't mount after reboot

 
SOLVED
Go to solution
Carol Yu
Frequent Advisor

some logical volumes didn't mount after reboot

Hi, all,

I have put about 39 entries to /etc/fstab file to mount logical volumes to file systems.

However, I noticed there are 3 of them, and always these 3 didn't get mounted every time when server is rebooted.

I don't why this happens and how to prevent it from happening.

Thanks a lot,
Carol
10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: some logical volumes didn't mount after reboot

Carol,

Either monitor the boot process or check /etc/rc.log and dmesg output for errors that show why these entries were not mounted during bootup.


Pete

Pete
Jeff Schussele
Honored Contributor

Re: some logical volumes didn't mount after reboot

Hi Carol,

Discounting typos or incompatible mount options (largefiles?) in the fstab file, IF you have MC/Service Guard & didn't add them to the /etc/lvmrc file then they won't be auto-mounted.
Check the /etc/rc.log file for mount errors and/or try to mount them with mount -a to see the mount time errors.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Robert-Jan Goossens
Honored Contributor

Re: some logical volumes didn't mount after reboot

Mount over mount like below example ?
First mount /app/oracle before /app/oracle/admin

/dev/vg01/lvol7 /app/oracle vxfs rw,suid 0 2
/dev/vg01/lvol1 /app/oracle/admin vxfs rw,suid 0 2

Regards,
Robert-Jan
Fabio Ettore
Honored Contributor

Re: some logical volumes didn't mount after reboot

Hi Carol,

can you mount these 3 logical volumes/filesystems by commandline?

# mount /dev/vgXX/lvolX /

Is it just a problem on boot?

Best regards,
Ettore
WISH? IMPROVEMENT!
Colin Topliss
Esteemed Contributor

Re: some logical volumes didn't mount after reboot

Could be anything.

Did you see any errors appear during the reboot?

Post your fstab, and the three that don't get mounted.

I would hazard a guess that you are mounting these three in the wrong order (ie you need to have mounted one of your other filesystems before attempting to mount these ones).

Col.
Carol Yu
Frequent Advisor

Re: some logical volumes didn't mount after reboot

Thanks all.

I checked the /etc/rc.log. Here is the relavant error message:

mountall: cannot mount /dev/vg03/lvol8
mountall: diagnostics from mount
vxfs mount: mount option(s) incompatible with file system /dev/vg03/lvol8

I did put in /etc/fstab to mount these 3 with largefiles support as most other LVs. Is there any way to fix this?

Thanks a lot.
Carol
Carol Yu
Frequent Advisor

Re: some logical volumes didn't mount after reboot

More info: if I just try to mount without any options manually, it succeeded. So I am guessing sth like the largefiles option might cause problem.

Here are the part in /etc/fstab for those 3 failed ones:
/dev/vg03/lvol6 /rtm/rtm16 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg03/lvol8 /rtm/rtm17 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg03/lvol7 /dxiqa vxfs rw,suid,largefiles,delaylog,datainlog 0 2

But the other around 20 of them are also mounted with largefiles option and they are mounted ok during reboot.
Elena Leontieva
Esteemed Contributor
Solution

Re: some logical volumes didn't mount after reboot

Carol,

Change your fs to largefiles:

fsadm -F vxfs -o largefiles /dev/vg03/rlvol8

mount it:
mount /dev/vg03/lvol8 /mount_dir

Check it:
fsadm -F vxfs /mount_dir

Edit /etx/fstab

Elena.
Robert-Jan Goossens
Honored Contributor

Re: some logical volumes didn't mount after reboot

Hi,

Umount them,

# fsadm -o largefiles /dev/vg03/rlvol6

Same for the other two.

regards,
Robert-Jan
Patrick Wallek
Honored Contributor

Re: some logical volumes didn't mount after reboot

Do the following:

# fsadm -F vxfs /rtm/rtm16

# fsadm -F vxfs /rtm/rtm17

# fsadm -F vxfs /dxiqa

If these show up with 'nolargefiles' as the output then that is your problem. You will then need to make the filesystems support largefiles.

If you have OnlineJFS installed you can do this on the fly by doing:

# fsadm -F vxfs -o largefiles /rtm/rtm16

# fsadm -F vxfs -o largefiles /rtm/rtm17

# fsadm -F vxfs -o largefiles /dxiqa