Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

Mounting File Systems in Running Non-Global Zones

You can mount file systems in a running non-global zone. The following procedures are covered.

  • As the global administrator or a user granted the appropriate authorizations in the global zone, you can import raw and block devices into a non-global zone. After the devices are imported, the zone administrator has access to the disk. The zone administrator can then create a new file system on the disk and perform one of the following actions:

    • Mount the file system manually

    • Place the file system in /etc/vfstab so that it will be mounted on zone boot

  • As the global administrator or a user granted the appropriate authorizations, you can also mount a file system from the global zone into the non-global zone.

    Before mounting a file system from the global zone into a non-global zone, note that the non-global zone should be in the ready state or be booted. Otherwise, the next attempt to ready or boot the zone will fail. In addition, any file systems mounted from the global zone into a non-global zone will be unmounted when the zone halts.