How to mount a lofs filesystem to present to local zone

book

Article ID: 100021396

calendar_today

Updated On:

Resolution

This TN is just for quick reference or "How to"

In scenario you might find that there is a vxfs filesystem which is mounted via cluster in global zone.

If you are using solaris containers/zones, you might need to present this mount point to the local zone as a lofs filesystem. Ideally this should be done by "zone" resource if you have configured the one in VCS. You might need to use below commands either if you have not configured Zone resource in VCS or else your resource dependency is not setup correctly.

You should use following command to achieve above:

# mount -F lofs

for e.g

# mount -F lofs /zone/testzone1/data/oracle /zone/testzone1/root/data/oracle

So if you see from global zone now with "mount -v" command, you should see an entry created for lofs filesystem with above mount & if you login to local zone, you should see a new mount under "df -k" mounted on /data/oracle.

Please note "root" in the local zone mount point.
 

 

Issue/Introduction

How to mount a lofs filesystem to present to local zone