* - Third Party Resource (will leave sun.com)
New ZFS Features in the Solaris 10 10/09 Releaselast updated 2009-10-07 There are many new ZFS features in the Solaris 10 10/09 release. These are the three primary ones: We provide an overview of these three features here. For a complete list of all the new ZFS features, see What's New in ZFS? in the Solaris ZFS Administration Guide. ZFS Flash ArchiveStarting with the Solaris 10 10/09 release, you can create a Flash archive of a ZFS root file system on one system and install it as the boot environment on other systems. Previously, you could only create a Flash archive of a UFS root file system. A Flash archive of a ZFS file system clones an entire root pool hierarchy. It does not contain the Note: The workaround documented in this blog by Scott Dickson is no longer necessary. Limitations
What's Involved for Creating and Installing a ZFS Flash ArchiveHere are the general steps for creating and installing a ZFS Flash archive. For detailed instructions, see the Solaris ZFS Administration Guide. 1. Upgrade your master system to the Solaris 10 10/09 release. Note: You can download Solaris 10 10/09 here. 2. Use the 3. On the system that will be used as the installation server, create a JumpStart profile, as you would for installing any system. 4. Install the ZFS Flash archive on the target system. Cache Devices for ZFS Storage PoolsIn the Solaris 10 10/09 release, you can now include cache devices in a ZFS storage pool. Cache devices provide an additional layer of caching between main memory and disk, and they provide the greatest performance improvement for random-read workloads of mostly static content. Here's an overview of adding, monitoring, and removing cache devices. For more details, see Using Cache Devices in Your ZFS Storage Pool in the Solaris ZFS Administration Guide. Limitations
What's Involved for Adding, Monitoring, and Removing Cache DevicesOne or more cache devices can be added when a pool is created. Cache devices can be also added after a pool is created, and cache devices can be removed after a pool is created. Here's an example of adding a cache device during pool creation:
# zpool create pool mirror c0t2d0 c0t4d0 cache c0t0d0
# zpool status pool
pool: pool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
pool ONLINE 0 0 0
mirror ONLINE 0 0 0
c0t2d0 ONLINE 0 0 0
c0t4d0 ONLINE 0 0 0
cache
c0t0d0 ONLINE 0 0 0
errors: No known data errors
After a cache device is added, it is gradually filled with content from main memory. Depending on the size of your cache device, it could take over an hour for the device to be filled. Cache capacity and reads can be monitored by using the # zpool iostat -v pool 5 Use the For more information, see Using Cache Devices in Your ZFS Storage Pool in the Solaris ZFS Administration Guide. ZFS User and Group QuotasIn previous Solaris releases, you could apply quotas and reservations to ZFS file systems to manage and reserve space. In the Solaris 10 10/09 release, you can set a quota on the amount of space consumed by files that are owned by a particular user or group. You might consider setting user and group quotas in an environment that has a large number of users or groups. Here's an overview of setting user and group quotas for ZFS file systems and displaying the current user and group quota settings. For more details, see ZFS User and Group Quotas in the Solaris ZFS Administration Guide. Limitations
What's Involved for Setting and Removing User or Group QuotasYou can set user or group quotas by using the Note: The # zfs set userquota@user1=5G tank/data # zfs set groupquota@staff=10G tank/staff/admins You can remove a user or group quota, as follows: # zfs set userquota@user1=none tank/data # zfs set groupquota@staff=none tank/staff/admins What's Involved for Displaying User and Group Quota Settings and Used SpaceYou can display a user's or group's current quota setting by using the # zfs get userquota@user1 tank/data NAME PROPERTY VALUE SOURCE tank/data userquota@user1 5G local # zfs get groupquota@staff tank/staff/admins NAME PROPERTY VALUE SOURCE tank/staff/admins groupquota@staff 10G local To display general quota information, use the # zfs userspace tank/data TYPE NAME USED QUOTA POSIX User root 3K none POSIX User user1 0 5G # zfs groupspace tank/staff/admins TYPE NAME USED QUOTA POSIX Group root 3K none POSIX Group staff 0 10G You can display individual user or group space usage by using the # zfs get userused@user1 tank/staff NAME PROPERTY VALUE SOURCE tank/staff userused@user1 213M local # zfs get groupused@staff tank/staff NAME PROPERTY VALUE SOURCE tank/staff groupused@staff 213M local For more information, see ZFS User and Group Quotas in the Solaris ZFS Administration Guide. Comments (latest comments first)Discuss and comment on this resource in the BigAdmin Wiki
|
BigAdmin SubscriptionsBigAdmin Areas
BigAdmin Sun Center
BigAdmin Topics | ||||||||