Administrator’s Command Line Guide
Table Of Contents
- Introduction
- Accessing Storage Clusters via iSCSI
- Accessing Storage Clusters via S3 Protocol
- Monitoring Storage Cluster
- Managing Storage Cluster Security
- Maximizing Storage Cluster Performance
4.3. Monitoring Chunk Servers
# vstorage set-attr -R /vstorage/stor1 replicas=2:1
# vstorage -c stor1 top
connected to MDS#1
Cluster 'stor1': healthy
Space: [OK] allocatable 680GB of 700GB, free 1.6TB of 1.7TB
...
The available disk space has increased because now only 2 replicas are created for each data chunk and new
chunks can be made even if the smallest chunk server runs out of space (in this case, replicas will be stored
on a bigger chunk server).
Note: Allocatable disk space may also be limited by license.
4.3.1.2 Viewing Space Occupied by Data Chunks
To view the total amount of disk space occupied by all user data in the cluster, run the vstorage top
command and press the V key on your keyboard. Once you do this, your command output should look like
the following:
# vstorage -c stor1 top
Cluster 'stor1': healthy
Space: [OK] allocatable 180GB of 200GB, free 1.6TB of 1.7TB
MDS nodes: 1 of 1, epoch uptime: 2d 4h
CS nodes: 3 of 3 (3 avail, 0 inactive, 0 offline)
Replication: 2 norm, 1 limit, 4 max
Chunks: [OK] 38 (100%) healthy, 0 (0%) degraded, 0 (0%) urgent,
0 (0%) blocked, 0 (0%) offline, 0 (0%) replicating,
0 (0%) overcommitted, 0 (0%) deleting, 0 (0%) void
FS: 1GB in 51 files, 51 inodes, 23 file maps, 38 chunks, 76 chunk replicas
...
Note: The FS field shows the size of all user data in the cluster without consideration for replicas.
4.3.2 Exploring Chunk States
The table below lists all possible states a chunk can have.
Status Description
healthy Percentage of chunks that have enough active replicas. The normal state of
chunks.
49










