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?
post the relevant infos and lets have a look...
- dfstab
- vfstab
- df -k
for starters...
here are outputs. I have hided some entries due to security reason
df -k (I only put out the nfs share related output here)
/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
/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
/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
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?
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?
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)?
Try changing your "/export/mainapp" mount from pass 2 to pass 3:
/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.