packages
packages copied to clipboard
Virtual Machine Manager: Error attempting to add pool via samba share
Summary
I am unable to add a cifs / samba storage pool to Virtual Machine Manager, an error appears
Steps to reproduce
- Click Create New VM
- Click Browse next to the storage path input
- Click + to create a new storage pool, choose Type netfs Network Exported Directory
- Enter a target path (I chose /home/tracey/libvirt_images)
- Format auto (the only choice), Host Name htpc, source path isos
Expected result
I am able to create the pool based on the samba share folder
Actual result
An error appears
Error creating pool: Could not start storage pool: internal error: Child process (/usr/bin/mount -o nodev,nosuid,noexec htpc:isos /home/tracey/libvirt_images) unexpected exit status 32: mount: /home/tracey/libvirt_images: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.
helper program. dmesg(1) may have more information after failed mount system call.
dmesg does not have any information about this. I have other pools that were successfully created based on filesystem directories.
Environment
- [X] Is system up to date?
Repo
Unstable
Desktop Environment
Plasma
System details
Operating System: Solus 4.4 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.5-258.current (64-bit) Graphics Platform: X11 Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz Memory: 62.5 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 Manufacturer: Dell Inc. Product Name: XPS 17 9710
Other comments
According to https://libvirt.org/storage.html under "Network filesystem pool", cifs is a valid filesystem type. cifs-utils is installed, system is up to date
I verified I can browse the share with the guest user with
smbclient //htpc/isos -U guest
I noticed in the error that it is using "htpc:isos" rather than "//htpc/isos", which is what I'd expect for mounting a samba share