此内容没有您所选择的语言版本。
Chapter 11. Managing Red Hat Gluster Storage Volumes
This chapter describes how to perform common volume management operations on the Red Hat Gluster Storage volumes.
11.1. Configuring Volume Options 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Note
Volume options can be configured while the trusted storage pool is online.
The current settings for a volume can be viewed using the following command:
gluster volume info VOLNAME
# gluster volume info VOLNAMEgluster volume info VOLNAME
Volume options can be configured using the following command:
gluster volume set VOLNAME OPTION PARAMETER
# gluster volume set VOLNAME OPTION PARAMETERgluster volume set VOLNAME OPTION PARAMETER
For example, to specify the performance cache size for
test-volume
:
gluster volume set test-volume performance.cache-size 256MB
# gluster volume set test-volume performance.cache-size 256MB
volume set: success
Volume options can be reset using the following command:
gluster volume reset VOLNAME OPTION_NAME
# gluster volume reset VOLNAME OPTION_NAMEgluster volume reset VOLNAME OPTION_NAMEgluster volume reset VOLNAME OPTION_NAMEgluster volume reset VOLNAME OPTION_NAME
For example, to reset the
changelog
option for test-volume
:
gluster volume reset test-volume changelog
# gluster volume reset test-volume changelog
volume set: success