{
"meta": {
"title": "Proxmox Storage and Disk Commands — lsblk, LVM, pvesm, qm importdisk | ProxMenux",
"description": "Reference of storage and disk commands on Proxmox VE: lsblk, blkid, parted, lvdisplay, vgdisplay, pvs, mount, df, du, ncdu, pvesm status, qm importdisk and qemu-img convert for VM disk operations.",
"ogTitle": "Proxmox Storage and Disk Commands — lsblk, LVM, pvesm, qm importdisk",
"ogDescription": "Reference of storage and disk commands on Proxmox VE — disk inspection, LVM, mounts, Proxmox storage management, VM disk import and image conversion.",
"twitterTitle": "Proxmox Storage Commands | ProxMenux",
"twitterDescription": "Disk inspection, mount info, LVM management, Proxmox storage and VM disk import / conversion commands."
},
"header": {
"title": "Storage and Disks",
"description": "Curated reference for storage inspection on Proxmox hosts: block devices, partitions, mounts, LVM volumes, Proxmox storage configuration, and a few VM disk operations (importdisk, qemu-img convert).",
"section": "Help and Info"
},
"intro": {
"title": "Quick disk inventory",
"body": "lsblk is the fastest way to see all block devices and their partitions in a tree view. For persistent identifiers (which survive between boots and hardware changes) use ls -lh /dev/disk/by-id/."
},
"commandGroups": [
{
"title": "Disk Information",
"commands": [
{
"command": "lsblk",
"description": "List block devices and partitions"
},
{
"command": "fdisk -l",
"description": "List disks with detailed info"
},
{
"command": "blkid",
"description": "Show UUID and filesystem type of block devices"
},
{
"command": "ls -lh /dev/disk/by-id/",
"description": "List disk persistent identifiers"
},
{
"command": "parted -l",
"description": "Detailed partition layout with GPT info"
}
]
},
{
"title": "Storage Usage",
"commands": [
{
"command": "df -h",
"description": "Show disk usage by mount point"
},
{
"command": "du -sh /path",
"description": "Show size of a directory"
},
{
"command": "mount | grep ^/dev",
"description": "Show mounted storage devices"
},
{
"command": "cat /proc/mounts",
"description": "Show all active mounts from the kernel"
}
]
},
{
"title": "LVM Management",
"commands": [
{
"command": "pvdisplay",
"description": "Display physical volumes (LVM)"
},
{
"command": "vgdisplay",
"description": "Display volume groups (LVM)"
},
{
"command": "lvdisplay",
"description": "Display logical volumes (LVM)"
},
{
"command": "pvs",
"description": "Concise output of physical volumes"
},
{
"command": "vgs",
"description": "Concise output of volume groups"
},
{
"command": "lvs",
"description": "Concise output of logical volumes"
}
]
},
{
"title": "Proxmox Storage",
"commands": [
{
"command": "cat /etc/pve/storage.cfg",
"description": "Show Proxmox storage configuration"
},
{
"command": "pvesm status",
"description": "Show status of all storage pools"
},
{
"command": "pvesm list",
"description": "List all available storage"
},
{
"command": "pvesm list ",
"description": "List content of specific storage"
},
{
"command": "pvesm scan ",
"description": "Scan storage for new content"
}
]
},
{
"title": "Disk Actions",
"commands": [
{
"command": "qm importdisk ",
"description": "Attach disk image to VM"
},
{
"command": "qm set - ",
"description": "Assign physical disk to VM (passthrough mode)"
},
{
"command": "qemu-img convert -O