: Using Solaris 2.3, I am having trouble NFS mounting a CD-ROM filesystem
: that was mounted with the volume manager (vold) on its local system.
: The mount itself succeeds, but there is never any real data available
: under the mount point. The volume manager seems to provide links such
: that the CD-ROM filesystem is available both under /cdrom and under /vol,
: so I've tried NFS mounting both of those, but with no luck.
: If however, I turn off vold for the CD-ROM and just manually mount it
: with something like:
: mount -r -F hsfs /dev/c0t6d0s2 /cdrom
: I can then NFS mount the /cdrom filesystem on another machine without
: any problems.
: Does anyone know how to properly NFS mount a filesystem that was
: orginally mounted by the volume manager on its local filesystem? Perhaps
: there is a specific directory that I must NFS mount?
: Thanks very much.
: University Computing and Networking Services, Athens, GA 30602-1911
You need to use the "share ..." option in rmmount's config file,
/etc/rmmount.conf. See rmmount.conf(4). Basically, you put something like:
share cdrom* -o ro
at the end of the file. One additional note: this will work find if you're
already NFS-exporting at least one other file system from this system. This
is because Solaris only starts nfsd and mountd if you have at least one NFS
export listed in /etc/dfs/dfstab. I just put the following in dfstab:
share -F nfs -o ro -d "hosed nfsd startup" /usr/local
(since I don't need to export anything).
Alternately, you could just start (as root):
# /usr/lib/nfs/nfsd -a 16
As I said, though, if you're already exporting other filesystems, then you
don't have to worry about this.
In the province of the mind, what one believes to be true either is true
or becomes true. -- John Lilly
Sunsoft, INC Rocky Mountain Technology Center