Wednesday, August 10, 2022

Why and How to manage disk space quota in Solaris 11?

  Why ?

In Solaris you will have a disk and after that the sub disk will be assigned for a value of space to make sure that total space in disk divided on these sub directories and each take the assigned space from disk only , for example if you 100G and you need to make sure /u01 is only 20G and /u02 takes 80G , set a quota is the soft way , reservation and refquota will do this as well with different properties of each , here I will show only how to do quota.

How ?

Below are simple commands for getting and setting the quota

1- list the disks and it is detail:

zpool list

2- get a list of all list of create directory in the disk as mount point:

df –h

zfs list

3- To get/set specific path quota if any :

# zfs set quota=10G tank/home/jeff

# zfs get quota tank/home/jeff

 

My reference always is : https://docs.oracle.com/cd/E23824_01/html/821-1448/gazvb.html



No comments:

Post a Comment

Why and How to install Grid 19c on RHEL 8?

  Why ? Simply we will be requested to install Oracle Grid RAC DB on Redhat RHEL 8, below is my note for this installation . How ? 1-  OS in...