Adding more storage for iso, vm images, backup by adding more Hard Drives in your server.
Tested configuration
Running Proxmox VE 3.1 Server
Extra Hard Drives without a partition in your server.
SDA is the drive where Proxmox VE installation is running on
SDB is the new hard drive that will be added to proxmox as additional storage.
Extra Hard Drives without a partition in your server.
SDA is the drive where Proxmox VE installation is running on
SDB is the new hard drive that will be added to proxmox as additional storage.
Hier klikken om te bewerken.
Installation
- Open the Proxmox "Shell"
When you are not sure if your additional hard drive is SDB you can check this with fdisk.
It's always smart to check this to make sure you will add the right Hard Drive.
type: fdisk -l
Find the "Disk" with no valid partition table.
"Disk /dev/sdb doesn't contain a valid partition table"
This will probably be your Hard Drive you want to add.
Now let's make a partition on this Hard Drive.
type: cfdisk /dev/sdb
Choose the following options:
New - Primary - Size in MB - Write - Quit
Now a volume has to be created.
type: pvcreate /dev/sdb1
The volume has been created, It's now time to create a volume group.
In the example below i will use the name Data-Storage.
You can name it anyway you want, but consider it well because this name can't be altered afterwards
and will show up in your Proxmox VE web interface.
So make it a logical name. For example vm-storage or vm-backup-local.
type: vgcreate Data-Storage /dev/sdb1
Now everything is done in the Proxmox Shell. Close it and continue in the web interface.
Let's add your additional storage in the proxmox web interface.
- Click on the folder icon "Datacenter"
- Click on the tab "Storage"
- Click on "Add"
- Click on "LVM Group"
Now in the new screen that appears fill in the following values.
ID: Data-Storage
Base storage: Existing volume groups
Volume group: Data-Storage
Enabled: checked
The other options you can adjust according to your situation and needs.
When you are not sure if your additional hard drive is SDB you can check this with fdisk.
It's always smart to check this to make sure you will add the right Hard Drive.
type: fdisk -l
Find the "Disk" with no valid partition table.
"Disk /dev/sdb doesn't contain a valid partition table"
This will probably be your Hard Drive you want to add.
Now let's make a partition on this Hard Drive.
type: cfdisk /dev/sdb
Choose the following options:
New - Primary - Size in MB - Write - Quit
Now a volume has to be created.
type: pvcreate /dev/sdb1
The volume has been created, It's now time to create a volume group.
In the example below i will use the name Data-Storage.
You can name it anyway you want, but consider it well because this name can't be altered afterwards
and will show up in your Proxmox VE web interface.
So make it a logical name. For example vm-storage or vm-backup-local.
type: vgcreate Data-Storage /dev/sdb1
Now everything is done in the Proxmox Shell. Close it and continue in the web interface.
Let's add your additional storage in the proxmox web interface.
- Click on the folder icon "Datacenter"
- Click on the tab "Storage"
- Click on "Add"
- Click on "LVM Group"
Now in the new screen that appears fill in the following values.
ID: Data-Storage
Base storage: Existing volume groups
Volume group: Data-Storage
Enabled: checked
The other options you can adjust according to your situation and needs.