On Fri, Jul 6, 2018 at 2:48 PM Sandro Bonazzola
<sbonazzo(a)redhat.com> wrote:
Hi Nir, thanks for your help.
You can find vdsm mount command in supervdsmd.log.
I checked the file at: /var/log/vdsm/supervdsm.log, but without any relevant information
about mount or gpfs, including other words like: mnt, posix, domain or file. If you
consider, we can add it too.
-rw-r--r-- 1 root root 0 Jul 4 11:58 supervdsm.log
Did you look in /var/log/messages or demsg as the error message
suggests?
As I commented before, i can't find any relevant messages on the dmesg output when I
tried to add a new storage domain. The only reports that I can saw, was on the vdsm.log
2018-07-06 09:00:54,861+0200 INFO (jsonrpc/3) [vdsm.api] START
connectStorageServer(domType=6, spUUID=u'00000000-0000-0000-0000-000000000000',
conList=[{u'mnt_options': u'loop,bind', u'id':
u'00000000-0000-0000-0000-000000000000', u'connection':
u'/gpfs/kvm', u'iqn': u'', u'user': u'',
u'tpgt': u'1', u'vfs_type': u'gpfs', u'password':
'********', u'port': u''}], options=None)
from=::ffff:10.2.1.254,34696, flow_id=6bd725cf-a982-4d2a-a3f5-edbcc5f39d64,
task_id=570791fc-46f7-4900-a1bc-834670988259 (api:46)
2018-07-06 09:00:54,864+0200 INFO (jsonrpc/3) [storage.StorageServer.MountConnection]
Creating directory u'/rhev/data-center/mnt/_gpfs_kvm' (storageServer:167)
2018-07-06 09:00:54,864+0200 INFO (jsonrpc/3) [storage.fileUtils] Creating directory:
/rhev/data-center/mnt/_gpfs_kvm mode: None (fileUtils:197)
2018-07-06 09:00:54,864+0200 INFO (jsonrpc/3) [storage.Mount] mounting /gpfs/kvm at
/rhev/data-center/mnt/_gpfs_kvm (mount:204)
OSError: [Errno 2] Mount of `/gpfs/kvm` at `/rhev/data-center/mnt/_gpfs_kvm` does not
exist
We support POSIX compliant file systems. If GPFS is POSIX compliant, it
should
work, but I don't think we test it.
Elad, do we test GPFS?
You should start with mounting the file system manually. When you have a
working
mount command, you may need to add some mount options to the storage domain
additional mount options.
Apparently, on some documentation I read that GPFS is fully supported with Ovirt and RHEV
environments, so I consider that GPFS is a POSIX compliant filesystem. In addition, when I
configured the fs, I defined the type POSIX for two parameters during the creation:
-D posix File locking semantics in effect
-k posix ACL semantics in effect
On the ovirt Add Storage Domain Form, I put on Custom Connection Parameters, the flags
that I encountered on the mount entry for the two GPFS file systems:
rw,relatime
I'm looking for a workaround to try to add this fs on the environment. If you consider
that I can collaborate checking other confs or files, I'm ready to do that.
Kind regards and thanks in advance!