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

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

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

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: 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 June 3, 2006 by

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.

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 March 15, 2006 by

Simple Solaris BIND/DNS Server Setup with Failover

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.

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.