Which storage ID corresponds to which disks?
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.
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.
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?
Comments Section
' lsblk -f ' and ' df -hT ' at a root prompt may help
If you're looking for which VM/CT components are on which PVE datastores, for each datastore listed in the output of
pvesm status
, runpvesm list <ds>
.Here's a one-liner that will do that for you:
I'm looking for what storage ID's are located on which physical disks?
As seen in picture 2 in my post, i have backup, ds224-media, iso, local, local_backup and os-data. Which physical disks are they on? If i pull out a disk, which storage ID's will disappear?
I don't understand why that isn't something that should be easily available
The commands you provided unfortunately did not give me that overview.