Dedicated server partition

  • Thread starter Thread starter il_dandi
  • Start date Start date
I

il_dandi

Guest
I've installed Promox with default partitions settings.

I would like to know if what I've create is it right!

On my promox home I show:

CPU(s) 4 x Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
Physical Memory (7.78GB/192MB)
Swap Space (2.00GB/0KB)
HD Space root (19.38GB/917MB)

whewre my HD is l'HD 2x 1000 GB - SATA2

In configuration/system I show:
eth1 no
vmbr0 yes eth0
vmbr1 yes dummy0


Are right these partitions??
My problem is that my HD is 1000 GB but I show:
HD Space root (19.38GB/917MB)
and 858 GB when I select Disk Space in Virtual Machine creation

what is it this: 19.38GB??

and why I show only 858 + 19.38 GB??? An other GB of my 1000 GB space... where are?

Thanks
 
we use LVM for partitioning. use the basic Linux command to see the setup.

e.g run 'df -h', 'pvdisplay' or just fdisk. and pls note, a 1TB disk never shows 1000GB - this is just the marketing numbers from the vendors.
 
Thanks for your reply

my df -h is:

Filesystem Size Used Avail Use% Mounted on
/dev/md1 20G 1.2G 18G 7% /
tmpfs 3.9G 0 3.9G 0% /lib/init/rw
udev 10M 568K 9.5M 6% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/mapper/pve-data 904G 707M 858G 1% /var/lib/vz


my pvdisplay is:

PV Name /dev/md5
VG Name pve
PV Size 910.98 GB / not usable 1.88 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 233210
....



Do you confirm me that my partition are right created (for manage promox and other VM)???

Now I've to install (for start) 2 Vm (Debian 6 and Windows 2008 std)... can you suggest a disk space for 2 these Vm?

Thanks
 
your pv shows /dev/md5 - which is a softraid - not created by our installer.
 
So I can delete dev/md5 because is not used???

Can you tell me the command for delete this and have new free space??


root@:/# lvdisplay
--- Logical volume ---
LV Name /dev/pve/data
VG Name pve
LV Write Access read/write
LV Status available
# open 1
LV Size 910.97 GB
Current LE 233209
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0

root@:/# vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 910.98 GB
PE Size 4.00 MB
Total PE 233210
Alloc PE / Size 233209 / 910.97 GB
Free PE / Size 1 / 4.00 MB
VG UUID wbPy8x
 
So I can delete dev/md5 because is not used???

Can you tell me the command for delete this and have new free space??

...
Hi,
if you delete md5 you lost your pve-volumegroup.
look at your output of pvdisplay -> your device for the volumegroup pve is md5!!
md1 is / (root) and perhaps you have also an md-device for swap.

But you have all of them installed! Why you ask the forum where the space is? Ask yourself.

With an standard proxmox-install you have /boot on sda1 and the rest of the disk (sda2) as pv for pve.
On the volumegroup pve are the logical volumes root, swap and data (and min. 4GB free space for backup).

Udo
 
Ok! But this mean that all it's OK on my proxmox configuration??
 
This mean that my HD/Volume/partitions are OK for manage promox and VMs but I can't create snapshots??

Can you tell me how Can I modify it for reserve space for snapshots?

Thanks
 
This mean that my HD/Volume/partitions are OK for manage promox and VMs but I can't create snapshots??

Can you tell me how Can I modify it for reserve space for snapshots?

Thanks
Hi,
if you have spap-space it's looks ok.
To leave enough space in vg pve:
save content of /var/lib/vz (tar)!!
Code:
umount /var/lib/vz
lvchange -a n /dev/pve/data
lvremove /dev/pve/data
lvcreate -n data -L 900G pve
mkfs.ext3 /dev/mapper/pve-data
mount -a
restore content of /var/lib/vz
look with vgdisplay for free space.
You can also do an resize, but delete and new are easier.

Udo