nfs export not working at boot


 
Thread Tools Search this Thread
Operating Systems Solaris nfs export not working at boot
# 1  
Old 11-14-2010
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 anywhere else I should check into?
# 2  
Old 11-14-2010
post the relevant infos and lets have a look...

- dfstab
- vfstab
- df -k

for starters...
# 3  
Old 11-14-2010
here are outputs. I have hided some entries due to security reason
df -k (I only put out the nfs share related output here)
Code:
/dev/md/dsk/d6       19264783   48297 19023839     1%    /export
/dev/dsk/c6t0d1s3    4347870 1511005 2793387    36%    /export/mainapp
/dev/dsk/c6t0d1s0    3385638 1134946 2216836    34%    /usr/sybase-12

/etc/dfs/dfstab
Code:
/usr/sbin/share -F nfs -o ro -d "Main Application" /export/mainapp
/usr/sbin/share -F nfs -o ro -d "Sybase 12" /usr/sybase

/etc/vfstab
Code:
/dev/md/dsk/d6  /dev/md/rdsk/d6 /export ufs     2       yes     logging
/dev/dsk/c6t0d1s0       /dev/rdsk/c6t0d1s0      /usr/sybase-12      ufs     2       yes     logging
/dev/dsk/c6t0d1s3       /dev/rdsk/c6t0d1s3      /export/mainapp   ufs     2       yes     logging


Last edited by DukeNuke2; 11-15-2010 at 04:25 AM..
# 4  
Old 11-15-2010
in dfstab is "-12" missing (but might only a copy to forum issue). the files look fine for me and at least the first entry should work. if it does not work at boottime, do the command work from commandline after the boot is done?
# 5  
Old 11-15-2010
manually export after booted via 'exportall' works fine, problem was only at boot time.
Is there any log might tell something? I checked dmsg and messages file but couldn't find anything from there?
# 6  
Old 11-15-2010
there might be a problem with the mount of the non svm devices to a sds device mountpoint... so it might be a timing issue... have you installed the newest patch cluster for solaris AND sds (i think that are two patchsets in solaris 8)?
# 7  
Old 11-16-2010
Try changing your "/export/mainapp" mount from pass 2 to pass 3:

Code:
/dev/md/dsk/d6  /dev/md/rdsk/d6 /export ufs     2       yes     logging
/dev/dsk/c6t0d1s0       /dev/rdsk/c6t0d1s0      /usr/sybase-12      ufs     2       yes     logging
/dev/dsk/c6t0d1s3       /dev/rdsk/c6t0d1s3      /export/mainapp   ufs     3       yes     logging

It could be failing because an attempt to mount /export/mainapp is made before /export is mounted.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

CIFS share re-export NFS

Hi Guys, need help here. i have windows server that share a folder C:/ABCDE i configure samba client in AIX server as /EDCBA and it working fine. then i want to share this /EDCBA to another AIX server using NFS. in the /etc/exportfs i have put /EDCBA... (1 Reply)
Discussion started by: prossits
1 Replies

2. Red Hat

CIFS share re-export NFS

Hi Guys, need help here. i have windows server that share a folder C:/ABCDE i configure samba client in Linux server as /EDCBA and it working fine. then i want to share this /EDCBA to another Linux server using NFS. in the /etc/exportfs i have put /EDCBA - *(rw,no_root_squash) ... (1 Reply)
Discussion started by: prossits
1 Replies

3. Red Hat

Understanding local access to NFS export

Hello, I've inherited an NFS setup that allows external servers to write to an NFS share on a Centos box. Here is an example line from /etc/exports (there are four entries that only are different based on server IP adress). /exports/foobar... (4 Replies)
Discussion started by: KickstartUF
4 Replies

4. AIX

nfs export

Hi How to export a file system from my aix box named ABC in such a way that everyone on the network should be able to import it When on the client side if they give showmount -e ABC it should show like this: # showmount -e ABC export list for ABC: /sybase/software (everyone) (2 Replies)
Discussion started by: newtoaixos
2 Replies

5. UNIX for Advanced & Expert Users

NFS export need to be able to write to directory but not list

My issue is I want an NFS share where I can write to the directory, but not list any of the files in there. (doesn't matter if someone knows the name can open the file). Have an NFS export for example: drwxrwxrw- 2 cranes staff 256 18 May 12:48 cranes The export will only... (1 Reply)
Discussion started by: Cranie
1 Replies

6. Solaris

Could I re-export a NFS resource to a third server ?

Hey Guys. Could someone said if is possible take a NFS resource get it from a original Server a export it and mount it in a third server ? Thank in Advace.... SUN ADMIN (3 Replies)
Discussion started by: aggadtech08
3 Replies

7. Filesystems, Disks and Memory

Local NFS import / re-export using automount?

Hi, Can I do the following: On SunOS 5.8 /etc/vfstab: remote-host:/Volumes/webdata - /export/home/webdata nfs - yes rw,vers=3,soft,intr,bg,timeo=600 In /etc/auto_direct: /home/science $HOST:/export/home/webdata/science /home/science-edu ... (2 Replies)
Discussion started by: bloyall
2 Replies

8. Filesystems, Disks and Memory

NFS export filesystem with several partitions

I want to export the file system which consist of several partition. For example I export / and there are /home, /usr partitions. On client side I can see all files in /, but /home and /usr are empty. So far I failed to find the way to make other partitions visible in one mount. :confused: Of... (2 Replies)
Discussion started by: fmtu2005
2 Replies

9. Filesystems, Disks and Memory

Is it possible to re-export a exported NFS file system?

Hi... Is it possible to re-export a exported NFS file system? If no, Why? Let me know, if any further details are required about the question. Thanks in advance Adams:) (5 Replies)
Discussion started by: Adams Nave
5 Replies

10. HP-UX

nfs export permissions

Hello, If I have an export like: /usr/temp -rw=ram:alligator means that /usr/temp has "rw" permissions to ram and alligator machines and has "ro" to everyone else? (1 Reply)
Discussion started by: psimoes79
1 Replies
Login or Register to Ask a Question