BDM Commands
When redeploying the Global Cache environment, you need to run the bdm command to format the log drive and create a BDM pool.
bdm_format
- Function
Formats the BDM log drive.
- Syntax
bdm_format [config_file] --force (Optional)
- Parameters
Parameter
Description
Value
config_file
Configuration file directory
/opt/gcache/conf/bdm.conf
--force
Forcible formatting
N/A
bdm_createCapPool
- Function
Creates a BDM pool.
- Syntax
bdm_createCapPool [segSize] [capacity] [poolName] -v (Optional)
- Parameters
Parameter
Description
Value
segSize
Storage pool block size
4194304/67108864
capacity
Storage pool capacity
1 GB to 8000 GB
poolName
Storage pool name
User-defined
-v
Drive capacity usage
N/A
bdm_df
- Function
Queries the usage of the BDM pool.
- Syntax
bdm_df --detail (Optional)
- Parameters
Parameter
Description
Value
--detail
Shows detailed drive space usage.
N/A
Parent topic: Using Global Cache