The ‘Solaris system administration’ Archives
Posted June 3, 2006 by

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.

Posted June 3, 2006 by

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 […]

Posted June 3, 2006 by

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 […]

Posted June 3, 2006 by

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 […]

Posted June 3, 2006 by

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.

Posted June 3, 2006 by

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.

Posted November 8, 2005 by

Enable/Configure FC-AL/SAN Devices with cfgadm in Solaris

Solaris 9 requires some tinkering to play with SANs. This tech-recipe describes the procedure.

Posted October 7, 2003 by

Monitor Solaris system load with vmstat

Keeping an eye on system performance is critical for many applications. The vmstat program provides detailed if cryptic information about the system load.

Posted December 9, 2005 by

Solaris/SPARC: Remove a Devalias with nvunalias

BootPROM device aliases simplify life when booting a SPARC-based Solaris system. If changes to the system invalidate a device alias, leaving it may complicate matters during panic times when things need to be clear. This tech-recipe describes deleting a device alias with nvunalias.

Posted December 9, 2005 by

Solaris/SPARC: Create a Devalias with nvalias

Device aliases are useful in the BootPROM environment because they simplify the unwieldly device paths into simple terms like disk and net. There may be cause to create a new device alias on a system as when adding a new or alternate boot device.

Posted November 28, 2005 by

Solaris: List Detailed Package Information with pkginfo

The pkginfo command lists information about one or more packages installed on a Solaris system. It has a verbose setting to display detailed information about a package which includes the software version number, the number of files and space occupied on disk, and the date of install.

Posted November 28, 2005 by

Remove a Solaris Package with pkgrm

Most software provided for a Solaris system comes in a package. Removing an installed package is easy, but any command associated with “removing” is worth your attention.