Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

After a reboot, some partitions which were mentioned in fstab were not mounted as expected. The format of the line for the partitions which were mounted correctly and those which were not mounted correctly look the same so I am wondering whether some log exists of any problems which prevented the restoration of the missing partitions.

I am not able to see the console during a reboot but need to determine and fix the problem later.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

There's a few things you could try:

  • Assuming that they are still not mounted when you can login, does a mount -a cause any errors to get printed to your terminal? This will only use information available in the fstab to mount all available mounts, and should provide details of any mounts that are still failing to succeed.
    • If you get no errors, and still have no mounts, are you sure that you don't have the noauto option enabled?
    • If you get no errors and now have mounts, perhaps there's some segregated mounting happening in your boot sequence and not all of those boot steps are enabled; eg, Gentoo has localmount and netmount and nfsmount init scripts for mounting things at boot.
  • Is it an ordering issue? ie, trying to mount /var/lib before /var/. You can use the first numeric parameter in the fstab to control which mounts get mounted first.
  • Failing any of the above, you can try going log diving. dmesg, or one of the various logs in /var/log should be able to help. Your boot sequence should be being logged by default, but because it's dependant on your system logger's configuration it can change a little, even on different versions of the same distribution. The usual culprits are /var/log/messages and var/log/kernel.
share|improve this answer
1  
mount -a helped me diagnose the my issue. +1 –  Greg B Apr 2 at 16:36
1  
@GregB +1 for +1 for mount-a –  freb Apr 10 at 1:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.