Proxmox: Use 100% Hard Drive Space (v.8.2.4)
A easy step-by-step guide on how to delete the local-lvm storage and reallocate its space to the local storage in Proxmox 8.2.4
*Guide made strictly and specifically from the Proxmox Admin manual. https://pve.proxmox.com/pve-docs/pve-...
This video was made because I found that the one from good ole' @NetworkChuck was not working correctly on updated version of Proxmox.
Captions & Codes:
Welcome to this step-by-step guide on how to delete the `local-lvm` storage and reallocate its space to the `local` storage in Proxmox VE.
Make sure to back up any important data before proceeding, as these operations can result in data loss.
First, let's remove the `local-lvm` storage configuration. This command will remove the configuration from Proxmox VE without deleting any data.
`pvesm remove local-lvm`
Next, use the `lvremove` command to remove the logical volume associated with `local-lvm`. Note that this will delete all data on this volume.
`lvremove pve/data`
Now, we will extend the root logical volume. First, check if the volume group `pve` has free space.
`vgdisplay pve`
If free space is available, extend the root logical volume.
`lvextend -l +100%FREE /dev/pve/root`
Resize the file system to use the extended logical volume. The command depends on your file system type. For ext4, use:
`resize2fs /dev/pve/root`
If you are using XFS, the command is:
`xfs_growfs /`
Next, modify the `/etc/pve/storage.cfg` file to update the `local` storage configuration. Ensure it allows for all desired content types.
`nano /etc/pve/storage.cfg`
Here’s an example of what the content should look like:
`dir: local path /var/lib/vz content images,iso,vztmpl,backup,rootdir,snippets maxfiles 0`
To apply the changes, restart the necessary Proxmox VE services.
`systemctl restart pvedaemon`
`systemctl restart pveproxy`
`systemctl restart pvestatd`
Finally, verify that the `local-lvm` storage has been removed and that the `local` storage is utilizing all available disk space.
`pvesm status`
You should see that `local-lvm` is no longer listed, and the `local` storage should have the increased capacity.
By following these steps, you can successfully delete the `local-lvm` storage and reallocate its space to the `local` storage, effectively utilizing all available disk space on your Proxmox VE setup.
-
1:05:33
Glenn Greenwald
1 day agoJournalist Chris Hedges on Media, Terror, Gaza, and More | SYSTEM UPDATE #338
85.1K136 -
1:14:10
Talk Nerdy 2 Us
19 hours agoHacks, Leaks & Big Tech Control: Is Your Data Under Siege by Shadow Powers?
37.3K11 -
UPCOMING
I_Came_With_Fire_Podcast
9 hours agoFood Security & the American Beef Industry: AJ Richards on Supply Chain Risks & The SUSTAINSAct
23.2K2 -
4:41:10
Tundra Gaming Live
10 hours agoThe Worlds Worst Horror Streamer Has Heart Attack Playing Phasmophobia
50K8 -
1:38:24
JoBlo Originals
7 hours agoFriday Night Flicks!
54.1K8 -
5:09:20
Nerdrotic
12 hours agoAgatha All Along Geyest Show EVER! Rings of Power Girl POWER! - Friday Night Tights #320 Jonny Law
114K31 -
1:18:43
Edge of Wonder
9 hours agoPager Explosions: How Technology Can Be Used Against Us
60.8K10 -
8:19:47
Akademiks
14 hours agoDiddy Arrest Footage LEAKED! Police Say He's ON S*ICIDE watch after Being Locked up in MDC BROOKLYN
175K76 -
11:44:20
Total Horse Channel
19 hours ago2024 WDAA World Championship Show | Friday | Arena One
62.7K1 -
4:16
The Worlds Funniest Animals
9 hours agoAnimals Gone Wild Compilation
49.6K10