E edina Renowned Member Nov 26, 2014 4 0 66 Nov 26, 2014 #1 Hi all this is a bit of a noob question i gues How do i add my 3 drives that i just took from my old linux to the new VM linux, Or how to migrate them over, they run Sata and EXT4
Hi all this is a bit of a noob question i gues How do i add my 3 drives that i just took from my old linux to the new VM linux, Or how to migrate them over, they run Sata and EXT4
A acidrop Renowned Member Jul 17, 2012 204 7 83 Nov 26, 2014 #2 If you want to passthrough them to VM edit the VM config /etc/qemu-server/<vmid>.conf, and directly assign the device. For example: ide2: /dev/sdb2 If you want to copy them inside VM virtual disk you should clone and restore them inside VM (with clonezilla or similar tool). http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE
If you want to passthrough them to VM edit the VM config /etc/qemu-server/<vmid>.conf, and directly assign the device. For example: ide2: /dev/sdb2 If you want to copy them inside VM virtual disk you should clone and restore them inside VM (with clonezilla or similar tool). http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE
E edina Renowned Member Nov 26, 2014 4 0 66 Nov 26, 2014 #3 passtrough i guess, my /etc/qemu-server/102.conf was empty so i created the file with this contect sata1: /dev/sde1 and it does not show up on my debian box when i do fdisk -l
passtrough i guess, my /etc/qemu-server/102.conf was empty so i created the file with this contect sata1: /dev/sde1 and it does not show up on my debian box when i do fdisk -l
A acidrop Renowned Member Jul 17, 2012 204 7 83 Nov 26, 2014 #4 Sorry I meant /etc/pve/qemu-server/102.conf. That should be the correct path and it should have already content. Try to put whole drive not only the partition.Also make sure that /dev/sde is not occupied by another process. Example: sata1: /dev/sde or ide1: /dev/sde
Sorry I meant /etc/pve/qemu-server/102.conf. That should be the correct path and it should have already content. Try to put whole drive not only the partition.Also make sure that /dev/sde is not occupied by another process. Example: sata1: /dev/sde or ide1: /dev/sde
E edina Renowned Member Nov 26, 2014 4 0 66 Nov 26, 2014 #5 bootdisk: ide0 cores: 1 ide0: local:102/vm-102-disk-1.qcow2,format=qcow2,size=64G ide2: local:iso/debian-live-7.7.0-amd64-gnome-desktop.iso,media=cdrom memory: 2000 net0: e1000=EA:55:4E:49:5C:71,bridge=vmbr1 ostype: l26 smbios1: uuid=3a08d989-cc73-4657-895e-9aea9926b74b sockets: 1 sata1: /dev/sde And now when i run mount -a i get unknown filesystem type "LVM"_member"
bootdisk: ide0 cores: 1 ide0: local:102/vm-102-disk-1.qcow2,format=qcow2,size=64G ide2: local:iso/debian-live-7.7.0-amd64-gnome-desktop.iso,media=cdrom memory: 2000 net0: e1000=EA:55:4E:49:5C:71,bridge=vmbr1 ostype: l26 smbios1: uuid=3a08d989-cc73-4657-895e-9aea9926b74b sockets: 1 sata1: /dev/sde And now when i run mount -a i get unknown filesystem type "LVM"_member"
A acidrop Renowned Member Jul 17, 2012 204 7 83 Nov 26, 2014 #6 And now when i run mount -a i get unknown filesystem type "LVM"_member" Click to expand... You mean inside VM right? Probably your disk is LVM member and cannot be directly mounted. You should give: pvscan vgscan lvscan What does: lvdisplay shows? You should mount that LV. For example: mount /dev/mapper/vg0/lv0 /mnt
And now when i run mount -a i get unknown filesystem type "LVM"_member" Click to expand... You mean inside VM right? Probably your disk is LVM member and cannot be directly mounted. You should give: pvscan vgscan lvscan What does: lvdisplay shows? You should mount that LV. For example: mount /dev/mapper/vg0/lv0 /mnt
E edina Renowned Member Nov 26, 2014 4 0 66 Nov 26, 2014 #7 pvscan PV /dev/sda1 VG 1tb lvm2 [465.76 GiB / 465.76 GiB free] Total: 1 [465.76 GiB] / in use: 1 [465.76 GiB] / in no VG: 0 [0 ] vgscan Reading all physical volumes. This may take a while... Found volume group "1tb" using metadata type lvm2 lvscan does nothing lvdisplay does nothing
pvscan PV /dev/sda1 VG 1tb lvm2 [465.76 GiB / 465.76 GiB free] Total: 1 [465.76 GiB] / in use: 1 [465.76 GiB] / in no VG: 0 [0 ] vgscan Reading all physical volumes. This may take a while... Found volume group "1tb" using metadata type lvm2 lvscan does nothing lvdisplay does nothing
A acidrop Renowned Member Jul 17, 2012 204 7 83 Nov 26, 2014 #8 lvscan does nothing lvdisplay does nothing Click to expand... Maybe you had two disks in LVM group (2x500gb)? If yes, then you should attach the other too on VM like you did with this one.
lvscan does nothing lvdisplay does nothing Click to expand... Maybe you had two disks in LVM group (2x500gb)? If yes, then you should attach the other too on VM like you did with this one.