LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why a FSTAB entry will mount using -a switch but will not mount automatically at boot (http://www.linuxquestions.org/questions/linux-newbie-8/why-a-fstab-entry-will-mount-using-a-switch-but-will-not-mount-automatically-at-boot-183228/)

mjen 05-19-2004 06:42 AM

Why a FSTAB entry will mount using -a switch but will not mount automatically at boot
 
Can anyone help? I'm bulding a SuSE Standard Server8 box and it's running as a NIS Client in an existing NIS domain. I've had to create a fstab entry (see below) that will mount using the mount -a switch but will not mount automatically when the system is rebooted.

susesvr8:~ # cat /etc/fstab
/dev/hda5 / reiserfs defaults 1 1
/dev/hda8 /home reiserfs acl,usrquota,defaults 1 2
/dev/hda6 /var reiserfs defaults,data=writeback,noatime 1 2
/dev/hda7 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
unix01:/share/misc /share/misc nfs defaults 0 0
unix01:/share/home /share/home nfs defaults 0 0

It's Lines 10 & 11 that are causing the problem although I have created the entry by copying from the /etc/fstab in a SuSE Linux 8.1 Professional box (see below) that's on the network and running successfully as a NIS client.


susepro81:~ # cat /etc/fstab
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
unix02:/export/data /data nfs defaults 0 0
unix02:/export/groups/development /groups/development nfs defaults 0 0

Any help would be appreciated!

trickykid 05-19-2004 06:45 AM

Try using their IP numbers instead of the hostnames of the machines. It might not be looking at your hosts file during bootup, can't find the machines on the network, etc. What is the error at boot time to be curious?

mjen 05-19-2004 07:26 AM

I'll try that. Thanks Trickykid. There are YPBINDPROC_DOMAIN NOT FOUND errors at startup.

mjen 05-19-2004 07:45 AM

Using the IP address has made no difference. Restarting the box and trying to login still generates an error: -

The following installation problem was detected while trying to start KDE
No write access to the $HOME directory (/)
KDE is unable to start

Yet if you login as root, run mount -a, log out and then login again it's OK.


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