このコンテンツは選択した言語では利用できません。
Chapter 22. Red Hat Gluster Storage Utilities
22.1. Glusterfind Configuration Options リンクのコピーリンクがクリップボードにコピーされました!
- Glusterfind Create
- Glusterfind Pre
- Glusterfind Post
- Glusterfind List
- Glusterfind Delete
Note
To create a session for a particular instance in the volume, execute the following command:
glusterfind create [-h] [--debug] [--force] <SessionName> <volname> [--reset-session-time]
glusterfind create [-h] [--debug] [--force] <SessionName> <volname> [--reset-session-time]
create
command is executed.
glusterfind create sess_vol1 vol1
# glusterfind create sess_vol1 vol1
Session sess_vol1 created with volume vol1
To retrieve the list of modified files and directories and store it in the outfile, execute the following command:
glusterfind pre [-h] [-N | --only-namespace-changes] [--debug] [--full] [--output-prefix OUTPUT_PREFIX] [--disable-partial] <SessionName> <volname> <outfile>
glusterfind pre [-h] [-N | --only-namespace-changes] [--debug] [--full] [--output-prefix OUTPUT_PREFIX] [--disable-partial] <SessionName> <volname> <outfile>
pre
command is executed.
glusterfind pre sess_vol1 vol1 /tmp/outfile.txt
# glusterfind pre sess_vol1 vol1 /tmp/outfile.txt
Generated output file /tmp/outfile.txt
Note
NEW file1 NEW dir1%2F%2Ffile2 MODIFY dir3%2Fdir4%2Ftest3 RENAME test1 dir1%2F%2Ftest1new DELETE test2
NEW file1
NEW dir1%2F%2Ffile2
MODIFY dir3%2Fdir4%2Ftest3
RENAME test1 dir1%2F%2Ftest1new
DELETE test2
The following command is run to update the session time:
glusterfind post [-h] [--debug] <SessionName> <volname>
glusterfind post [-h] [--debug] <SessionName> <volname>
post
command is executed.
glusterfind post sess_vol1 vol1
# glusterfind post sess_vol1 vol1
Session sess_vol1 with volume vol1 updated
To list all the active sessions and the corresponding volumes present in the cluster, execute the following command:
glusterfind list [-h] [--session SESSION] [--volume VOLUME] [--debug]
glusterfind list [-h] [--session SESSION] [--volume VOLUME] [--debug]
glusterfind list
# glusterfind list
SESSION VOLUME SESSION TIME
--------------------------------------------------
sess_vol1 vol1 2015-06-22 22:22:53
To clear out all the session information associated with that particular session, execute the following command:
glusterfind delete [-h] [--debug] <SessionName> <volname>
glusterfind delete [-h] [--debug] <SessionName> <volname>
delete
command is executed.
glusterfind delete sess_vol1 vol1
# glusterfind delete sess_vol1 vol1
Session sess_vol1 with volume vol1 deleted
22.1.1. Adding or Replacing a Brick from an Existing Glusterfind Session リンクのコピーリンクがクリップボードにコピーされました!
glusterfind create
command with force
for the existing session to work. For example:
glusterfind create existing-session volname --force
# glusterfind create existing-session volname --force