[PVE-User] Explication for local storage

Florent THOMAS mailinglist at tdeo.fr
Tue Sep 4 18:44:10 CEST 2012


Hy all of you,

I'm brand new in using proxmox VE2.1 and I really appreciate this tool.
I'm surfing the web to learn and find appropriate resources.
I also try to organise correctly my environment.

One of the first question is whereis my diskspace?
I explain, I had a 500GB RAID disk and here is my command line result :

/root at proxmox:~# lvdisplay//
//  --- Logical volume ---//
//  LV Path                /dev/pve/swap//
//  LV Name                swap//
//  VG Name                pve//
//  LV UUID 6hpeUQ-Id7p-8ZHb-t38K-eOP0-uFfC-N7M1wJ//
//  LV Write Access        read/write//
//  LV Creation host, time proxmox, 2012-09-03 14:50:26 +0200//
//  LV Status              available//
//  # open                 1//
//  LV Size                7.00 GiB//
//  Current LE             1792//
//  Segments               1//
//  Allocation             inherit//
//  Read ahead sectors     auto//
//  - currently set to     256//
//  Block device           253:1//
////
//  --- Logical volume ---//
//  LV Path                /dev/pve/root//
//  LV Name                root//
//  VG Name                pve//
//  LV UUID bYw2Rk-hgku-UfK5-d54s-5pJm-YfqP-iCIcd1//
//  LV Write Access        read/write//
//  LV Creation host, time proxmox, 2012-09-03 14:50:26 +0200//
//  LV Status              available//
//  # open                 1//
//  LV Size                96.00 GiB//
//  Current LE             24576//
//  Segments               1//
//  Allocation             inherit//
//  Read ahead sectors     auto//
//  - currently set to     256//
//  Block device           253:0//
////
//  --- Logical volume ---//
//  LV Path                /dev/pve/data//
//  LV Name                data//
//  VG Name                pve//
//  LV UUID 1jWEwv-TFq7-hLjP-p9Wz-eaxB-K60K-r4LJS2//
//  LV Write Access        read/write//
//  LV Creation host, time proxmox, 2012-09-03 14:50:26 +0200//
//  LV Status              available//
//  # open                 1//
//  LV Size                345.75 GiB//
//  Current LE             88512//
//  Segments               1//
//  Allocation             inherit//
//  Read ahead sectors     auto//
//  - currently set to     256//
//  Block device           253:2

========================
root at proxmox:~# vgdisplay
   --- Volume group ---
   VG Name               pve
   System ID
   Format                lvm2
   Metadata Areas        1
   Metadata Sequence No  4
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                3
   Open LV               3
   Max PV                0
   Cur PV                1
   Act PV                1
   VG Size               464.75 GiB
   PE Size               4.00 MiB
   Total PE              118975
   Alloc PE / Size       114880 / 448.75 GiB
   Free  PE / Size       4095 / 16.00 GiB
   VG UUID sr3gR6-h1mZ-fsxC-i9j2-esTe-P3IH-Y2b1pn

root at proxmox:~# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/mapper/pve-root   102G   1.1G    96G   2% /
tmpfs                  4.2G      0   4.2G   0% /lib/init/rw
udev                   4.2G   205k   4.2G   1% /dev
tmpfs                  4.2G    20M   4.2G   1% /dev/shm
/dev/mapper/pve-data   366G   734M   365G   1% /var/lib/vz
/dev/sda1              519M    59M   434M  12% /boot
/dev/fuse               32M    13k    32M   1% /etc/pve

//
/It gives us 448GB used.
Is it normal that 96 Gb are used for root? Is it possible/dangerous to 
change this?If yes, how can I work?

Then, when I read the documentation, it is explained that LVM storage is 
the best to use 
<http://pve.proxmox.com/wiki/Storage_Model#LVM_Groups_-_An_Ideal_Solution>, 
but when I create one, I have almost no space free (see below).


Is it normal?
Some posts on the are explaining that PVE already create one and it is 
useless to create one more if the hardware doesn't change. Is it correct?
Does a new LVM storage will adapt its size dynamically so that creating 
a new one is relevant?

What I would like to understand now is if it is correct to work with 
directory storage only ? Will snapshot still available if no LVM is used 
or does all the directory created are already "inside" the default LVM ?
Should I create folders under the /var/lib/vz which is the LVM default?

Thanks in advance for your answers.

Regards,

Florent THOMAS


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120904/4ca35688/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: djagcfie.png
Type: image/png
Size: 5019 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120904/4ca35688/attachment.png>


More information about the pve-user mailing list