Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
3fbff9a3
Unverified
Commit
3fbff9a3
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
note more ... exotic resize cases
parent
e308f669
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tsa/howto/kvm.mdwn
+5
-0
5 additions, 0 deletions
tsa/howto/kvm.mdwn
tsa/howto/lvm.mdwn
+9
-0
9 additions, 0 deletions
tsa/howto/lvm.mdwn
with
14 additions
and
0 deletions
tsa/howto/kvm.mdwn
+
5
−
0
View file @
3fbff9a3
...
...
@@ -43,6 +43,11 @@ To *shrink* an image, you need to use the `--shrink` option but, be
careful: the underlying partitions and filesystems need to first be
resized otherwise you will have data loss.
Note that this only resizes the disk as seen from the VM. The VM
itself might have some partitionning on top of that, and you might
need to do filesystem resizes underneath there, including LVM if
that's setup there as well. See [[lvm]] for details.
Design
======
...
...
This diff is collapsed.
Click to expand it.
tsa/howto/lvm.mdwn
+
9
−
0
View file @
3fbff9a3
...
...
@@ -69,6 +69,15 @@ extend the physical volume:
pvextend /dev/sdb
Note that if there's an underlying crypto layer, it needs to be
resized as well:
cryptsetup resize $DEVICE_LABEL
In this case, the `$DEVICE_LABEL` is the device's name in
`/etc/crypttab`, *not* the device name. For example, it would be
`/dev/mapper/crypt_sdb`, not `/dev/sdb`.
See also the [upstream documentation][].
[upstream documentation]: http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment