Disk and Filesystems Management in Solaris

News Recommended Links Tutorials Solaris Volume Manager (SVM) UFS ZFS
CdRom Floppy Disks Flashdrives    
df du mount Mount Options Humor Etc

A disk device has physical components and logical components. The physical components include disk platters and read/write heads. The logical components include disk slices, cylinders, tracks, and sectors.

A disk is physically composed of a series of flat, magnetically coated platters that are stacked on a spindle. The spindle turns while the read/write heads move as a single unit radially, reading and writing data on the platters. A disk platter is divided into sectors, tracks, and cylinders.

Because a disk spins continuously and the read/write heads move as a single unit, the most efficient seeking occurs when the sectors to be read from or written to are located in a single cylinder.

Disk Slices == Partitions

Disks are logically divided into individual partitions known as disk slices. Disk slices are groupings of cylinders that are commonly used to organize data by function. For example, one slice can store critical system files and programs while another slice on the same disk can store user-created files.

Note – Grouping cylinders into slices is done to organize data, facilitate backups, and provide swap space.

By convention, Slice 2 in Solaris represents the entire disk. Slice 2 maintains important data about the entire disk, such as the size of the actual disk and the total number of cylinders available for the storage of files and directories.

A starting cylinder and an ending cylinder define each slice. These cylinder boundaries determine the size of a slice.

A typical partitioning for Solaris before Solaris 10 was:

Disk Slice Naming Convention

An eight-character string typically represents the full name of a slice. The string includes the controller number, the target number, the disk number, and the slice number.

The embedded SCSI configuration and the integrated device electronics (IDE) configuration represent the disk slice naming conventions across two different architectures. The disk number is always set to d0 with SCSI disks.

c#t#d#s#

Recommended Links


In case of broken links please try to use Google search. If you find the page please notify us about new location
Google     

You too can understand device numbers and mapping in Solaris ...

High Availability: Configuring Boot, Root and Swap (PDF)

Scrubbing Disk Using the Solaris Operating Environment Format Program (June 2000)
-by Rob Snevely
Rob explains how to effectively scrub disks on a Solaris Operating Environment system, using the format utility.