NFS not mouting at boot


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers NFS not mouting at boot
# 1  
Old 07-23-2012
NFS not mouting at boot

hi guys

I have a server suse 11 two IP different segments
one IP is point to point to NFS Storage.

Administration IP: 10.7.10.100
NFS-Storage IP: 192.168.10.50

weird thing is I defined the NFS I can mount them using mount -a but when I reboot the server the NFS mount points are not there and I have to manually mount them again by mount -a

update---
I just discovered if I start the nfs service it will mount the NFS shares automatically but the weird thing is
chkconfig shows nfs is on

any idea why?

thanks a lot

---------- Post updated at 03:15 PM ---------- Previous update was at 02:19 PM ----------

reading it looks like nfs tries to start first than network Shares are never mounted...any idea how to fix that

similar issue for redhat
https://bugzilla.redhat.com/show_bug.cgi?id=692008

Last edited by karlochacon; 07-23-2012 at 03:26 PM.. Reason: update
# 2  
Old 07-23-2012
Sorry, but I got confused to see your post. Which one is NFS server and which one is NFS client. Does the issue occur when you reboot the NFS server or the NFS client?

Do you mean to say that the NFS service does not start after rebooting the NFS server even though it's turned on for that runlevel?
This User Gave Thanks to admin_xor For This Post:
# 3  
Old 07-24-2012
the server that won't mount shares at boot up is the NFS client....NFs server is a Storage
# 4  
Old 07-24-2012
Have you added an appropriate entry to /etc/fstab on the NFS client?
This User Gave Thanks to fpmurphy For This Post:
# 5  
Old 07-24-2012
Quote:
Originally Posted by fpmurphy
Have you added an appropriate entry to /etc/fstab on the NFS client?
yes it's added like I said when I type mount /share1 it automatically mounts the /share1 since it reads fstab in order to mount it
# 6  
Old 07-24-2012
Quote:
Originally Posted by karlochacon
like I said when I type mount /share1 it automatically mounts the /share1 since it reads fstab in order to mount it
You had never said that!

Did you check the logfiles for problems during booting?

Can you show the relevant fstab entry and the output of who -r, chkconfig --list nfs and service nfs status (preferably just after a reboot).
This User Gave Thanks to Scott For This Post:
# 7  
Old 07-24-2012
Quote:
Originally Posted by Scott
You had never said that!

Did you check the logfiles for problems during booting?

Can you show the relevant fstab entry and the output of who -r, chkconfig --list nfs and service nfs status (preferably just after a reboot).
of course

I've already checked logs and I see nothing I am attaching them here too dmesg.txt and messages.txt


Code:
tsm:~ # who -r
         run-level 5  Jul 24 01:32                   last=S
tsm:~ # chkconfig --list nfs
nfs                       0:off  1:off  2:off  3:on   4:off  5:on   6:off
tsm:~ # service nfs status
Checking for mounted nfs shares (from /etc/fstab):                                                                unused

Now I check my filesystem after I just rebooted
tsm:~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/Vol_Group-vol_root
                       26G  231M   26G   1% /
devtmpfs               32G  164K   32G   1% /dev
tmpfs                  32G   88K   32G   1% /dev/shm
/dev/sda1             495M   59M  436M  12% /boot
/dev/mapper/Vol_Group-vol_opt
                       52G   33M   52G   1% /opt
/dev/mapper/Vol_Group-vol_tsmDB1
                       53G   33M   53G   1% /tsmDB1
/dev/mapper/Vol_Group-vol_tsmDB2
                       53G   33M   53G   1% /tsmDB2
/dev/mapper/Vol_Group-tsmdb2archivelogs
                       53G   33M   53G   1% /tsmdb2archivelogs
/dev/mapper/Vol_Group-vol_usr
                       18G  2.8G   16G  16% /usr
/dev/mapper/Vol_Group-vol_log
                      8.0G  120M  7.9G   2% /var

Now again but after invoking mount -a NFS shares mounted
tsm:~ # mount -a

IMPORTANT: If I restart nfs it will mount shares automatically too

tsm:~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/Vol_Group-vol_root
                       26G  231M   26G   1% /
devtmpfs               32G  164K   32G   1% /dev
tmpfs                  32G   88K   32G   1% /dev/shm
/dev/sda1             495M   59M  436M  12% /boot
/dev/mapper/Vol_Group-vol_opt
                       52G   33M   52G   1% /opt
/dev/mapper/Vol_Group-vol_tsmDB1
                       53G   33M   53G   1% /tsmDB1
/dev/mapper/Vol_Group-vol_tsmDB2
                       53G   33M   53G   1% /tsmDB2
/dev/mapper/Vol_Group-tsmdb2archivelogs
                       53G   33M   53G   1% /tsmdb2archivelogs
/dev/mapper/Vol_Group-vol_usr
                       18G  2.8G   16G  16% /usr
/dev/mapper/Vol_Group-vol_log
                      8.0G  120M  7.9G   2% /var
192.168.7.31:/vol/vol_tsmstg01
                      501G   64K  501G   1% /tsmstg01
192.168.7.31:/vol/vol_tsmstg02
                      501G   64K  501G   1% /tsmstg02
192.168.7.32:/vol/vol_tsmstg03
                      501G   64K  501G   1% /tsmstg03
192.168.7.32:/vol/vol_tsmstg04
                      501G   64K  501G   1% /tsmstg04

and fstab file

192.168.7.31:/vol/vol_tsmstg01  /tsmstg01       nfs     defaults 0 0
192.168.7.31:/vol/vol_tsmstg02  /tsmstg02       nfs     defaults 0 0
192.168.7.32:/vol/vol_tsmstg03  /tsmstg03       nfs     defaults 0 0
192.168.7.32:/vol/vol_tsmstg04  /tsmstg04       nfs     defaults 0 0

thanks a lot
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

NFS mounts not automounting on boot

I have several Solaris 11.2 zones. when I reboot them I have to go in and do mountall to mount the NFS mounts. any ideas where to troubleshoot why they are not automounting? (2 Replies)
Discussion started by: os2mac
2 Replies

2. Red Hat

NFS does not start during boot process

Hello, I am facing some issues during boot process of rhel 6.2 It takes too long time (~10 min) for the node to come up... The boot process stuck while it trying to start NFS and does not continue until timeout. In the boot.log file i see Starting NFS quotas: Cannot register service:... (2 Replies)
Discussion started by: @dagio
2 Replies

3. Solaris

Help mounting nfs on boot on Solaris 11

Hello, I am looking for some assistance in mounting an nfs drive on boot, on a Solaris 11 machine. On my Solaris 9/10 machines, I have an entry for my nfs mount in /etc/vfstab, however when I add the same entry to my vfstab on Solaris 11, the drive will not mount on boot. After booting up, I... (5 Replies)
Discussion started by: bstring
5 Replies

4. IP Networking

Boot Floppy with dd and nfs cleint

hi I'm looking for absolutly a minimal Unix or Linux installed on just 1 boot floppy with dd and nfs client. (3 Replies)
Discussion started by: ccc
3 Replies

5. Solaris

nfs export not working at boot

we have a Solaris 8 nfs server that exported two shares. entries are in /etc/dfs/dfstab. clients have been accessing these shares for several years. we just rebooted this nfs server and noticed that no share gets exported. I don't see relevant messages from dmsg nor messages file, is there... (6 Replies)
Discussion started by: jalite19
6 Replies

6. AIX

AIX - boot - nfs problem

Hello Experts, I'm trying to boot my AIX server via network using another AIX as a boot server. I use tcpdump to monitor the process. After my boot client received .info file and mounted nfs resource (checked by 'showmount -a' from boot server) it hung. I noticed a lot of following entries: ... (0 Replies)
Discussion started by: jarekkk
0 Replies

7. Shell Programming and Scripting

NFS client Mount script after boot

Hi, I have 12 AIX P series servers. One has the NFS DB2data and the others are client mounts. NFS is not in /etc/filesystem because if NFS DB2data not up the client takes 7+ minutes to give up on nfsmnt and boot up. I'd like to check that nfs is up, then do the client mount all from a startup... (0 Replies)
Discussion started by: sv2xs
0 Replies

8. AIX

NFS does not mount on boot!

Hi, Can someone help me on this? I'm not able to enable a well working mounting process for NFS filesystems on boot time. On the server side (AIX 5.2) everything seems to be OK and correctly exported, seeing other clients (AIX 5.2) are able to mount normally on boot time. On a client in... (5 Replies)
Discussion started by: padawan75
5 Replies

9. UNIX for Dummies Questions & Answers

NFS client subsystem hang up on boot

Hi, I have a Unix box running HP-UX 10.20 and it suddenly won't boot. Every time it goes down the boot checklist, it hangs on "NFS client subsystem" and just continues to say busy/wait. I have read something about the /etc/auto_master but don't quite understand what has to happen to fix it. ... (4 Replies)
Discussion started by: Asheley Ryan
4 Replies

10. AIX

Unable to mount NFS share during boot

Hello Everyone, I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP. I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
Discussion started by: jlslhills
0 Replies
Login or Register to Ask a Question