[rescue] Solaris Jumpstart related NFS question

Phil Stracchino alaric at metrocast.net
Wed Oct 1 05:38:37 CDT 2008

Steve Sandau wrote:
> stephen price wrote:
>> can you have nested mount points?
>> create a new mount point - /newexport - 
>> mount /raid2/install_server to /newexport with the read-only option
>> export/share out the new mount point & change your jumpstart script
> I seem to remember that you can't do nested NFS shares.

You seem to remember incorrectly.

minbar:root:~:1 # share
-               /   root=@,rw=@   "minbar root"
-               /home   root=@,rw=@
"minbar home"
-               /export   root=@,rw=@   "exports"

While this may seem an odd thing to do, looking at my mounts there was
meaning in my madness:

babylon5:alaric:~:3 $ cat /etc/fstab

### remote filesystems
minbar:/                /mnt/minbar             nfs
ro,rsize=16384,wsize=16384,hard,intr,suid,nfsvers=3,tcp 0       0
minbar:/home            /mnt/minbar/home        nfs
rw,rsize=16384,wsize=16384,hard,intr,suid,nfsvers=3,tcp 0       0
minbar:/export          /minbar                 nfs
rw,rsize=16384,wsize=16384,hard,intr,suid,nfsvers=3,tcp 0       0

Notice it's set up this way so that I can have minbar:/ mounted ro, but
minbar:/home mounted rw.

(Notes:  minbar runs Solaris 9, babylon5 runs a custom Linux install
based long ago on Slackware 7 but no longer really recognizable as such.)

  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

More information about the rescue mailing list