LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cifs not mounting on boot (https://www.linuxquestions.org/questions/linux-software-2/cifs-not-mounting-on-boot-731689/)

David1357 06-12-2009 03:28 PM

Quote:

Originally Posted by pepsimachine15 (Post 3572099)
sometimes this will help, i believe the 1 at the end will tell fstab to retry the mount again later at the end of boot, possibly after your net starts.

From the man page for "fstab":
Code:

      The  sixth field, (fs_passno), is used by the fsck(8)
      program to determine the order in which filesystem checks
      are done at reboot time.  The root filesystem should be
      specified with a fs_passno of 1, and other filesystems
      should have a fs_passno of 2.  Filesystems within a drive
      will be checked  sequentially, but filesystems on different
      drives will be checked at the same time to utilize parallelism
      available in the hardware.  If the sixth field is not present
      or zero, a value of zero is returned and fsck will assume that
      the filesystem does not need to be checked.

Quote:

Originally Posted by Princess_Bride
[Vizzini has just cut the rope The Dread Pirate Roberts is climbing up]
Vizzini: HE DIDN'T FALL? INCONCEIVABLE.
Inigo Montoya: You keep using that word. I do not think it means what you think it means.


pepsimachine15 06-12-2009 04:07 PM

aye, the man page tells the truth. only changing the value to 1 on my system did cause my cifs mounts to mount properly. maybe not the correct way of doing it, but it did work strangely enough

ironoxide 12-16-2011 10:58 AM

I spent a long time to find the problem: STP - Spanning Tree Protocol.
When a host is attached such as a computer, printer or server the switch port will always go into the forwarding state, albeit after a delay of about 30 seconds while it goes through the listening and learning states.
Full story: fstab mount error at boot.


All times are GMT -5. The time now is 12:14 AM.