Find the answer to your Linux question:
Results 1 to 5 of 5
My mythbuntu box has a remote storage across the network using NFS. I've added _netdev in fstab, which works to an extent gives the system 90 seconds grace period and ...
  1. #1
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128

    mythbuntu, how to skip a mount point?

    My mythbuntu box has a remote storage across the network using NFS.
    I've added _netdev in fstab, which works to an extent gives the system 90 seconds grace period and adds the mount point after the network establish. But during boot instead of having the polish looking logo of mythbuntu it drops to the shell and trys to mount the nfs share but the network isn't up yet, it's trying to pull an ip, so it sits there and waits for it to time out and then skips and continues booting.

    Is there anyway to skip this mount point but still have it re-mount after boot/logon to desktop?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    Quote Originally Posted by Mad Professor View Post
    My mythbuntu box has a remote storage across the network using NFS.
    I've added _netdev in fstab, which works to an extent gives the system 90 seconds grace period and adds the mount point after the network establish. But during boot instead of having the polish looking logo of mythbuntu it drops to the shell and trys to mount the nfs share but the network isn't up yet, it's trying to pull an ip, so it sits there and waits for it to time out and then skips and continues booting.

    Is there anyway to skip this mount point but still have it re-mount after boot/logon to desktop?
    You could comment it out or remove it from /etc/fstab, then in /etc/rc.d/rc.local you can have it manually mounted. The rc.local file is executed after all the other services are started, so the network will be up before it tries to mount the remote nfs share.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    I'd try adding the option noauto to the line; in theory, that should stop it from trying to mount at startup, but it then makes it a simpler commad to manually mount, or you can add the mount command to your user login script.

  4. #4
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128
    so how do I added to the rc.local?

    Do I just put my command in like this?

    Code:
    mount /var/lib/mythtv/recordings?

  5. #5
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    If "user" is one of the fstab options, that should work. Otherwise, you might have to do "sudo mount ..." If you add "mount *" in the sudoers file as not requiring a password, then you should be able to use sudo to mount any partition from a script.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...