-
Notifications
You must be signed in to change notification settings - Fork 0
add storage partition
stack add storage partition {scope} {options=string} [device=string] [mountpoint=string] [partid=string] [size=int] [type=string]
Add a partition configuration to the database.
-
[scope]
Zero or one argument. The argument is the scope: a valid os (e.g., 'redhat'), a valid appliance (e.g., 'compute') or a valid host (e.g., 'compute-0-0). No argument means the scope is 'global'.
-
[options=string]
-
{device=string}
-
{mountpoint=string}
-
{partid=string}
-
{size=int}
-
{type=string}
Type of partition E.g: ext4, ext3, xfs, raid, etc.
-
stack add storage partition compute-0-0 device=sda mountpoint=/var size=50 type=ext4
Creates a ext4 partition on device sda with mountpoints /var.
-
stack add storage partition compute-0-2 device=sdc mountpoint=pv.01 size=0 type=lvm
Creates a physical volume named pv.01 for lvm.
-
stack add storage partition compute-0-2 mountpoint=volgrp01 device=pv.01 pv.02 pv.03 size=32768 type=volgroup
Creates a volume group from 3 physical volumes i.e. pv.01, pv.02, pv.03. All these 3 physical volumes need to be created with the previous example. PV's need to be space separated.
-
stack add storage partition compute-0-2 device=volgrp01 mountpoint=/banktools size=8192 type=xfs options=--name=banktools
Created an xfs lvm partition of size 8192 on volgrp01. volgrp01 needs to be created with the previous example.
Checkout our Google Group or our Slack Team for any support or other questions.
Want to contribute to this Wiki? Fork it and send a pull request.
-
add
- add appliance
- add appliance attr
- add appliance firewall
- add appliance route
- add attr
- add bootaction
- add box
- add cart
- add copyright
- add environment attr
- add firewall
- add group
- add host
- add host alias
- add host attr
- add host bonded
- add host bridge
- add host firewall
- add host group
- add host interface
- add host key
- add host partition
- add host route
- add network
- add os attr
- add os firewall
- add os route
- add pallet
- add route
- add storage controller
- add storage partition
- compile
- config
- create
- disable
- dump
- enable
- help
- iterate
- list
- load
- remove
- report
- run
- set
- swap
- sync
- unload