Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
r/Proxmox icon
r/Proxmox icon
Go to Proxmox

Which storage ID corresponds to which disks?

Question

I've been scratching my head over this for a couple of hours.. I'm far from being a master at any of this, and i might have misunderstood something, so as a baseline:

There are physical disks. Disks have partitions. A partition has a file system. The file system has a storage ID in Proxmox. something like that, please tell me if and where im wrong.

By storage ID, i mean what you typically call storage, like 'backup', 'local' and so on.

Right, so i want to use some of the physical disks in my proxmox node for a NAS VM (also in Proxmox), so i'm dedicating 2 physical disks solely to the NAS. I've identified the disks i want to use, under node > disks. It is /dev/sdb and /dev/sdc.

r/Proxmox - Which storage ID corresponds to which disks?

Since those disks are already in use, i want to move everything away from them and onto /dev/sda. There is plenty of storage space on /dev/sda for that.

Under node > disks i have a list of the disks and how large they are, but not how full they are and also not what kind of file system or the storage ID of that file system. That list is shown in the above picture.

Under datacenter > storage i have a list of the storage ID's and the type/file system but not what disks they are occupying.

r/Proxmox - Which storage ID corresponds to which disks?

I've also tried several command in the shell to see if i can find a list with ALL the information i need. i tried 'pvesm status', 'lsblk', 'fdisk -l' but none of them provides it seems..

Why is that? Why can't i find a list of the storage ID's and the disks they are on?

Download our Buyer’s Guide to VMware Alternatives. A Comparison of Proxmox, Nutanix, Hyper-V, OpenStack, and KubeVirt across 42 virtualization management capabilities.
Thumbnail image: Download our Buyer’s Guide to VMware Alternatives. A Comparison of Proxmox, Nutanix, Hyper-V, OpenStack, and KubeVirt across 42 virtualization management capabilities.

I set it up, but i can't remember how i did it. A lack of documentation is exactly what im suffering from, and i'm trying to fix that.

Additionally, now that we’re on the subject; is it possible (and recommended) to remove the local storage if it isn’t used? I installed Proxmox on a 2TB nvme, so all of that disk is either used for proxmox OS or “local” storage, but i want to make a zpool for some VM OS data for fast access and better performance. I’m just really afraid of destroying my system in the process.

Edited

https://www.youtube.com/watch?v=g9J-mmoCLTs

https://github.com/kneutron/ansitest/tree/master/proxmox

i want to make a zpool for some VM OS data for fast access and better performance. I’m just really afraid of destroying my system in the process

Setup and run veeam agent for linux to do a full bare-metal backup to separate media / NAS.

Setup and run the bkpcrit script in the above repo to backup your VM/CTR configs (use frequently, schedule nightly in cron and also before making any system changes)

If resizing a disk could be problematic:

A) have a full backup

B) Install another disk and just use that

Resizing "local storage" means resizing your rootfs, and there are always some risks to doing that. ext4 can be shrunk, but always do it from a rescue environment so there are no open files - and

C) MAKE DAMMSURE YOU BACKUP FIRST

It's also advisable to practice restoring your primary environment into a VM, and mess with that for practice (you can take snapshots before trying changes) - you will have to give the VM a different IP address so it doesn't conflict with your host.

More replies