KVM on Fedora
-
@dustinb3403 usually, the problem is the LV not mounted at boot time. Check your fstab, try to mount the LV manually etc.
-
This is what I've got.
# /etc/fstab # Created by anaconda on Fri Jun 1 09:56:13 2018 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/fedora_localhost--live-root / ext4 defaults 1 1 UUID=281e2f9f-9d5f-4017-8271-dc83a85e6fca /boot ext4 defaults 1 2 /dev/mapper/fedora_localhost--live-home /home ext4 defaults 1 2 /dev/mapper/fedora_localhost--live-swap swap swap defaults 0 0
-
I've just added
/home/user.name/vm-storage/ defaults 1 1
to fstab, should that do?
And actually looking in the existing directories that I was going to use, nothing was there. .
-
Is your new storage set to autostart on boot?
Check the connection details for storage. -
@black3dynamite at the VM level or host?
-
@dustinb3403 From the host.
-
This is my first swing at kvm so treat me like a toddler.
I would assume if I create a file using virtmanager that it stays between hosts reboots...
-
Hrm for whatever reason it stayed this time...
-
What do you have set up for your storage?
The state status should be active and autostart on boot enabled.
-
@dustinb3403 said in KVM on Fedora:
I've just added
/home/user.name/vm-storage/ defaults 1 1
to fstab, should that do?
And actually looking in the existing directories that I was going to use, nothing was there. .
Why didn't you set this up before you installed Fedora using custom partitioning?
Now, why aren't you fixing it via Cockpit?
-
@black3dynamite It is, and was set to that as well.
-
Did you create the vm under qemu:///system or qemu:///session (user session)?
-
@obsolesce said in KVM on Fedora:
@dustinb3403 said in KVM on Fedora:
I've just added
/home/user.name/vm-storage/ defaults 1 1
to fstab, should that do?
And actually looking in the existing directories that I was going to use, nothing was there. .
Why didn't you set this up before you installed Fedora using custom partitioning?
Now, why aren't you fixing it via Cockpit?
Because im tired and running around raged.