how i can move all VMs to a 2nd HDD ?

itmnetworks

New Member
Dec 2, 2011
8
0
1
Hello,

i have one server with 2 HDDs.

HDD1 (SSD 60GB) with proxmox system and all VMs, ISOs etc.
HDD2 (SATA 500GB) without usage

how i can move all VMs to a HDD2 ?

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
 
do run containers and KVM virtual machines?
 
Hello,

i have 2 HDDs on same server, i need use de 2nd HDD to VMs. I not know how i can attach this 2nd HDD on proxmox to usage. Promox local storage show only HDD1 for me.

how i can see my 2nd HDD on proxmox ?

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
 
Hello,

i have 2 HDDs on same server, i need use de 2nd HDD to VMs. I not know how i can attach this 2nd HDD on proxmox to usage. Promox local storage show only HDD1 for me.

how i can see my 2nd HDD on proxmox ?

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
Hi,
this have you wrote in the first post also!
Tom ask if you use OpenVZ-VMs (container) and kvm-VMs (full virtualizied).

Because openvz need local storage - in this case it's the easiest way to create an partition on the second disk (type 8e) and add this the volumegroup pve. After that you can extend the logical volume data and do an resize of the filesystem after that.

For kvm-only you can create an new volumegroup on the partition (/dev/sdb1) and define this volume-group in the storage-menue. After that you can create disks on this storage.

To move disks use backup and restore (you can select the storage with --storage). See "man qmrestore".

Udo
 
Hello Udo,

thanks for your reply.

I will go to use kvm-VMs (full virtualizied).

Yes, i have /dev/sdb1 and partition type 8e (2nd disk).

How i can create a new volumegroup on proxmox ? :-(

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
 
Hello Udo,

thanks for your reply.

I will go to use kvm-VMs (full virtualizied).

Yes, i have /dev/sdb1 and partition type 8e (2nd disk).

How i can create a new volumegroup on proxmox ? :-(

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
Hi,
with the normal linux-way:
Code:
pvcreate /dev/sdb1
vgcreate -s 4M sata /dev/sdb1
After that go in the storage-config (gui) and add sata as volume-group. Voila - then you can select sata by VM-creating as storage for disks.

Udo
 
Hello Udo,

Very thanks for your help :-)

Added 4 new SATA HDDs to the proxmox server.

How can I configure proxmox to use:

HDD1 (VOL: satab) = Virtual Disks (ok, this I got)
HDD2 (VOL:satac) = Virtual Disks (ok, this I got)
*HDD3 (VOL:satad) = only ISO Images
*HDD4 (VOL:satae) = backup of Virtual Disks and Backup of OpenVZ Containers

?

i have also HDD0 (VOL: local) SSD Harddrive with OS and proxmox installation.


Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
 
Hello Udo,

Very thanks for your help :-)

Added 4 new SATA HDDs to the proxmox server.

How can I configure proxmox to use:

HDD1 (VOL: satab) = Virtual Disks (ok, this I got)
HDD2 (VOL:satac) = Virtual Disks (ok, this I got)
*HDD3 (VOL:satad) = only ISO Images
*HDD4 (VOL:satae) = backup of Virtual Disks and Backup of OpenVZ Containers

?

i have also HDD0 (VOL: local) SSD Harddrive with OS and proxmox installation.


Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
Hi,
iso-storage and backup need a real filesystem. So just define a partition (type 83), create an filesystem (as you like, ext3 or ext4) and the mountpoints (like mkdir -p /data/backup and /data/iso). Create an fstab-entry for both storages (best to use the UUID - you can see the uuid with "blkid /dev/sdd1") and check if all right with mounting of the partitions: mount /data/backup ...
After that, you can define both directories in the storage-gui (for backup and for iso-images).

BTW. the safer version was to use an real raidcontroller to secure your setup against a harddisk-failure.

Udo
 
Hello Udo,

thanks for your help and your reply.

I have 3 ARRAY Controlers:

Adaptec 1430SA (4 x Sata without cache)
Adaptec 3805 (8 x Sata with 256MB cache + BBU)
Adaptec 31205 ( 12 x Sata with 256MB cache + BBU)

I tried to configure but even creating RAID5 for example, the proxmox looks the HDDs individually.

so I went back to using the onboard SATA Controler and individual HDDs.

is there any special configuration to the proxmox get the array?

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
 
Hello Udo,

thanks for your help and your reply.

I have 3 ARRAY Controlers:

Adaptec 1430SA (4 x Sata without cache)
Adaptec 3805 (8 x Sata with 256MB cache + BBU)
Adaptec 31205 ( 12 x Sata with 256MB cache + BBU)

I tried to configure but even creating RAID5 for example, the proxmox looks the HDDs individually.

so I went back to using the onboard SATA Controler and individual HDDs.

is there any special configuration to the proxmox get the array?

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil
Hi Rodrigo,
if pve see individual disks you have
a - a fake raid-controller (the raid-function will do in software (driver)) or
b - the disks defined as passthrough-disks on the raid-controller.

If your raidset is greater than 2TB pve can't use them for installation (but to extend the volumegroup after installation). Define as first raidvolume a smaller one.
IO is very important for virtualisation - go for raid-10 if you can.

Sorry, i don't know adaptec-controller (i have only one - and i don't love them) but with cache and BBU must be an real raid-controller.

Udo
 
Hi Rodrigo,
i use Areca SAS Raid-controller - they are faster than other controller i have tested (i don't have test so much different). But the performance is ok:
Code:
# pveperf /var/lib/vz
CPU BOGOMIPS:      27292.95
REGEX/SECOND:      1131917
HD SIZE:           543.34 GB (/dev/mapper/pve-data)
BUFFERED READS:    421.26 MB/sec
AVERAGE SEEK TIME: 5.76 ms
FSYNCS/SECOND:     5069.45
DNS EXT:           77.29 ms
DNS INT:           0.46 ms
(4 SAS-Disks in raid-10).

Udo
 
Hi udo,

Apologise for my delay.

Thanks for your reply.

I will restart my project now in January, when I finish I'll send a feedback.

Best Regards,
Rodrigo Araujo
ITMNETWORKS
Brazil