[SOLVED] mount: /mnt/sda: unknown filesystem type 'LVM2_member'.

AmEnde

New Member
Feb 6, 2023
8
0
1
Hallo,
ich habe mir leider meinen Proxmox Server beim rumprobieren zerschossen. Daher musste ich Proxmox leider neu installieren.
Glücklicherweise, waren alle wichtigen Daten auf einer zweiten Festplatte die in das System ein gebunden war.

Auf der SSD hatten drei VMs einen zusätzlichen Speicher zwei Linux und eine Windows VM. Leider kann ich die Festplatte nicht mounten, wegen des Fehlers im Titel ich habe auch schon versucht, die Partitionen der VMs einzeln zu mounten durch die Storage Group main-storage(die Bezeichnung des Storage im Vorherigem ProxmoxServer)

Leider hat nichts geklappt und ich bin mit meinem Latein am Ende...
 
Hast du die VG mit vgchange -ay DeineVG aktiviert und danach ein lvs und vgs versucht?
 
Last edited:
Hast du die VG mit vgchange -ay DeineVG aktiviert und danach ein lvs und vgs versucht?
Ja, habe ich schon versucht. habe es schon in einem anderem forum gelesen.

Code:
root@svr2:~# vgchange -ay main-storage
  3 logical volume(s) in volume group "main-storage" now active
root@svr2:~# lvs
  LV            VG           Attr       LSize   Pool Origin Data%  Meta%  Move L                                                                                                                                                                             og Cpy%Sync Convert
  vm-102-disk-0 main-storage -wi-a----- 200.00g                                                                                                                                                                                                             
  vm-103-disk-0 main-storage -wi-a-----  64.00g                                                                                                                                                                                                             
  vm-104-disk-3 main-storage -wi-a-----  64.00g                                                                                                                                                                                                             
  data          pve          twi-a-tz-- 137.11g             0.00   1.16                                                                                                                                                                                     
  root          pve          -wi-ao---- <67.97g                                                                                                                                                                                                             
  swap          pve          -wi-ao----   8.00g                                                                                                                                                                                                             
root@svr2:~# vgs
  VG           #PV #LV #SN Attr   VSize    VFree
  main-storage   1   3   0 wz--n- <476.94g <148.94g
  pve            1   3   0 wz--n-  231.88g   16.00g
das ist die Ausgabe.
Code:
root@svr2:~# mount -t ext4 /dev/main-storage/vm-103-disk-0 /data/webserver/
mount: /data/webserver: wrong fs type, bad option, bad superblock on /dev/mapper/main--storage-vm--103--disk--0, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

root@svr2:~# mount -t ntfs-3g /dev/main-storage/vm-102-disk-0 /data/gameserver/
NTFS signature is missing.
Failed to mount '/dev/mapper/main--storage-vm--102--disk--0': Invalid argument
The device '/dev/mapper/main--storage-vm--102--disk--0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

Copyright (C) 2009-2020 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Plugin path: /usr/lib/x86_64-linux-gnu/ntfs-3g

News, support and information:  https://github.com/tuxera/ntfs-3g/
Das sind die Fehler, die ich bekomme.
Code:
root@svr2:~# fdisk -l /dev/main-storage/vm-102-disk-0
Disk /dev/main-storage/vm-102-disk-0: 200 GiB, 214748364800 bytes, 419430400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8D1FC28B-1822-4868-A964-B9FD8AB3E7E7

Device                            Start       End   Sectors  Size Type
/dev/main-storage/vm-102-disk-0p1    34     32767     32734   16M Microsoft reserved
/dev/main-storage/vm-102-disk-0p2 32768 419426303 419393536  200G Microsoft basic data

root@svr2:~# fdisk -l /dev/main-storage/vm-103-disk-0
Disk /dev/main-storage/vm-103-disk-0: 64 GiB, 68719476736 bytes, 134217728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6706228c

Device                            Boot     Start       End   Sectors  Size Id Type
/dev/main-storage/vm-103-disk-0p1 *         2048 132216831 132214784   63G 83 Linux
/dev/main-storage/vm-103-disk-0p2      132218878 134215679   1996802  975M  5 Extended
/dev/main-storage/vm-103-disk-0p5      132218880 134215679   1996800  975M 82 Linux swap / Solaris
 
Ich habe eine Lösung gefunden, wenn ich Identische VMs erstelle, und die Partitionen dort mounte mit z.B.:
qm set 110 -scsi10 /dev/main-storage/vm-102-disk-0
kann ich diese dort normal nutzen.
 

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!