Re: problems mounting nfs with pcmcia

From: Justin Guerin (jguerin_at_cso.atmel.com)
Date: 08/18/04

  • Next message: Roger: "debian rebooting.."
    Date: Tue, 17 Aug 2004 16:44:08 -0600
    To: debian-user@lists.debian.org
    
    

    On Monday 16 August 2004 17:43, John L Fjellstad wrote:
    > I'm setting up a Debian Linux system at a friend's house. He has Debian
    > Woody (with backports) on the server, and Debian Sarge on the client.
    >
    > The client has a pcmcia card for networking. I'm trying to set up so
    > that the nfs shares are mounted automatically when he boots up, but it
    > doesn't happen.
    >
    > I put this in his fstab:
    > 192.168.1.1:/data/share /net/share nfs rsize=8192,wsize=8192,_netdev
    > 0 0
    >
    > But the system won't mount it at boot up (no problem mounting it manually
    > after logging in as a user, using mount -a -t nfs).
    >
    > I then figured it might be something with being pcmcia, so I added the
    > mount point to /etc/pcmcia/network.opts MOUNTS="/net/share". That
    > didn't work either.
    >
    > I checked the logs and it seems the problem is, the system in both cases
    > tries to mount the nfs filesystems before the network is fully up.
    >
    > I tried to move the mountnfs.sh /etc/init.d script to a much later stage
    > (from S45 to S70), but it didn't help. Does anyone have any idea what I
    > can do next? I have nfs filesystems mounted on my own system without
    > problems, so I'm not sure what his problem is.
    >
    > We both run the same software both places (dhcp3 on server and client).
    >
    I'm guessing when you moved your init script from S45 to S70, the error
    message was the same. If there was no reason that you chose 70, you could
    always move mountnfs.sh back further and see if that works. If it still
    doesn't work at S99, then you could always add a call to the shell script
    from the end of the networking script, then remove the backgrounding, if
    present. You might have to add a delay to the start of the mountnfs.sh
    script, or you could use the builtin wait function when calling the network
    startup scripts.

    Hope that helps,
    Justin Guerin

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roger: "debian rebooting.."

    Relevant Pages

    • Re: about audacity and sound recording on Linux
      ... I have only dabbled a little bit with Audacity myself, ... For these kind of non Debian specific questions, ... I would like to be able to set the bitrate in the script. ... Does ogg format support tags? ...
      (Debian-User)
    • Re: runlevel policy
      ... >>set them up in skeletal fashion as a convenience to a local sysadmin who ... However, to date, Debian ... I usually have a banana for breakfast. ... - networking, local filesystems only ...
      (Debian-User)
    • RE: mapping network drive problem
      ... The key here, I believe, is the fact that the script works in Safe Mode ... The following services start in Safe Mode with Networking: ... Aftera while the PC will not full disconnect a drive. ...
      (microsoft.public.windowsxp.network_web)
    • discover seems to have changed my NICs
      ... When I rebooted into Fedora to see if it worked, ... and 2.6.7 kernels in Debian and networking failed again. ... Debian and then my networking worked perfectly. ... the detection in Debian did not need to be changed when I ran 2.4.26 kernel? ...
      (Debian-User)
    • Re: iptables start on boot
      ... >> previous releases of debian but it doesn't seem to be there anymore. ... > There are also other firewall packages: ... Does anyone know if there is a plan to fix/address this before the next ... could someone give me a copy of the old script ...
      (Debian-User)