pve-storage/PVE/Storage
Alwin Antreich ba35722ccc cephfs: Exclude _netdev when mounting with fuse
Since ceph-fuse is called directly in the CephFS storage plugin, which
can not process the _netdev option, mounting the CephFS storage fails
when fuse is set in the storage.cfg.

This patch moves the _netdev option into the else part of the if fuse is
set statement. _netdev is only added if the CephFS kernel client mounts
the storage.

It seems _netdev is not needed anyway for the fuse mount, as the
connection is closed, once the fuse process gets killed on shutdown.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
(cherry picked from commit 9553b55c4f)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-14 10:08:13 +02:00
..
LunCmd LIO: followup: various small cleanups 2018-08-02 14:57:07 +02:00
CephFSPlugin.pm cephfs: Exclude _netdev when mounting with fuse 2019-06-14 10:08:13 +02:00
CIFSPlugin.pm enable snippets content type for all directory based storages 2019-01-31 11:04:29 +01:00
DirPlugin.pm enable snippets content type for all directory based storages 2019-01-31 11:04:29 +01:00
DRBDPlugin.pm refactor finding next diskname for all plugins 2018-09-10 12:21:10 +02:00
GlusterfsPlugin.pm fix #585: remove leftover disks/directory after VM creation failed 2019-03-05 10:36:51 +01:00
ISCSIDirectPlugin.pm fix content listing for user mode iscsi plugin 2019-03-07 11:08:43 +01:00
ISCSIPlugin.pm add Storage::get_bandwidth_limit helper 2018-01-31 12:25:32 +01:00
LVMPlugin.pm Fix #2050: only provide 'conv=sparse' for LvmThin 2019-01-18 10:46:33 +01:00
LvmThinPlugin.pm Fix #2050: only provide 'conv=sparse' for LvmThin 2019-01-18 10:46:33 +01:00
Makefile buildsys: split storage plugins to single lines 2019-06-14 10:07:56 +02:00
NFSPlugin.pm enable snippets content type for all directory based storages 2019-01-31 11:04:29 +01:00
Plugin.pm map_volume: fall back to 'path' 2019-04-29 13:44:40 +00:00
RBDPlugin.pm move Storage/CephTools to CephConfig 2018-12-20 09:26:11 +01:00
SheepdogPlugin.pm refactor finding next diskname for all plugins 2018-09-10 12:21:10 +02:00
ZFSPlugin.pm Linux LIO/targetcli support 2018-08-02 14:56:20 +02:00
ZFSPoolPlugin.pm zpool: handle race with other zpool imports 2019-04-18 10:01:39 +02:00