Are you using 6.5 or previous for -actual?
They are busted in 6.4 branches.
6.5 -- first noticed it when digging around for info on export problems.
You can use exportfs -s to test if you are getting the right path or not.
This does show the proper path. Tried only exporting the line w/ 'actual' and it would appear that any attempt to mount a directory below the one exported (ie '/schoolbus/short/') still ends up getting truncated to the 'actual=' option. Ignoring the shortbus, the actual case is trying to shorten mount paths for a jumpstart. ie, instead of mounting:
/vol/install/Solaris/Solaris_8.hwrel-0202
just exporting:
/Solaris -actual=/vol/install/Solaris
and then mounting filer:/Solaris/Solaris_8.hwrel-0202. As-is, what ends up mounted is /vol/install/Solaris, rather than /vol/install/Solaris/Solaris_8.hwrel-0202
Try reversing the order and see which mount succeeds.
In either case, the mount suceeds, just not in the way you'd expect.
On Sun, 22 Feb 2004, Haynes, Tom wrote:
Yes, this is fixed in burt 113819, which can be gotten as patch 6.5P5.
Fantastic. Already mangled exports files for now, so I'll probably just leave as-is until 6.5.1.
Has anyone played with the new 'actual=' exports option? I think there's been requests for this since multiple volumes were introduces (5.x?) on this list. Don't know if its intentional, but mounts below the root don't appear to work properly. ie, given the exports:
/schoolbus -actual=/vol/bus/yellow,ro /vol/bus/yellow -ro
mount filer:/vol/bus/yellow/short /mnt
..will but you where you would expect to be. but
mount filer:/schoolbus/short /mnt
...won't get you onto the shortbus, instead /mnt will actually be /vol/bus/yellow.
Either way, great feature!
-- Tom Haynes, ex-cfb thomas@netapp.com