Solaris tutorials
ZFS: Create a snapshot of a filesystem
Contributed by qmchenry on under Solaris system administrationOf the many cool features of the new ZFS filesystems, one of the coolest is taking snapshots of a live filesystem. This provides a read-only point-in-time copy of the whole filesystem. While this sounds slow and expensive in disk usage, ZFS makes snapshots efficient in time and space.
CommentsZFS: Create a raidz filesystem
Contributed by qmchenry on June 6, 2006 under Solaris system administrationZFS supports a type of RAID-5 redundancy called raidz. This redundancy works at the ZFS pool level and affects all created filesystems in that pool. According to the Sun docs, raidz offers ‘better distribution of parity [than RAID-5] and eliminates the “RAID-5 write hole” (in which data and parity become inconsistent after a power loss).’ Creating RAID volumes in most volume managers (like VeritasVM) requires learning a new language describing the various components involved. ZFS requires one wee command.
CommentsZFS: Destroy or remove one or more filesystems
Contributed by qmchenry on under Solaris system administrationIf you no longer want a filesystem or hierarchy of filesystems, ZFS offers a (possibly too) easy mechanism for removing them. The destroy option of the zfs command unshares, unmounts, and obliterates filesystems.
CommentsZFS: Grow or add more disk space to pool or filesystem
Contributed by qmchenry on under Solaris system administrationRun out of disk space on your production server? Cringe at the downtime required to bring filesystems offline, backup, create bigger filesystems, and restore all the while typing with crossed fingers? Dread deciding the disk layout for your new server? Don’t panic! ZFS has you covered. In one simple command, you can add space to a ZFS pool without taking it offline.
CommentsZFS: 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.
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
- 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
- Windows 7 Quickie: Setting up TV recording and sharing to other Windows 7 computers (turn windows 7 into a dvr / media server)
- Mafia Wars Cheat: Send Multiple Gifts to Your Friends








