HardDrive ?

RaNa

Well-Known Member
Jan 9, 2011
37
0
46
ok just stared proxmox last night and need some help i have my 2TB HD just for date and i got 2 windows VM running my problem is how do i see my 2TB i just plug in on both of my windows machines
ok retrying and sorry about the english what im trying to do is add my 2TB HD as storage so both of my windows VM can view them also have files on that 2TB HD so dont want to dele them
 
Last edited:
So, as far as I understand, you have a computer with 2 hard disk. In the first one you have installed Proxmox, and the second one, of 2TB containing lot of files you don't want to loose, have to be seen by both Win VM, right?
The only solution I can think of is install samba in Proxmox (in proxmox host itself), mount your 2TB somewhere (i.e. /srv/smbshared) and create a share of that directory using samba. This way you can see, from both your Win VM, that as a network driver (and then map it, i.e., as D: or whatever).
 
yap thats right thank you...one more ? so deos that mean the speed is going to be slow sense its over the network or did i miss understand it....also lets say i backup the data can now can format it is where a better way?
 
yap thats right thank you...one more ? so deos that mean the speed is going to be slow sense its over the network or did i miss understand it....also lets say i backup the data can now can format it is where a better way?
Hi,
i prefer not to install samba on the host. You can install samba on a linux-guest to provide the data to the other hosts. If you have only a single node (or all clients for the data on one node) you can use a dummy-bridge without real NIC for faster throughput.

Udo
 
Hi Udo, could you please elaborate the "dummy bridge" stuff? How to set it up? Could be useful for me for build some test environment where only VM traffic is involved.
Thanks
 
thank you all for your help but i did not get want i wanted to hear i know that is do to my bad english but ull trying to say it one more i have total of two hard drives and one i want to use for VM only for OS system and my second hard drive for data and if this still dont make sense im so sorry
 
Hi Udo, could you please elaborate the "dummy bridge" stuff? How to set it up? Could be useful for me for build some test environment where only VM traffic is involved.
Thanks
Hi,
a dummy bridge can you create in the following way:
in /etc/network/interfaces:
Code:
...
auto vmbr0
iface vmbr0 inet static
        address  192.168.220.10
        netmask  255.255.255.0
        gateway  192.168.220.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        post-up /usr/local/scripts/generate_vmbr10.sh
/usr/local/scripts/generate_vmbr10.sh : (chmod +x)
Code:
modprobe -o dummy0 dummy                                                                                                                                                     
ifconfig dummy0 up                                                                                                                                                           
brctl addbr vmbr10                                                                                                                                                           
brctl addif vmbr10 dummy0                                                                                                                                                    
ifconfig vmbr10 up

Udo
 
Hi,
on way:
if you use kvm-only (no OpenVZ) you can do a normal install, then install the second blank!! disk - create a partitiontable on the disk with type 8e (lvm).
Code:
pvcreate /dev/sdb1
vgcreate -s 4M vmdata /dev/sdb1
vgscan
After this you can add in the storage menu this as lvm-storage. If you select during vm-installation this storage for client-disks your vm-disks will created as logical volumes on this volumegroup. Voila - your data are on the second disk.

Udo
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!