Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
0fee59dc
Commit
0fee59dc
authored
Mar 28, 2013
by
Alexander Bulimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed and extended documentation for lvg module
parent
4552fa85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
library/lvg
+7
-5
No files found.
library/lvg
View file @
0fee59dc
...
@@ -34,11 +34,11 @@ options:
...
@@ -34,11 +34,11 @@ options:
required: true
required: true
pvs:
pvs:
description:
description:
- List of comma-separated devices to use as physical devices in this volume group.
- List of comma-separated devices to use as physical devices in this volume group.
Required when creating or resizing volume group.
required:
tru
e
required:
fals
e
pesize:
pesize:
description:
description:
- The size of the physical extent in megabytes.
- The size of the physical extent in megabytes.
Must be a power of 2.
default: 4
default: 4
required: false
required: false
state:
state:
...
@@ -51,12 +51,14 @@ options:
...
@@ -51,12 +51,14 @@ options:
choices: [ "yes", "no" ]
choices: [ "yes", "no" ]
default: "no"
default: "no"
description:
description:
- If yes, allows to remove
or reduce
volume group with logical volumes.
- If yes, allows to remove volume group with logical volumes.
required: false
required: false
examples:
examples:
- description: Create a volume group on top of /dev/sda1 with physical extent size = 32MB.
- description: Create a volume group on top of /dev/sda1 with physical extent size = 32MB.
code: lvg vg=vg.services pvs=/dev/sda1 pesize=32
code: lvg vg=vg.services pvs=/dev/sda1 pesize=32
- description: Create a volume group on top of /dev/sdb1 and /dev/sdc5.
- description: Create or resize a volume group on top of /dev/sdb1 and /dev/sdc5.
If, for example, we already have VG vg.services on top of /dev/sdb1, this VG will be extended by /dev/sdc5.
Or if vg.services was created on top of /dev/sda5, we first extend it with /dev/sdb1 and /dev/sdc5, and then reduce by /dev/sda5.
code: lvg vg=vg.services pvs=/dev/sdb1,/dev/sdc5
code: lvg vg=vg.services pvs=/dev/sdb1,/dev/sdc5
- description: Remove a volume group with name vg.services.
- description: Remove a volume group with name vg.services.
code: lvg vg=vg.services state=absent
code: lvg vg=vg.services state=absent
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment