1
0
mirror of https://github.com/gluster/glusterdocs.git synced 2026-02-06 09:46:46 +01:00
Files
glusterdocs/Administrator Guide/volume_lifecycle.md
Poornima G 9d4eee5ea2 Admin_guide: Refactor the Admin guide
Signed-off-by: Poornima G <pgurusid@redhat.com>
Signed-off-by: Joe Julian <me@joejulian.name>
2016-04-11 11:01:03 -07:00

1.1 KiB

Start the volume

Once the volume is created, run the following command to start the volume and make it accessible.
`# gluster volume start <VOLNAME>`

Display the volume information

To list all the volumes in the trusted storage pool:
`# gluster volume list`

To list all the volumes and their information, in the trusted storage pool:
`# gluster volume info`

To get the information of a specific volume:
`# gluster volume info <VOLNAME>`

To get the status of the volume, bricks, and other information:
`# gluster volume status <VOLNAME>`

To display the clients accessing the volume:
`# gluster volume status <VOLNAME> clients`

Above are the few widely used commands, you can execute the help command to get a list of all volume commands
`# gluster volume help`

Stop the volume

Stopping the volume will make the data hosted in that volume inaccessible to the clients
`# gluster volume stop <VOLNAME>`

Delete the volume

Deleting the volume will delete all the data in the bricks????. Once the volume is deleted, the volume cannot be recovered, i.e. volume cannot be recreated with same bricks and data.
`# gluster volume delete <VOLNAME>`