multiple hdd in proxmox..not RAID

stlsaint

New Member
Oct 30, 2009
27
0
1
forgive my ignorance if this question has already been addressed. I have 4 scsi drives each 150gb in my server, on one i have proxmox installed and is where i have been doing all my work. Of course i dont use all the storage space i have on that one hdd with proxmox but i want to be able to utilize my other drives for storage and what not. TBH i have not done all the research into this that i can/should have but i figured it could be a quick answer. So is there some cmds i can run to be able to see/use my other drives because i didnt see any options in web interface?
 
forgive my ignorance if this question has already been addressed. I have 4 scsi drives each 150gb in my server, on one i have proxmox installed and is where i have been doing all my work. Of course i dont use all the storage space i have on that one hdd with proxmox but i want to be able to utilize my other drives for storage and what not. TBH i have not done all the research into this that i can/should have but i figured it could be a quick answer. So is there some cmds i can run to be able to see/use my other drives because i didnt see any options in web interface?

see http://pve.proxmox.com/wiki/Storage_Model#Use_local_devices_.28like_.2Fdev.2Fsd...2F.2C_FC.29
 
Thanks for the reply.
I am abit confused as too how i would add all my drives. i see the cmd to create the drive but as i said i have multiple drives so after i use one of them ie: pvcreate /dev/sdb how would i know that it is used and i can use another one? meaning after i make sdb can i move on to sdc and if i try and make a dev that isnt there will i get an error describing where i went wrong?
 
HI all,

I add a new Hard Disk exact like is described in the procedure...and everything it's OK. I create new KVM Machine on this LVD space...everything OK.

But, where I can find the VM Files? I look into /var/lib/vz/images...and nothing here. Where are this images? We need to do something extra?
 
HI all,

I add a new Hard Disk exact like is described in the procedure...and everything it's OK. I create new KVM Machine on this LVD space...everything OK.

But, where I can find the VM Files? I look into /var/lib/vz/images...and nothing here. Where are this images? We need to do something extra?

on var/lib/vz/images only local images are stored. if you use block devices directly like LVM there are no images (if you want to dig deeper, see the LVM command line tools)
 
HI all,

I add a new Hard Disk exact like is described in the procedure...and everything it's OK. I create new KVM Machine on this LVD space...everything OK.

But, where I can find the VM Files? I look into /var/lib/vz/images...and nothing here. Where are this images? We need to do something extra?


Alright i think ive been thread jacked as the problem above was given in sight of my problem and he has been responded too under my thread and yet i still have my question/problem un-resolved. I glad the user was able to get assistance/help for their issue but i still have mine unsolved. Please help.
 
Alright i think ive been thread jacked as the problem above was given in sight of my problem and he has been responded too under my thread and yet i still have my question/problem un-resolved. I glad the user was able to get assistance/help for their issue but i still have mine unsolved. Please help.

You already read the LVM howto?
 
so its going to LVM or a local device? i read a few options off the link that was posted originally but i wasnt sure which one i would be doing!? so LVM you say?

I you want to use a local device you have to put LVM on that first.

Then you can add a new LVM Storage using the web interface.
 
could i add each hdd to fstab and see them from web interface? i would really prefer not to use lvm!
 
could i add each hdd to fstab and see them from web interface? i would really prefer not to use lvm!

you can. just format the partition on this extra hdd and mount it via fstab to a self defined directory.

now, add it via the storage web interface as new storage (add directory).
 
Tom,

If I have an extra disk for 300 GB and I want to add him for VM storage, I create partition with fdisk, I format in ext3 and mount into a directory. After that I add the directory in WebUI for VM store.

What are the advantages to use LVM instead ext3?
 
But If I already format the disk in ext3 format and after that I apply the procedure to create LVD...it's correct?
 
But If I already format the disk in ext3 format and after that I apply the procedure to create LVD...it's correct?

What is LVD? You talk about LVM? If so, a pvcreate will destroy your existing ext3 data.
 
Same here. I have another disk, and I don't want to use LVM. I mounted it and added "directory" storage, now how do I create my VMs in that storage?
 
Same here. I have another disk, and I don't want to use LVM. I mounted it and added "directory" storage, now how do I create my VMs in that storage?

Simply choose the storage when you create the VM (only KVM support the new storage model).
 
ah, that's why I wasn't able to select another storage. I use only OpenVZ for now. Too bad.