[PVE-User] setting storage layout at install time

Leandro Roggerone leandro at tecnetmza.com.ar
Wed Feb 26 16:34:02 CET 2020


Ok , this is what I set during installation process:
hd size: 2000.
swapsize: blank
maxroot: blank
minfree: 1000
maxvz: 1000.

After install , this is what I got:

root at pve:~#  vgdisplay -v pve
  --- Volume group ---
  VG Name               pve
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1.95 TiB
  PE Size               4.00 MiB
  Total PE              511871
  Alloc PE / Size       255872 / 999.50 GiB
  Free  PE / Size       255999 / <1000.00 GiB
  VG UUID               zPby6x-GbsC-celw-r6ZU-3t1F-DLjX-i8CBv2

  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                ukZpGT-Mtxo-vWes-OUGT-tOXt-Nsd1-Wnrszd
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-02-25 13:46:43 -0300
  LV Status              available
  # open                 2
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                2tQrYn-igFx-gqU1-cc8j-wEM6-3q4o-3IpVKe
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-02-25 13:46:43 -0300
  LV Status              available
  # open                 1
  LV Size                96.00 GiB
                                ############### I need to get this
partition to 1TB.
  Current LE             24576
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

  --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                XQfOWm-L3fC-EtcE-4I7e-euC9-NH2g-fnWBqg
  LV Write Access        read/write
  LV Creation host, time proxmox, 2020-02-25 13:46:44 -0300
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 0
  LV Size                <877.59 GiB
  Allocated pool data    0.00%
  Allocated metadata     0.22%
  Current LE             224662
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:4

  --- Physical volumes ---
  PV Name               /dev/sda3
  PV UUID               ZpwZGJ-h774-VKh8-f81D-Evyi-d0jD-7stBLa
  PV Status             allocatable
  Total PE / Free PE    511871 / 255999


How to set "Hard disk options" to accomplish my desired schemme:
   LVM (/dev/pve/root)  = 1T.
 LVM-thin = 1TB.
Remaining =< 3TB. reserved for future use.

Regards,
Leandro.



El mar., 25 feb. 2020 a las 16:03, <proxmox-user at mattern.org> escribió:

> Hi,
>
> imho you should use a Debian Buster install CD and create a layout
> whatever you want. The Debian installer is really flexible. You can't do
> LVM Thin there but a LVM-Thin Pool is only a special LVM LV. So you can
> create two LVs and convert one LV to a Thin-Pool later
> (https://pve.proxmox.com/wiki/Storage:_LVM_Thin). Or create two VGs.
>
> Then go on with:
> https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster.
>
> Regards
>
>
> Am 25.02.20 um 18:15 schrieb Leandro Roggerone:
> > Hi guys, Im trying to get my pve ready for use.
> > I want to create following layout on mi 5TB drive):
> > 1T for LVM data
> > 1T For LVM-thin.
> > 3T Remaining for future partitioning.
> > So at the hard disk options on the installer I chose :
> > hdsize 2000 (GB).
> > swapsize (left blank).
> > maxroot (left blank).
> > min free: 1000
> > maxxvz:1000.
> >
> > After install process finished and access to web gui I have:
> > pve
> >        local(pve)          Usage   1.76% (1.66 GiB of 93.99 GiB)
> >    (this is not OK).
> >        local-lvm (pve)  Usage 0.00% (0 B of 877.59 GiB)      (this is
> very
> > close to 1Tb .. so its ok).
> >
> > Question is , how should I set hard disk options during installation
> > process to accomplish wanted layout ?
> > Regards,
> > Leandro.
> > _______________________________________________
> > pve-user mailing list
> > pve-user at pve.proxmox.com
> > https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>



More information about the pve-user mailing list