System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Mount a File System From the Global Zone Into a Non-Global Zone

Assume that a zone has the zonepath /export/home/my-zone. You want to mount the disk /dev/lofi/1 from the global zone into /mnt in the non-global zone.

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  2. To mount the disk into /mnt in the non-global zone, type the following from the global zone:


    global# mount -F ufs /dev/lofi/1 /export/home/my-zone/root/mnt
    
See Also

For information about lofi, see the lofiadm(1M) and lofi(7D) man pages.