Solaris system administration tutorials
ZFS: reserve space for filesystem
Contributed by qmchenry on June 5, 2006 under Solaris system administrationDescendent (child) filesystems in ZFS take on the carachteristics of the parent filesystem (compression, quotas, and available disk space). The pool concept in ZFS is fitting – a hard drive (or several) becomes a pool. We no longer have to define the exact size of a filesystem when we create it. Each filesystem has access to the same pool of space. However, if is simple to reserve a minimum amount of space for a filesystem and its decendents.
CommentsZFS: Set or change the mount point of a filesystem
Contributed by qmchenry on under Solaris system administrationCreating new ZFS filesystems may seem strange at first since they are initially mounted under their parent filesystem. This is no problem since ZFS provides a simple and powerful mechanism for setting the mount point for a filesystem.
CommentsZFS: List or view filesystems
Contributed by qmchenry on under Solaris system administrationIt is worth repeating the distinction between ZFS pools and filesystems. A ZFS filesystem cannot exist outside of a ZFS pool. Creating a ZFS pool also creates a ZFS filesystem of the same name. Understanding the second part can help avoid confusion. This recipe describes the simple step to list the ZFS filesystems configured on the system.
CommentsLogin to Solaris desktop from Windows using Cygwin
Contributed by qmchenry on June 4, 2006 under Solaris system administrationCygwin is a great tool for UNIX people stuck in a Windows world as it provides a vast assortment of UNIX tools in a Windows command prompt. One of the most powerful uses of Cygwin is as an X server. While it may be useful occasionally to run a single X application in its own window, that can be boring. As a more exciting option, it is simple (one command!) to launch a full Solaris desktop session complete with login screen.
CommentsZFS: 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.
CommentsPOPULAR RECIPES
- Add a user from the command line in Solaris
- ZFS: Ten reasons to reformat your hard drives
- Mount an ISO image on a Solaris filesystem with lofiadm
- Configure Solaris for DNS resolution of hostnames
- Boot Solaris from CD-ROM to solve problems
- Change Solaris DNS client settings
- Change a user password in Solaris
- Solaris software RAID
- 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








