Wednesday, October 15, 2025
Home Blog Page 268

ZFS: Create a New Filesystem from an Existing Pool

A previous tech-recipe demonstrated the command to create a ZFS pool using zpool. While this created a mounted filesystem, the fun does not stop there. The pool can be used in additional ways. This tech-recipe shows how to create more filesystems out of an existing pool.

Login to Solaris Desktop from Windows Using Cygwin

Cygwin 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.

Symfony / Propel: How to Left Join

A JOIN is a way to connect related database tables by the common values between them. A left join contains all of the rows from the primary table plus related members of the second database if they exist. Using joins can significantly reduce the number of database queries required to render a web page. This Tech-Recipe describes how to do a left join in Symfony using Propel.

Windows Phone 8: Zoom the Screen In or Out

If you forget to carry your glasses, using your Windows Phone 8 with small text will be a problem. Luckily, you can use the magnifier to zoom the screen in and out to enlarge small text and make content clearer.

PHP: Create an Array

An array is one of the fundamentals of almost any programming language. Whether you understand what it is or you just need to learn the syntax, the process of creating arrays in PHP is relatively straightforward.

ZFS: Unmount or Take a Filesystem Offline

The 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 tech-recipe.

ZFS: Create a Mirrored Storage Pool

Anyone 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. This is not the case with ZFS. Creating a mirrored pool with ZFS makes DiskSuite look like rocket surgery.

ZFS: How to fsck or Check Filesystem Integrity with scrub

ZFS will change the way UNIX people think about filesystems. How do you use fsck with a ZFS filesystem? The answer is that you do not. ZFS filesystems are always clean, so even in the worst case of a power outage bringing a system down, you will 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

Quotas 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 tech-recipe describes the use of quotas with ZFS.

ZFS: Enable Filesystem Compression

ZFS 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 tech-recipe describes turning on ZFS compression and checking its compression ratio status.

ZFS: Create a Basic Filesystem or Pool using zpool

ZFS obsoletes many familiar filesystem maintenance commands. Creating a UFS filesystem involved partitioning a disk into slices (format), creating the filesystem (newfs), and mounting it (mount). ZFS does all of this in one simple command. This tech-recipe describes creating a ZFS pool which is the basic building block of filesystems created using ZFS.

ZFS: Display Information about Pools Using zpool

The zpool command manages ZFS pools as shown in previous tech-recipes. Once a pool is created, its properties can been viewed with the list option of the zpool command.

Stay Connected

16,985FansLike
2,458FollowersFollow
61,453SubscribersSubscribe

Latest Articles

Latest Reviews

Latest Comments

error: Content is protected !!