Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Oracle Solaris Zones, Oracle Solaris 10 Containers, and Resource Management Oracle Solaris 11 Express 11/10 |
Part I Oracle Solaris Resource Management
1. Introduction to Resource Management
2. Projects and Tasks (Overview)
3. Administering Projects and Tasks
4. Extended Accounting (Overview)
5. Administering Extended Accounting (Tasks)
6. Resource Controls (Overview)
7. Administering Resource Controls (Tasks)
8. Fair Share Scheduler (Overview)
9. Administering the Fair Share Scheduler (Tasks)
10. Physical Memory Control Using the Resource Capping Daemon (Overview)
11. Administering the Resource Capping Daemon (Tasks)
13. Creating and Administering Resource Pools (Tasks)
14. Resource Management Configuration Example
15. Introduction to Oracle Solaris Zones
16. Non-Global Zone Configuration (Overview)
17. Planning and Configuring Non-Global Zones (Tasks)
18. About Installing, Halting, Uninstalling, and Cloning Non-Global Zones (Overview)
19. Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)
20. Non-Global Zone Login (Overview)
21. Logging In to Non-Global Zones (Tasks)
22. Moving and Migrating Non-Global Zones (Tasks)
23. About Packages on an Oracle Solaris 11 Express System With Zones Installed
24. Oracle Solaris Zones Administration (Overview)
25. Administering Oracle Solaris Zones (Tasks)
How to List Oracle Solaris Privileges in the Global Zone
How to List the Non-Global Zone's Privilege Set
How to List a Non-Global Zone's Privilege Set With Verbose Output
Using the zonestat Utility in a Non-Global Zone
How to Use the zonestat Utility to Display a Summary of CPU and Memory Utilization
How to Use the zonestat Utility to Report on the Default pset
Using zonestat to Report Total and High Utilization
Using DTrace in a Non-Global Zone
Checking the Status of SMF Services in a Non-Global Zone
How to Check the Status of SMF Services From the Command Line
How to Check the Status of SMF Services From Within a Zone
Adding Non-Global Zone Access to Specific File Systems in the Global Zone
How to Add Access to CD or DVD Media in a Non-Global Zone
How to Export Home Directories in the Global Zone Into a Non-Global Zone
Using IP Network Multipathing on an Oracle Solaris System With Zones Installed
How to Use IP Network Multipathing in Exclusive-IP Non-Global Zones
How to Extend IP Network Multipathing Functionality to Shared-IP Non-Global Zones
Administering Data-Links in Exclusive-IP Non-Global Zones
How to Use dladm show-linkprop
How to Use dladm reset-linkprop
Using the Fair Share Scheduler on an Oracle Solaris System With Zones Installed
How to Set FSS Shares in the Global Zone Using the prctl Command
How to Change the zone.cpu-shares Value in a Zone Dynamically
Using Rights Profiles in Zone Administration
Backing Up an OracleSolaris System With Installed Zones
How to Use find and cpio to Perform Backups
How to Print a Copy of a Zone Configuration
How to Restore an Individual Non-Global Zone
26. Troubleshooting Miscellaneous Oracle Solaris Zones Problems
Part III Oracle Solaris 10 Zones
27. Introduction to Oracle Solaris 10 Zones
28. Assessing an Oracle Solaris 10 System and Creating an Archive
30. Configuring the solaris10 Branded Zone
31. Installing the solaris10 Branded Zone
32. Booting a Zone and Zone Migration
33. solaris10 Branded Zone Login and Post-Installation Configuration
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 administratoror 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.
Tip - If proposed support of zones with multiple boot environments is available in a future release, global administrators should not mount global zone file systems into a non-global zone. This action would break the ability to switch between boot environments.
You can share a file system between the global zone and non-global zones by using LOFS mounts. This procedure uses the zonecfg command to add an LOFS mount of the global zone /export/datafiles file system to the my-zone configuration. This example does not customize the mount options.
You must be the global administrator or a user in the global zone with the Zone Security rights profile to perform this procedure.
For more information about roles, see Configuring and Using RBAC (Task Map) in System Administration Guide: Security Services.
global# zonecfg -z my-zone
zonecfg:my-zone> add fs
zonecfg:my-zone:fs> set dir=/datafiles
zonecfg:my-zone:fs> set special=/export/datafiles
zonecfg:my-zone:fs> set type=lofs
zonecfg:my-zone:fs> end
zonecfg:my-zone> verify zonecfg:my-zone> commit
You can add LOFS file system mounts from the global zone without rebooting the non-global zone:
global# mount -F lofs /export/datafiles /export/my-zone/root/datafiles
To make this mount occur each time the zone boots, the zone's configuration must be modified using the zonecfg command.
Use this procedure to delegate a ZFS dataset to a non-global zone.
You must be the global administrator or a user granted the appropriate authorizations in the global zone to perform this procedure.
For more information about roles, see Configuring and Using RBAC (Task Map) in System Administration Guide: Security Services.
global# zfs create poolA/fs2
global# zfs set mountpoint=/fs-del/fs2 poolA/fs2
global# zfs get mountpoint poolA/fs2 NAME PROPERTY VALUE SOURCE poolA/fs2 mountpoint /fs-del/fs2 local
# zonecfg -z my-zone zonecfg:my-zone> add dataset zonecfg:my-zone:dataset> set name=poolA/fs2 zonecfg:my-zone:dataset> end
global# zfs get -r zoned poolA NAME PROPERTY VALUE SOURCE poolA zoned off default poolA/fs2 zoned on default
Note that the zoned property for poolA/fs2 is set to on. This ZFS file system was delegated to a non-global zone, mounted in the zone, and is under zone administrator control. ZFS uses the zoned property to indicate that a dataset has been delegated to a non-global zone at one point in time.