Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got a mostly Debian Lenny network but I've set one machine up with Squeeze. One the Squeeze machine I can mount my NFS shares manually but can't get them to mount at boot time. Here's my /etc/fstab file:
Code:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/elizabeth-root / ext3 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=a076b57d-ce60-4d6f-bf3e-5bb7d1bba4c8 /boot ext2 defaults 0 2
/dev/mapper/elizabeth-home /home ext3 defaults 0 2
/dev/mapper/elizabeth-tmp /tmp ext3 defaults 0 2
/dev/mapper/elizabeth-usr /usr ext3 defaults 0 2
/dev/mapper/elizabeth-var /var ext3 defaults 0 2
/dev/mapper/elizabeth-swap_1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
192.168.1.101:/home /mnt/nfs/home nfs rw,async,hard,intr,ndev 0 0
192.168.1.101:/data /mnt/nfs/data nfs rw,async,hard,intr,ndev 0 0
Can anyone see anything wrong? The Lenny boxes all auto mount witout any problems.
Quick update... as near as I can determine from the log, it's mounting the ext3 partitions on the box itself and not even attempting to mount the nfs shares; there's simply no output regarding nfs mounts at all.
It is doing the mount process for the other stuff before it sets up the network.
Jan 15 16:18:40 elizabeth automount[1878]: syntax error in nsswitch config near [ syntax error ]
Here's nsswitch.conf:
Code:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.