Operating System - HP-UX
1826498 Members
2869 Online
109692 Solutions
New Discussion

disk no longer mounts at reboot

 
SOLVED
Go to solution
Dave Chamberlin
Trusted Contributor

disk no longer mounts at reboot

I have a two disk volume group. One disk failed and I replaced it with a spare. The volume group is correctly configured and the lv on it works normally. The problem is that on reboot, it no longer mounts automatically, and I have to mount it. There is still an entry in /etc/fstab for this volume and I thought that this is the fstab would be the file used for mounting info at boot time. I am obviously wrong. What do I need to do to make the volume mount at boot time?
Thanks
4 REPLIES 4
Jeff Schussele
Honored Contributor
Solution

Re: disk no longer mounts at reboot

Hi Dave,

Check the /etc/rc.log for errors at mount time.
It's possible that the FS needs to be cleaned with fsck.
But if you can mount it manually - maybe not.
What happens if you do a
mount -a
after the boot? That will read fstab & if it compalins there, then you can suspect a mount option mismatch - like creation w/o largfiles & you have largefiles in the fstab entry or vice-versa.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Rajeev  Shukla
Honored Contributor

Re: disk no longer mounts at reboot

Hi,
Changing the disk should not make any difference in mounting the LV on that disk. Do a few checks...
Check that you haven't disable the auto_activation of VG in /etc/lvmrc and when the system comes up and the LV doesn't get mounted just do mount -a This will mount everything in /etc/fstab and if this works then the LV should mount or there is something wrong with the line in /etc/fstab.

Cheers
Rajeev
Sridhar Bhaskarla
Honored Contributor

Re: disk no longer mounts at reboot

Hi Dave,

If you didn't have to do a "vgchange -a y" on the volume group prior to mounting the file system after the reboot, then "mount -a" as suggested by Jeff is a very good idea.

Unmount the filesystem. And issue mount -a command. It should give out the errors like "invalid mount options" etc.,

If you had to vgchange the vg, then make sure it is not disabled for auto activation in /etc/lvmrc as mentioned by Rajeev.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Dave Chamberlin
Trusted Contributor

Re: disk no longer mounts at reboot

Thanks forthe replies. Indeed - the rc.log file was indicating a option problem - I think that the largefiles option was it. Thanks!