Score:0

After Moving KVM VM, Unable to Mount NFS Partitions

us flag

I am using KVM for VMs with LVM partitions. I ran out of space one of the VM(32G) and I decided to move the VM to another physical server and expand its disk(to 48G).

#Physical server with low disk space
sudo dd if=/dev/images/fooVM of=someNFSServer/fooVM.img (32GB)

#Physical server with high disk space
sudo lvcreate -L 32G -n fooVM-temp images
sudo dd if=someNFSServer/fooVM.img of=/dev/images/fooVM-temp

sudo lvcreate -L 48G -n fooVM images
sudo virt-resize --expand /dev/sda1 /dev/images/fooVM-temp /dev/images/fooVM

After that vm works correctly but i cant mount te other nfs drives.

mkdir /mnt/nfsArea    
sudo mount -t nfs 192.168.XXX.XXX:/mnt/.../... /mnt/nfsArea

mount.nfs: No such device I tried many different methods. I compared the open services in the initial state of the server with the services and packages in the final state.

de flag
looks like you need to install nfs-utils package
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.