Premium Only Content
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:45:10
Glenn Greenwald
4 hours agoTrump is Inaugurated & Immediately Issues Executive Orders; Biden Pardons His Family, Liz Cheney, Fauci; Michael Tracey DC Interviews | SYSTEM UPDATE #392
80.4K99 -
LIVE
Kim Iversen
4 hours agoTrump’s Triumphant Return: Breaking Down Trump’s Bold 2025 Agenda | The TikTok Ban Backlash: Who Wins, Who Loses?
3,120 watching -
3:45:23
Benny Johnson
5 hours ago🚨 Watch President Trump FREE January 6th Political Prisoners LIVE Right Now | Stadium ROARS
211K154 -
5:19:30
Donald J. Trump
8 hours agoDonald J. Trump Attends the Presidential Parade
542K535 -
DVR
GOP
20 hours agoDonald J. Trump Attends the Presidential Parade
220K71 -
11:51:52
Right Side Broadcasting Network
7 days agoLIVE REPLAY: Inauguration of the 47th President Donald Trump, and Presidential Parade - 1/20/25
1.15M564 -
4:25:55
Kimberly Guilfoyle
7 hours agoLive Inauguration Day Coverage
131K44 -
1:06:10
LFA TV
1 day agoThe Return of 45 | TRUMPET DAILY 1.20.25 7pm
52.6K -
1:50:51
2 MIKES LIVE
3 hours ago2 MIKES LIVE #169 Inauguration Day Special!
32.9K8 -
1:58:10
Quite Frankly
7 hours ago"The Inauguration Day Call-in Show" 1/20/25
32.3K9