Skip to content
Snippets Groups Projects
Unverified Commit dfa588ad authored by anarcat's avatar anarcat
Browse files

more warnings

parent e504b545
No related branches found
No related tags found
No related merge requests found
......@@ -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*:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment