I set up 3 HD when I install on my server, this is how I do it:
NOTE! remove all but ram in first slot if install fails at boot
1.Install Proxmox and reboot
NOTE! set your ram back now if removed first
2.Put in your CentOS 5 CDROM(cd1)
3.Reboot into rescue mode by Press F5, type linux rescue
4.when asked if try to find Linux system choose skip
set up harddisk(s)
a.fdisk -l
(lists disks)
b.fdisk /dev/sdb
c.n
d.p
e.1
f.enter
g.enter
h.t
i.8e
j.w
repeat if more disks (
fdisk /dev/sdc etc..)
then reload disks so you can skip reboot
(if needed, I just delete partition then write then start from beginning)
(
fdisk /dev/sdb then
d then
w if only 1 partition)
else you can use
hdparm -z /dev/sdb
5.reboot into proxmox and login as root
(
pvremove /dev/sdb1,
pvremove /dev/sdc1)
if already assigned
6.pvcreate /dev/sdb1
7.pvcreate /dev/sdc1
8.vgextend pve /dev/sdb1
9.vgextend pve /dev/sdc1
10.pvscan
11.lvextend -L+617.64G /dev/pve/data (-L+sizeG)
(I used sum at pvscan then tried smaller until it was ok)
lvscan should show new size..
back to Rescue mode
12.Put in your CentOS 5 CDROM(cd1)
13.Reboot into rescue mode by Press F5, type linux rescue
14.when asked if try to find Linux system choose skip
now activate volume group
15.lvm vgchange -a y
Do a file system check
16.e2fsck -f /dev/pve/data
if no parameters resize2fs will increase the file system to max space.
17.resize2fs /dev/pve/data
Reboot, your data partition is now larger, spanning multiple disks.
(you can add to root also instead of just data)
if you need run develop system on server
a.login as root
b.nano /etc/apt/sources.list and change to:
c.
deb http://ftp.debian.org/debian lenny main non-free
# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve
# security updates
deb http://security.debian.org/ lenny/updates main
d.save (ctrl+O) then quit (ctrl+X)
e.aptitude update
f.aptitude upgrade
g.enter
h.aptitude install xorg openbox iceweasel sun-java6-plugin
(xfce4, gnome, icewm, kde or what you like instead of openbox)
i.enter
(take coffe and wait)
j.startx
(to remove: aptitude remove xorg xfce4 iceweasel sun-java6-plugin)
k.start iceweasel enter 127.0.0.1 in adress(or ip used at setup)
l.click on link and add exception
m.click get certificate and check
"permanently store this exception", press
"confirm security exception"
n.login with root and your password, click
"remember" at top if you want to save login info.
transfer large iso files to server
use winscp to
/var/lib/vz/template/iso directory
(if windows, in settings enter root and you password, and scp)
login and you are ready to transfer files.
/Enjoy
credits: posts from staff on this forum and google