storage - why I cannot change the type

svacaroaia

Member
Oct 4, 2012
36
0
6
Hi,

I have a 2 node Proxmox cluster
Based on the advises posted here and the equipment I have, I decided to configure storage as follows:
- volume created on HP MSA 2000 and made available to both hosts as fiber channel attached disks
- LVM groups created on the above and shared on servers

I was able to create the volumes and LVM group using the following
- configure multipath to "see" the volume correctly
- pvcreate /dev/mapper/mpathX
- vgcreate VOL /dev/mapper/mpathX
- lvcreate --size XXg VOL

Then, using Proxmox GUI, i have added the above LVM group to the storage
I am able to store images and use them for migrating from one server to another

However, I was not able to specify ( nor to edit ) the type of storage ( images, iso, backup ..etc) - this option is available only when editing the "local" storage

Question:
- how can I specify the type of storage ?
- without a storage type "backup" I cannot do backups

Thanks

pveversion --verbose
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.0-66
pve-kernel-2.6.32-11-pve: 2.6.32-66
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-15
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1
 
LVM can only store images, because there is no filesystem. Backups needs a file system (type NFS or directory).
 
I guess the same is true for ISO ( I need a directory )

In this case the best approach in a clustered configuration is to create directory/NFS on primary for backups / ISO then NFS mounting it on the other servers
?

Thanks
Steven
 
I guess the same is true for ISO ( I need a directory )

In this case the best approach in a clustered configuration is to create directory/NFS on primary for backups / ISO then NFS mounting it on the other servers
?

Thanks
Steven
Hi,
I think thats not the best idea - if node 1 died, you don't have the isos on the second node. Esp. if you use cd-live-distros...
I use for important isos a directory which created on all nodes, where I rsync the content between all cluster-nodes (storage isn't marked as shared).

Udo