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
dfa588ad
Unverified
Commit
dfa588ad
authored
4 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
more warnings
parent
e504b545
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/lvm.md
+8
-1
8 additions, 1 deletion
howto/lvm.md
with
8 additions
and
1 deletion
howto/lvm.md
+
8
−
1
View file @
dfa588ad
...
...
@@ -159,6 +159,11 @@ should do the following:
# Shrinking
Shrinking the filesystem is also possible, but is more risky. It is
very important to reduce the size of the filesystem
*before*
resizing
the size of the logical volume, so the order of the steps below is
critical.
1.
unmount the filesystem:
umount /mnt
...
...
@@ -185,7 +190,9 @@ should do the following:
lvreduce -L -5G vg/mnt
WARNING: make sure the resulting size matches exactly the one
specified in the `resize2fs` command above.
specified in the `resize2fs` command above. For more precision,
`resize2fs` and `lvreduce` can both accept an argument (`s`) in
"sectors" (512 bytes).
5.
tell ext to resize the filesystem
*again*
:
...
...
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