Information Technology Reference
In-Depth Information
Adding a SCSI device (such as a disk) uses the cfgadm -x insert_device
AP_Id command. For example, the following shows you how to add a disk to
the c0 controller on an SPARC system:
# cfgadm -x insert_device c0
Adding device to SCSI HBA: /devices/sbus@1f,0/
SUNW:fas@0,8800000
This operation will suspend activity on SCSI bus: c0
Continue (yes/no)? y
SCSI bus quiesced successfully.
It is now safe to proceed with hotplug operation.
Enter y if operation is complete or n to abort (yes/no)? y
#
Similar cfgadm commands can be used to replace ( cfgadm -x
replace_device AP_Id ) or remove ( cfgadm -x remove_device AP_Id )
devices. SCSI devices can also be configured ( cfgadm -c configure AP_Id )
or unconfigured ( cfgadm -c unconfigure AP_Id ) as needed. Finally, diag-
nostic tests can be performed on an attachment point using the cfgadm -t
AP_Id command.
Disk Administration
The Solaris 9 operating system requires that disk drives support a logical
structure in order to access and use the storage space on the disk. The logi-
cal structure consists of a small disk label , also called a volume table of contents
(VTOC) , with the remainder of the disk being divided into slices or partitions .
Once a partition is defined, a file system can be created within the partition.
The physical and logical device name associated with a file system is actual-
ly the name of the partition in which it resides.
The Disk Label, or VTOC
The disk label, or VTOC, contains the volume name and various geometry
data about the disk, such as sectors per track, tracks per cylinder, available
cylinders, and so on. In addition, the disk label contains the partition table .
Partitions
A partition, or disk slice, is a contiguous collection of disk sectors as defined
by the partition table. Once a partition is defined in the partition table, a file
system can be created within the partition. The partition table contains an
entry for each partition on the disk. Table 7.2 describes the fields of the par-
tition table.
Search WWH ::




Custom Search