Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:glusterfs [2015/10/04 23:01] billdozor |
linux_wiki:glusterfs [2016/03/18 23:17] billdozor [Glusterfs] |
||
---|---|---|---|
Line 10: | Line 10: | ||
**Checklist** | **Checklist** | ||
- | * Distro: Enterprise Linux 6 | + | * Distro(s): Enterprise Linux 6 |
---- | ---- | ||
Line 125: | Line 125: | ||
* View gluster volume info | * View gluster volume info | ||
* <code bash> | * <code bash> | ||
- | |||
- | ==== Managing ==== | ||
- | |||
- | * Re-balance Data | ||
- | * <code bash> | ||
- | * View re-balance status | ||
- | * <code bash> | ||
- | |||
- | * Daemon control | ||
- | * <code bash> | ||
==== Storage Pools ==== | ==== Storage Pools ==== | ||
Line 149: | Line 139: | ||
* <code bash> | * <code bash> | ||
* Remove a brick from the volume (and then remove from trusted storage pool) | * Remove a brick from the volume (and then remove from trusted storage pool) | ||
- | * <code bash> | + | * <code bash> |
+ | gluster volume remove-brick myvol server2:/ | ||
+ | gluster volume remove-brick myvol server2:/ | ||
+ | * Gluster will auto-rebalance data between the remaining bricks. | ||
+ | * If any type of replication or stripe sets exist, you must remove a number of bricks equal to a multiple. | ||
* Replace a faulty brick | * Replace a faulty brick | ||
* <code bash> | * <code bash> | ||
+ | * Start Volume | ||
+ | * <code bash> | ||
+ | * Stop Volume | ||
+ | * <code bash> | ||
+ | |||
+ | ==== Balance Data ==== | ||
+ | |||
+ | Data can be re-balanced live and should be done after adding/ | ||
+ | |||
+ | * Fix Layout: Fixes layout changes (added bricks), so newly added files can be stored on new nodes. | ||
+ | * <code bash> | ||
+ | * Fix Layout and Migrate Data: Fix layout changes and also migrate data to new nodes. | ||
+ | * <code bash> | ||
+ | |||
+ | * View re-balance status | ||
+ | * <code bash> | ||
==== Security ==== | ==== Security ==== |