You can either use your new disk to create new storage resources:
- New directory (tree) to store files
- partition and format your device using your filesystem of choice (ext3/4 and XFS are the most commonly used)
- mount the FS to, say, /srv (do it manualy with mount command and add it to fstab)
- create the needed directories with
mkdir /srv/{isos,images,templates,backups,containers} - create the Proxmox storage resources of type
directoryin the web UI.
- LVM volume group to store VMs disks "images" as logical volumes:
- partition your device and set the LVM (8e) flag
- create a new physical volume with
pvcreate /dev/ - create a new volume group with
vgcreate /dev/ - create the Proxmox storage resource of type
LVM groupin the web UI
Or you can use it to increase size of the default one:
- LVM physical volume to extend the default
pve-dataLVM logical volume and/var/lib/vzfilesystem:- partition your device and set the LVM (8e) flag
- create a new physical volume with
pvcreate /dev/ - extend default VG with
vgextend pve /dev/ - extend
datalogical volume withlvextend /dev/mapper/pve-data /dev/ - verify your FS is clean with
fsck -nv /dev/mapper/pve-data - resize your FS with
resize2fs -F /dev/mapper/pve-data