proxmox unknown filesystem type lvm2 member

edge42

New Member
Jul 18, 2021
10
0
1
38
hello friends,


My proxmox is installed on 2.7 To RAID5 VOLUME

I wouldlike to use the space on my dev/sda3 but i cannot mount it, when i try

mount: /vm: unknown filesystem type 'LVM2_member'.

Filesystem Size Used Avail Use% Mounted on
udev 40G 0 40G 0% /dev
tmpfs 7.9G 1.6M 7.9G 1% /run
/dev/mapper/pve-root 94G 3.6G 86G 4% /
tmpfs 40G 40M 40G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/fuse 128M 16K 128M 1% /etc/pve
tmpfs 7.9G 0 7.9G 0% /run/user/0


Disk /dev/sda: 2.73 TiB, 3000464531456 bytes, 5860282288 sectors
Disk model: LOGICAL VOLUME
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 1310720 bytes
Disklabel type: gpt
Disk identifier: 2B2EE564-1095-4B9E-8AED-C32A15FC79AB

Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 1050623 1048576 512M EFI System
/dev/sda3 1050624 5860282254 5859231631 2.7T Linux LVM

Partition 1 does not start on physical sector boundary.


Disk /dev/mapper/pve-swap: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 1310720 bytes


Disk /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 1310720 bytes


fdisk /dev/sda3

Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

The device contains 'LVM2_member' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.

Device does not contain a recognized partition table.
The size of this disk is 2.7 TiB (2999926595072 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT).

Created a new DOS disklabel with disk identifier 0xed821e7b.

i don't want to erase my sda1 and sda2 who are on the same PV in the process.

Someone have an idea ?

 
please read that chapter of the documentation!
 
Can i extend my volume data ?

by estend i mean use the free space for something;

root@orange:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <2.73t 16.37g
root@orange:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-a-tz-- <2.58t 0.00 0.17
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
 
Last edited:
you have a 'data' thinpool that has most of the space of your disk assigned to it. if you want more space usable as "directory" type storage (e.g., for vzdump backups, or iso storage), follow "3.7.4. Creating an extra LV for /var/lib/vz". guest volumes are stored directly on the thin pool (the default 'local-lvm' storage).
 
Ok fabian thaks you for the tutorial

I made my extra lV /dev/vm " 2.54 To "

I wouldlike to use 100 pourcent of my dev/sda3, 2.7 to and extend my /dev/vm

Can i do it without mess with the other partition ?

is the command correct : lvextend -l 160g /dev/vm


now i have this :

Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 1050623 1048576 512M EFI System
/dev/sda3 1050624 5860282254 5859231631 2.7T Linux LVM

Partition 1 does not start on physical sector boundary.


Disk /dev/mapper/pve-swap: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 1310720 bytes


Disk /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 1310720 bytes


Disk /dev/mapper/pve-vm: 2.54 TiB, 2791728742400 bytes, 5452595200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 1310720 bytes
 
sorry, but I am afraid you need to familiarize yourself with how LVM and linux systems administration works first before proceeding further - if you don't understand the basics, you really risk losing your data by making a wrong step!