no free space in volume group

TechLineX

Active Member
Mar 2, 2015
213
5
38
I´ve a problem with my lvm. I don't get it, why i have no free space on it. Another person done the installation, so it is hard to get the structure of the system.

I think the lvm is a raid 1 of 2 x 2 TB hard drives:

Code:
root@host11:~# sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME         FSTYPE            SIZE MOUNTPOINT LABEL
sda          isw_raid_member   1.8T
├─sda1                        1007K
├─sda2       vfat              127M
└─sda3       LVM2_member       1.8T
sdb          isw_raid_member   1.8T
├─sdb1                        1007K
├─sdb2       vfat              127M
└─sdb3       LVM2_member       1.8T
  ├─pve-swap swap               62G
  ├─pve-root ext4               96G
  └─pve-data                   1.7T
sdc                          931.5G
├─sdc1                        1007K
├─sdc2       zfs_member      931.5G            rpool
└─sdc9                           8M
sdd                          931.5G
├─sdd1       zfs_member      931.5G            rpool
└─sdd9                           8M
zd0          swap                8G [SWAP]
zd16                            50G
zd32                           250G
├─zd32p1     ntfs              350M            System-reserviert
└─zd32p2     ntfs            249.7G
zd48                            50G
zd64                            50G
zd80                            50G
zd96                            50G
zd112                           50G
zd128                          100G
├─zd128p1    ntfs              350M            System-reserviert
├─zd128p2    ntfs             29.7G
└─zd128p3    ntfs               70G
zd144                           50G
zd160                          100G
zd176                          100G
zd192                           70G
zd208                           32G
zd224                           70G
zd240                           50G
zd256                           50G
zd272                           50G
zd288                           70G
zd304                           50G
├─zd304p1    ext4             47.9G
├─zd304p2                        1K
└─zd304p5    swap              2.1G
zd320                           50G
├─zd320p1    ntfs              350M            System-reserviert
└─zd320p2    ntfs             49.7G
zd336                           50G
├─zd336p1    ext4             49.5G
├─zd336p2                        1K
└─zd336p5                      509M
zd352                           32G
zd368                           50G
zd384                           50G
├─zd384p1    ext4               48G
├─zd384p2                        1K
└─zd384p5    swap                2G
zd400                           50G
├─zd400p1    ntfs              350M            System-reserviert
└─zd400p2    ntfs             49.7G
zd416                           50G
├─zd416p1    ntfs              350M            System-reserviert
└─zd416p2    ntfs             49.7G
zd432                           50G
├─zd432p1    ntfs              350M            System-reserviert
└─zd432p2    ntfs             49.7G
zd448                           50G
├─zd448p1    ntfs              350M            System-reserviert
└─zd448p2    ntfs             49.7G
zd464                           50G
zd496                          100G
zd512                          100G
zd528                          8.5G
zd544                           50G
zd560                           50G
zd576                           50G
├─zd576p1    ntfs              350M            System-reserviert
└─zd576p2    ntfs             49.7G
zd592                           50G
zd608                          2.5G

Code:
lvdisplay
  Found duplicate PV hSVcFlh50r6lNjsauCmu4jYNMzxdbk2s: using /dev/sdb3 not /dev/sda3
  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                ERJUPD-FEHI-Qhhs-yebk-Ayhs-2bFD-G9GRm2
  LV Write Access        read/write
  LV Creation host, time proxmox, 2016-02-09 10:31:45 +0100
  LV Status              available
  # open                 0
  LV Size                62.00 GiB
  Current LE             15872
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:0

  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                b7zS3d-p2hK-Iivl-80HN-6FHX-ugSt-gTfgbQ
  LV Write Access        read/write
  LV Creation host, time proxmox, 2016-02-09 10:31:46 +0100
  LV Status              available
  # open                 0
  LV Size                96.00 GiB
  Current LE             24576
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:1

  --- Logical volume ---
  LV Path                /dev/pve/data
  LV Name                data
  VG Name                pve
  LV UUID                lqWbJa-8OxW-66s9-YYT0-479B-Nzs9-AkMtBl
  LV Write Access        read/write
  LV Creation host, time proxmox, 2016-02-09 10:31:46 +0100
  LV Status              available
  # open                 0
  LV Size                1.65 TiB
  Current LE             432357
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:2

Actual free space after 1 VM with 15GB disk space: 1GB. But why?

Code:
root@host11:~# vgs -o +vg_free_count,vg_extent_count
  Found duplicate PV hSVcFlh50r6lNjsauCmu4jYNMzxdbk2s: using /dev/sdb3 not /dev/sda3
  VG   #PV #LV #SN Attr   VSize VFree  Free #Ext
  pve    1   3   0 wz--n- 1.82t 16.00g 4095 476900
 
Last edited:
It should be in a raid. The host is already a productive server, so i can't reinstall the whole Host. What is the best to do?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!