Académique Documents
Professionnel Documents
Culture Documents
AITA\SWBU\SOLARIS\08
AITA\SWBU\SOLARIS\08
Disk slices and the different file systems they could hold
0 1 2 5 6 / swap /opt /usr (The root directorys system files) (Swap area) (Entire disk) (Optional Software) (System executables and programs) (User files and directories)
/export/home
AITA\SWBU\SOLARIS\08
AITA\SWBU\SOLARIS\08
Disk number (d#) Also known as the logical unit number (LUN). This number reflects the number of disks at the target number Slice number (s#) A slice number ranging from 0 to 7
AITA\SWBU\SOLARIS\08
AITA\SWBU\SOLARIS\08
AITA\SWBU\SOLARIS\08
AITA\SWBU\SOLARIS\08
Instance Names
Instance names are abbreviated names assigned by the kernel for each device on the system. An instance name is a shortened name for the physical device name. Example sdn - where sd is the disk name and n is the number, such as sd0 for the first SCSI disk device dadn - where dad is the diskname and n is the number, such as dad0 for the first IDE disk device
AITA\SWBU\SOLARIS\08
AITA\SWBU\SOLARIS\08
10
Using the prtconf command To display the systems configuration information, including the total amount of memory installed and the configuration of system peripherals, which is formatted as a device tree. Lists all possible instances of devices
AITA\SWBU\SOLARIS\08
11
Using the format command To display both logical and physical device names for all currently available disks. To view the logical and physical devices for currently available disks.
AITA\SWBU\SOLARIS\08
12
Reconfiguring Devices
AITA\SWBU\SOLARIS\08
13
Create the /reconfigure file using #touch /reconfigure Shutdown the system using #init 5 Turn off the power to all external devices Install the peripheral device Turn on the power to all external devices Turn on the power to the system Verify that the peripheral device has been added by issuing either prtconf or format command
AITA\SWBU\SOLARIS\08
14
AITA\SWBU\SOLARIS\08
15
Usage #devfsadm -c disk #devfsadm -c disk -c tape -c audio #devfsadm -i dad #devfsadm -i sd #devfsadm -i st
AITA\SWBU\SOLARIS\08
16
To print the changes made by the devfsadm command to the /dev and /devices directories #devfsadm -v To invoke cleanup routines that remove unreferenced symbolic links for devices #devfsadm -C
AITA\SWBU\SOLARIS\08
17
AITA\SWBU\SOLARIS\08
18
Identify the correct disk Plan the layout of the disk Use of the format utility to divide the disk into slices Label the disk with new slice information
AITA\SWBU\SOLARIS\08
19
format utility
Only the root user can use the format utility. If a regular users run the format utility error message appears.
AITA\SWBU\SOLARIS\08
20
AITA\SWBU\SOLARIS\08
21
Disk Labels
The disks label is the area set aside for storing information about the disks controller, geometry, and slices. Another term used to describe a disk label is the volume table of contents (VTOC). To label a disk means to write slice information onto the disk. If failed to label the disk after defining slices, the slice information is lost.
AITA\SWBU\SOLARIS\08
22
An important part of the disk label is the partition table, which identifies a disks slices, the slice boundaries in cylinders, and the total size of the slices.
AITA\SWBU\SOLARIS\08
23
DEMO
Partitioning a Disk Saving a Partition Table to the /etc/format.dat file Using the Customized Partition Table Viewing the Disk VTOC Reading a Disks VTOC using the prtvtoc command
AITA\SWBU\SOLARIS\08
24