On 2017-06-19 09:33, Fabian Grünbichler wrote:

AFAICT, mount will always guess NFS if there is a ':' anywhere in the
source path:


No, mount only guess NFS if run through PVE::Tools:run_command. Running the exact same command as produced in PVE::LXC::API2 from the command line works as intended.


mount: special device /dev/disk/by-path/ip-10.0.1.323260-iscsi-iqn.2005-10.org.freenas.ctl:vm-113-lun-0 does not exist

because the path of course does not exist on my test system ;)

IMHO adding this is not problematic, because we never have container
volumes which are a whole NFS export, and if we had, they could not be
"raw" and resizable anyway..

Ok. I will add this option to the LXC code?

--
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------

----

This mail was virus scanned and spam checked before delivery.
This mail is also DKIM signed. See header dkim-signature.

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to