Move disk VM, LVM mount

Vincent Romero

New Member
Sep 21, 2017
16
0
1
37
Hello

I have this.
root@pve:/# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 127M 0 part /boot/efi
└─sda3 8:3 0 465.7G 0 part
├─pve-root 251:0 0 96G 0 lvm /
├─pve-swap 251:1 0 8G 0 lvm [SWAP]
├─pve-data_tmeta 251:2 0 88M 0 lvm
│ └─pve-data-tpool 251:4 0 345.7G 0 lvm
│ ├─pve-data 251:5 0 345.7G 0 lvm
│ ├─pve-vm--100--disk--1 251:6 0 20G 0 lvm
│ ├─pve-vm--101--disk--1 251:7 0 10G 0 lvm
│ ├─pve-vm--102--disk--1 251:8 0 40G 0 lvm
│ ├─pve-vm--103--disk--1 251:9 0 32G 0 lvm
│ └─pve-vm--104--disk--1 251:10 0 50G 0 lvm
└─pve-data_tdata 251:3 0 345.7G 0 lvm
└─pve-data-tpool 251:4 0 345.7G 0 lvm
├─pve-data 251:5 0 345.7G 0 lvm
├─pve-vm--100--disk--1 251:6 0 20G 0 lvm
├─pve-vm--101--disk--1 251:7 0 10G 0 lvm
├─pve-vm--102--disk--1 251:8 0 40G 0 lvm
├─pve-vm--103--disk--1 251:9 0 32G 0 lvm
└─pve-vm--104--disk--1 251:10 0 50G 0 lvm
sr0 11:0 1 510.2M 0 rom

I want to move the disk completely from proxmox to another location.

As I can mount some LVM I have tried with mount -t xfs / dev / mapper / pve-data / mount

Without any successful results.
 
I want to remove the disks "the file" qcow2 or raw from the server and move it to another location outside the proxmox server.

Can I mount the LVM as in a folder?
 
It is enough when you can mount the Proxmox Backupfile? Normaly you should be able to mount the LVM-Thin too. With LVM i remember this was no problem. Maybe this, for example:
Code:
mount /dev/mapper/pve-vm--200--disk--1 /your/target
 
When i try mount. This is the message

root@pve:/dev/mapper# mount /dev/mapper/pve-vm--105--disk--1 /mnt1/
mount: wrong fs type, bad option, bad superblock on /dev/mapper/pve-vm--105--disk--1,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.
 
hmm, ok think you haven't gustfilesystem installed on pve. What filesystem is used in this guest? XFS should work too. Here on my system the xfsprogs are installed. Or load the module for: modprobe xfs