DISK TERMINOLOGY
Disk contain the following components.
1. Tracks
2. Cylinders
3.Sectors/Blocks
Tracks
-----------
Tracks are the concentric ring on the each paltter .
Cylinder
-----------
Groups of tracks
Sectors/Blocks
----------------
512 byte block. Which is the smallest unit represented in hardisk.
Partition with Solaris is AKA slices
To display the Slices with in the harddisk.
#df -h
X86 PCS are limited to 4 primary partitions. Normally x86are divided in to 3 primary and 1 extended.
NOTE:Solaris need one fdisk Partition for it's use.
If you want to add another harddrive disk1
1. Create fdisk partion for Solaris use
2. Then Create Slices
NOTE: Solaris uses a VTOC(VOLUME TABLE OF CONTENT) to represent the various slices with long fdisk partition on the disk. On the Sparc Solaris uses VTOC to represent al the slices.
SLICE RULES USING VTOC
---------------------------------
1, Slices may created using VTOC on X86
2. These 10 slicers are represented by 0 to 9.
3. Slices 2,8,9 are reserved. Slice 2 is reserverd for VTOC
NOTE: VTOC Represent the disk label and occupying slice2
4. Slices 0,1,3,6,7 are avilable for use.
Root file system is slice 0.
PRINT VROC/DISKLABEL USING
# prtvtoc /dev/dsk/c0t0d0s0
C0 - Controller Number ## 1st controller
t0- Identifier for the bus orientated controller SCASI/SATA ### For IDE hardisk t0 is not present.
d0 - Represents disk number.
s0- Slice0
VTOC information contain entair diskinformation.
FORAMAT UTILITY
------------------------
1. To open the format utility
# format
2. To list the disk attached to the system
format> disk
3. To select a disk
Enter the disk Number want to select and put enter.
4. To discribe the current disk
format> Current
The output of the above command is shown below.
Current Disk = c1d0
/pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0
5, In the format menu we can get help by pressing question mark or help
6. Inside format tool there is a utilty called format. To format the a selected disk use the following steps.
format> disk
select the disk you want to format
format > format
Disk contain the following components.
1. Tracks
2. Cylinders
3.Sectors/Blocks
Tracks
-----------
Tracks are the concentric ring on the each paltter .
Cylinder
-----------
Groups of tracks
Sectors/Blocks
----------------
512 byte block. Which is the smallest unit represented in hardisk.
Partition with Solaris is AKA slices
To display the Slices with in the harddisk.
#df -h
X86 PCS are limited to 4 primary partitions. Normally x86are divided in to 3 primary and 1 extended.
NOTE:Solaris need one fdisk Partition for it's use.
If you want to add another harddrive disk1
1. Create fdisk partion for Solaris use
2. Then Create Slices
NOTE: Solaris uses a VTOC(VOLUME TABLE OF CONTENT) to represent the various slices with long fdisk partition on the disk. On the Sparc Solaris uses VTOC to represent al the slices.
SLICE RULES USING VTOC
---------------------------------
1, Slices may created using VTOC on X86
2. These 10 slicers are represented by 0 to 9.
3. Slices 2,8,9 are reserved. Slice 2 is reserverd for VTOC
NOTE: VTOC Represent the disk label and occupying slice2
4. Slices 0,1,3,6,7 are avilable for use.
Root file system is slice 0.
PRINT VROC/DISKLABEL USING
# prtvtoc /dev/dsk/c0t0d0s0
C0 - Controller Number ## 1st controller
t0- Identifier for the bus orientated controller SCASI/SATA ### For IDE hardisk t0 is not present.
d0 - Represents disk number.
s0- Slice0
VTOC information contain entair diskinformation.
FORAMAT UTILITY
------------------------
1. To open the format utility
# format
2. To list the disk attached to the system
format> disk
3. To select a disk
Enter the disk Number want to select and put enter.
4. To discribe the current disk
format> Current
The output of the above command is shown below.
Current Disk = c1d0
/pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0
5, In the format menu we can get help by pressing question mark or help
6. Inside format tool there is a utilty called format. To format the a selected disk use the following steps.
format> disk
select the disk you want to format
format > format