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.
CommentsZFS: 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.
CommentsZFS: 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.
CommentsZFS: 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.
CommentsZFS: 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.
CommentsZFS: 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.
CommentsZFS: 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.
CommentsPOPULAR RECIPES
- Reboot a Solaris system
- Solaris 10 Directory Server Installation
- 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
- vmstat case studies
- View our Top Tens
TECH-RECIPES BLOGS
- you're doing it wrong! (rant)
- thoughts of a launch psp owner (post 4 1/2 years)
- Facebook FishVille Cheat: Send Multiple Free Gifts to Your Neighbors
- post release: Windows 7, homegroups and me
- fall 2009 and some geek thoughts, reflections
- Facebook Cafe World Cheat: Close Your Cafe When You are Away for Long Periods of Time (to preserve your Buzz Rating)
- Facebook Cafe World Cheat: Serve Your Customers Instantly
- Facebook Cafe World Cheat: Send Multiple Free Gifts to Your Neighbors








