Hard drive at proxmox

aluix12

New Member
Jun 22, 2020
4
0
1
31
Hello good morning everyone, hoping you are well.

I have a problem and I hope you can help me. I have installed a proxmox v6 on my dedicated server with 6TB of disk, the problem is that it only recognizes 2tb. I have added the remaining 4 by:

Datacenter / Storage / Add Attached image:

aa.PNG

But when added they appear to me that they are full.

full.PNG

disk.PNG

The dedicated server is new and I have just installed proxmox, how can I free up the space of my two disks that are full for proxmox? thank you
 
Last edited:
You added them as LVM. Did you create LVM or was it already present?

If you could show the contents of /etc/pve/storage.conf and the output of the following commands, we might be able to figure out what is going on. It's best to put it in [CODE] tags so it will not lose the spacing.
  • lsblk
  • pvs
  • vgs
  • lvs
 
Hello, here I leave the requested:

/etc/pve/storage.conf it is empty

er.PNG

lsblk

Code:
root@ns500601:~# lsblk
NAME           MAJ:MIN RM    SIZE RO TYPE  MOUNTPOINT
sda              8:0    0    1.8T  0 disk 
├─sda1           8:1    0 1004.5K  0 part 
├─sda2           8:2    0     20G  0 part 
│ └─md2          9:2    0     20G  0 raid1 /
├─sda3           8:3    0   1023M  0 part  [SWAP]
├─sda4           8:4    0    1.8T  0 part 
│ └─md4          9:4    0    1.8T  0 raid1
│   └─pve-data 253:0    0    1.8T  0 lvm   /var/lib/vz
└─sda5           8:5    0      1M  0 part 
sdb              8:16   0    1.8T  0 disk 
├─sdb1           8:17   0 1004.5K  0 part 
├─sdb2           8:18   0     20G  0 part 
│ └─md2          9:2    0     20G  0 raid1 /
├─sdb3           8:19   0   1023M  0 part  [SWAP]
├─sdb4           8:20   0    1.8T  0 part 
│ └─md4          9:4    0    1.8T  0 raid1
│   └─pve-data 253:0    0    1.8T  0 lvm   /var/lib/vz
└─sdb5           8:21   0    5.1M  0 part 
sdc              8:32   0    1.8T  0 disk 
├─sdc1           8:33   0 1004.5K  0 part 
├─sdc2           8:34   0     20G  0 part 
│ └─md2          9:2    0     20G  0 raid1 /
├─sdc3           8:35   0   1023M  0 part  [SWAP]
└─sdc4           8:36   0    1.8T  0 part 
  └─md4          9:4    0    1.8T  0 raid1
    └─pve-data 253:0    0    1.8T  0 lvm   /var/lib/vz

pvs

Code:
root@ns500601:~# pvs
  PV         VG  Fmt  Attr PSize  PFree
  /dev/md4   pve lvm2 a--  <1.80t 4.00g

vgs

Code:
root@ns500601:~# vgs
  VG  #PV #LV #SN Attr   VSize  VFree
  pve   1   1   0 wz--n- <1.80t 4.00g

lvs

Code:
root@ns500601:~# lvs
  LV   VG  Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data pve -wi-ao---- 1.79t
 
/etc/pve/storage.conf it is empty
My bad, it's /etc/pve/storage.cfg

Well, from what I can see you have an MD RAID in RAID1.
Code:
  └─md4          9:4    0    1.8T  0 raid1
Which means you mirror it across three disks. With this, it is absolutely normal, that you only see the 2TB out of 6.

By the way, we do not officially support MD RAIDs and recommend to use ZFS if a software RAID is to be used. But be aware that RAIDZs can be tricky if you run VMs on them. See https://forum.proxmox.com/threads/zfs-counts-double-the-space.71536/#post-320919
 
Hello, how can I configure the 3 disks to work for me? the dedicated server is from ovh
 
Hello, how can I configure the 3 disks to work for me? the dedicated server is from ovh

You current setup is redundant, which means you can tolerate a disk failure. You want to break that redundancy and access each disk individually? You need to reinstall everything.
 

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!