Clean up Static Web Hosting document
* doc/source/static.rst: Correctly indent a few preformatted command example blocks, add a couple internal hyperlinks and clean up some trailing whitespace on a number of lines. Change-Id: I57980c21ac2eb08dafb05a4dc669992952b7465f
This commit is contained in:
parent
a613910f57
commit
350b6939a6
@ -47,24 +47,24 @@ Log into ci-puppetmaster.openstack.org, su to root and run::
|
||||
* Add a new cinder volume (substitute the next number in series for
|
||||
NN)::
|
||||
|
||||
cinder create --display-name "static.openstack.org/mainNN" 512
|
||||
nova volume-attach <server id> <volume id> auto
|
||||
cinder create --display-name "static.openstack.org/mainNN" 512
|
||||
nova volume-attach <server id> <volume id> auto
|
||||
|
||||
* On static.openstack.org, create the partition table::
|
||||
|
||||
DEVICE=/dev/xvdX
|
||||
parted $DEVICE mklabel msdos mkpart primary 0% 100% set 1 lvm on
|
||||
pvcreate ${DEVICE}1
|
||||
DEVICE=/dev/xvdX
|
||||
parted $DEVICE mklabel msdos mkpart primary 0% 100% set 1 lvm on
|
||||
pvcreate ${DEVICE}1
|
||||
|
||||
* It should show up in pvs::
|
||||
|
||||
root@static:/etc/lvm# pvs
|
||||
PV VG Fmt Attr PSize PFree
|
||||
/dev/xvdX1 lvm2 a- 512.00g 512.00g
|
||||
root@static:/etc/lvm# pvs
|
||||
PV VG Fmt Attr PSize PFree
|
||||
/dev/xvdX1 lvm2 a- 512.00g 512.00g
|
||||
|
||||
* Add it to the main volume group::
|
||||
|
||||
vgextend main ${DEVICE}1
|
||||
vgextend main ${DEVICE}1
|
||||
|
||||
Creating a New Logical Volume
|
||||
=============================
|
||||
@ -75,7 +75,7 @@ Make sure there is enough space in the volume group::
|
||||
VG #PV #LV #SN Attr VSize VFree
|
||||
main 4 2 0 wz--n- 2.00t 347.98g
|
||||
|
||||
If not, see "Adding a New Device".
|
||||
If not, see `Adding a New Device`_.
|
||||
|
||||
Create the new logical volume and initialize the filesystem::
|
||||
|
||||
@ -96,7 +96,7 @@ Make sure there is enough space in the volume group::
|
||||
VG #PV #LV #SN Attr VSize VFree
|
||||
main 4 2 0 wz--n- 2.00t 347.98g
|
||||
|
||||
If not, see "Adding a New Device".
|
||||
If not, see `Adding a New Device`_.
|
||||
|
||||
The following example to increase the size of a volume by 100G is
|
||||
untested; please confirm::
|
||||
|
Loading…
Reference in New Issue
Block a user