Solaris system administration tutorials

ZFS: Set or create a filesystem quota

contributed by qmchenry on June 3, 2006 under Solaris system administration

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

 

ZFS: Enable filesystem compression

contributed by qmchenry on under Solaris system administration

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 recipe descibes turning on ZFS compressionand checking its compression ratio status.

 

ZFS: Display information about pools using zpool

contributed by qmchenry on under Solaris system administration

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

 

ZFS: Create a new filesystem from an existing pool

contributed by qmchenry on under Solaris system administration

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

 

ZFS: Create a basic filesystem or pool using zpool

contributed by qmchenry on under Solaris system administration

ZFS obsoletes a lot of 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 recipe describes creating a ZFS pool which is the basic building block of filesystems created using ZFS.

 

Simple Solaris BIND/DNS Server Setup with Failover

contributed by mcdsco on March 15, 2006 under Solaris system administration

BIND is a DNS server that comes with Solaris 8 and 9 or can be installed. These instructions will work for other BIND installations, however the placement of the files may be different.

 

Solaris/SPARC: remove a devalias with nvunalias

contributed by qmchenry on December 9, 2005 under Solaris system administration

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

 

Solaris/SPARC: create a devalias with nvalias

contributed by qmchenry on under Solaris system administration

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.