Storage management: Difference between revisions

no edit summary
imported>Sjwhitak
imported>Sjwhitak
No edit summary
 
(3 intermediate revisions by the same user not shown)
 
=== Demo setup ===
Follow [https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks#Partitioning_the_disk_with_GPT_for_UEFI this] setup to test. I'd recommend playing with this in [https://www.virtualbox.org/ VirtualBox] because it is very difficult to change these on your filesystem.
<syntaxhighlight lang="text">
Device Start End Sectors Size Type
/dev/sda3 2623488 19400703 16777216 8G Linux filesystem
</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, }}
{{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