A repository of information technology questions and answers

Latest posts

Repairing a Damaged ZFS Device

This article describes how to determine ZFS device failure types, clear transient errors, and replace a device.

Repairing a Missing ZFS Device

If a device cannot be opened, it displays as UNAVAILABLE in the zpool status output.

ZFS Raid and RAIDZ techniques

With ZFS filesystem, RAIDZ is very popular as it gives the best tradeoff of hardware failure protection versus storage.

Sending a ZFS snaphot

You can use the zfs send command to send a copy of a snapshot stream and receive the snapshot stream in another pool

Troubleshooting ZFS Swap and Dump devices

If you need to adjust the size of the swap volume after installation on an active system, review the following steps. See CR 6765386 for more info

ZFS Send and Receive

ZFS has the ability to send and receive data. This can be used to combine snapshots, create backups, or replicate data between servers

Renaming a ZFS zpool

Renaming a zpool is not as intuitive as I would expect, but it is still pretty simple. However, we can accomplish this through a three step process.

Creating a Solaris Zone on ZFS

The following is a simple example of creating a ZFS filesystem and using it to hold a newly-created Solaris Zone (Solaris Container)

How to build a Solaris Branded Zone

This is a standard question for Solaris administrators who unfortunately have requirements for an older Solaris 9 kernel for a legacy application.

Resumable ZFS Send Streams

The ability to resume an interrupted zfs send/receive data stream which is a representation of a snapshot is now part of Oracle Solaris 11.4

Monitor and Manage ZFS Shadow Migration

Using Shadow Migration is very easy; for example, we could migrate shared ZFS and UFS file systems through NFS or even through a local file system

Configurable ZFS Read and Write Throughput Limits

Setting the size of a ZFS dataset can ensure an appropriate allocation of space configuration that contains multiple volumes to service different clients

ZFS versions in Solaris 10

This article describes available ZFS versions, features of each version, and the Solaris release that provides the ZFS version and feature

Extracting ZFSSA log files

A simple method of extract the log files from a ZFS storage Appliance to browse at leisure

ZFS command line examples

ZFS uses the concept of storage pools to manage physical storage. Historically, file systems were constructed on top of a single physical device.

Resizing Solaris swap partition online

A short tip on how to increate the size of swap online for a given Solaris system under zfs.

Troubleshooting ZFS

Most ZFS errors I've experienced generally fall into one of three categories. missing devices, damaged devices and data corruption.

ZFS Recommendations

Because ZFS uses kernel addressable memory, we need to make sure to allow enough system resources to take advantage of its capabilities

ZFS Internals

Max Bruning wrote an excellent paper on how to examine the internals of a ZFS data structure.

ZFS and Sun Cluster integration

A ZFS owned disk may be promoted to be a quorum disk on current Sun Cluster versions

ZFS Hardware Maintenance

Once the drive has been physically replaced, run the 'zfs replace' command against the device to allow it to be brought back online.

ZFS Data Protection

ZFS is a transactional file system. For each write request, a copy is made of the specified block protected by Copy-On-Write (COW)

ZFS Zones

If the filesystem is created in the global zone and added to the local zone via zonecfg, it may be assigned to more than one zone

ZFS Snapshots and Clones

The difference between a snapshot and a clone is that a clone is a writable, mountable copy of the file system.

ZFS Performance Monitoring

In ZFS, I/Os are scheduled similarly to how jobs are scheduled on CPUs.

ZFS Raid Levels

ZFS filesystems automatically stripe across all top-level disk devices. (Mirrors and RAID-Z devices are considered to be top-level devices)

ZFS Filesystem Management

Similar filesystems should be grouped together in hierarchies to make management easier.

ZFS Quick Reference Guide

ZFS uses the concept of storage pools to manage physical storage. Historically, file systems were constructed on top of a single physical device.

ZFS Pool Management

When disks are added to an existing mirrored or RAID Z pool, the ZFS is resilvered to redistribute the data.

ZFS Dataset Size

A simple entry on how to discover or set the size for a given ZFS dataset as occasionaly we need to increase the size of a ZFS dataset.