| Adding or Delegating ZFS File system to Non-Global Zones |
|
|
| Written by geekyS | ||
| Saturday, 20 December 2008 17:47 | ||
|
This Geekyfacts article explains the procedure to add & delegate ZFS file system to Non-Global zone
ZFS file system can be added to Non-global zones using zonecfg command's add fs option. Before adding, the file system mountpoint property should be set to legacy and file system should not been mounted already in another location.
Non-global zone can create and delete files under the added file system, but it will not get the contol to change the file system properties like mountpoint,readonly,atime,compression. Global zone is responsible for controlling and managing the file system.
Creating a ZFS file system
[root@geekyfacts]# zfs create testpool/zonefs
[root@geekyfacts]# zfs list
Setting mountpoint of testpool/zonefs filesystem as legacy
[root@geekyfacts]# zfs set mountpoint=legacy testpool/zonefs Adding testpool/zonefs file system to the non-global zone - tzone
[root@geekyfacts]# zonecfg -z tzone
|
||
| Last Updated on Monday, 22 December 2008 08:37 |

