Solaris tutorials
ZFS: Create a mirrored storage pool
contributed by qmchenry on June 3, 2006 under Solaris system administrationAnyone who has used DiskSuite to mirror drives in Solaris knows that, while not difficult, the multiple steps involved are fertile ground for (potentially devastating) heartache. Not so with ZFS. Creating a mirrored pool with ZFS makes DiskSuite look like rocket surgery.
ZFS: Unmount or take a filesystem offline
contributed by qmchenry on under Solaris system administrationThe mount and unmount commands are not used with ZFS filesystems. The filesystem concept has changed with ZFS in which we are likely to see many more filesystems created per host. A ZFS pool can be taken offline using the zpool command and a ZFS filesystem can be unmounted using the zfs command as described in this recipe.
ZFS: How to fsck or check filesystem integrity with scrub
contributed by qmchenry on under Solaris system administrationZFS will change the way UNIX people think about filesystems. How do you use fsck with a ZFS filesystem? You don’t. ZFS filesystems are always clean so even in the worst case of a power outage bringing a system down, you’ll never be asked to give the root password for system maintenance again. With ZFS, data are always consistent on disk. For you worriers, there is a command you can use to make sure everything is okay with your filesystems.
ZFS: Set or create a filesystem quota
contributed by qmchenry on under Solaris system administrationQuotas limit the amount of disk space a filesystem can use. The traditional model of filesystems has changed with ZFS because of the introduction of pools. Each pool (which can be made up of a disk slice, a whole disk, or several disks) can have a jaw-dropping big number of filesystems created in a hierarchial manner. This recipe describes the use of quotas with ZFS.
ZFS: Enable filesystem compression
contributed by qmchenry on under Solaris system administrationZFS can compress data on filesystems. Some folks adamantly refuse to compress mounted filesystems citing performance issues. While not every situation is appropriate, compression can increase system performance by improving IO at the cost of CPU. In most cases, disk IO, more than CPU, is rate determining. This recipe descibes turning on ZFS compressionand checking its compression ratio status.
ZFS: Display information about pools using zpool
contributed by qmchenry on under Solaris system administrationThe zpool command manages ZFS pools as shown in previous recipes. Once a pool is created, its properties can been viewed with the list option of the zpool command.
ZFS: Create a new filesystem from an existing pool
contributed by qmchenry on under Solaris system administrationA previous recipe showed the command to create a ZFS pool using zpool. While this created a mounted filesystem, the fun doesn’t stop there. The pool can be used in additional ways. This recipe shows how to create more filesystems out of an existing pool.
RECENT POPULAR RECIPES
- Solaris 10 Directory Server Installation
- Reboot a Solaris system
- Automate Processes with Cron and Crontab in Solaris
- Set system time in Solaris
- sys-unconfig: Reconfiguring network settings on a Solaris box
- Copy entire contents of a directory and preserve permissions
- Loop Over a Set of Files from the Shell
- Simple Directory Server 5.2 Master Replication
- View our Top Tens
TECH-RECIPES BLOGS
- Symfony Propel 1.4: New Project Workflow
- quickie: video on adding 3G modem to a Thinkpad Tablet
- modding: adding 3G to my Lenovo Thinkpad Tablet
- quick look: Lenovo Thinkpad Tablet (Honeycomb) and Pen (pics)
- design: my geek lair
- How to Delete Your Twitter Account
- Flash Error May Slow Down OS X Lion
- Mass Effect: Cannot See Mouse Pointer






