Storage management: Difference between revisions

no edit summary
imported>Sjwhitak
imported>Sjwhitak
No edit summary
 
(2 intermediate revisions by the same user not shown)
</syntaxhighlight>
 
{{Tip|I'd recommend playing with this in [https://www.virtualbox.org/ VirtualBox] because it is very difficult to change these on your filesystem once you have data on it. In fact, you destroy all data when running these commands, so you'd just move everything off the drives before doing this. It's a big pain.}}
{{Warning|You destroy all data when running these commands, so if you're doing this on your system just move everything off the drives before running these commands.}}
 
== Logical volume management (LVM) ==
 
I'd highly, highly recommend following along with [https://www.howtoforge.com/linux_lvm this tutorial] within an LVM. You will be very comfortable with all of these commands after this.
 
{{Warning|You destroy all data when running these commands, so if you're doing this on your system just move everything off the drives before running these commands.}}
 
=== Demo setup ===
 
Here's my computer's setup:
<syntaxhighlight lang="fstabtext">
/dev/lvm/lv_root / ext4 defaults 0 1
/dev/lvm/lv_home /home ext4 defaults 0 2
Anonymous user