Recent articles‎ > ‎Solaris‎ > ‎

Disk Management

......... ..// Updation in progress
 
Solaris df -k, show us the various mount point in the system and their utilization
it also shows us their corresponding slices
 
Displays output in following format

/             (/dev/dsk/c0t0d0s0 ):  311252 blocks   402434 files
/db           (/dev/dsk/c0t0d0s7 ): 2402078 blocks   473304 files
/webdata      (/dev/dsk/c0t0d0s4 ): 1078720 blocks   374449 files
/appln        (/dev/dsk/c0t0d0s5 ):   45724 blocks   230830 files
/sybase       (/dev/dsk/c0t0d0s6 ):  846684 blocks   582404 files
/tmp          (swap              ): 3065088 blocks   107940 files


#format

Using this commnad we could get the details about the hard disk, how the
slices are created and their allocation sizes etc

Searching for disks...done

AVAILABLE DISK SELECTIONS:

       0. c0t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
          /pci@1f,4000/scsi@3/sd@1,0
       2. c0t2d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
          /pci@1f,4000/scsi@3/sd@2,0
       3. c0t3d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
          /pci@1f,4000/scsi@3/sd@3,0
Specify disk (enter its number): 0

Specify the disk to check the details

After you select the disk, execute the "partition" and then "print" command
to display the various slices allocated in that disk

Comments