The ‘Solaris system administration’ Archives
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 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.

Posted November 28, 2005 by

Solaris: List Installed Packages with pkginfo

The pkginfo command in Solaris is capable of providing detailed information about the packages installed on a system. This tech-recipe describes some of its uses in listing numerous packages.