[Users] Ovirt 3.1 and gluster

зоррыч zorro at megatrone.ru
Fri Jun 15 20:53:39 UTC 2012


Hi

I configured manually volume gluster:

[root at noc-1-m77 ~]# gluster volume info gluster

 

Volume Name: gluster

Type: Replicate

Status: Started

Number of Bricks: 2

Transport-type: tcp

Bricks:

Brick1: 10.1.20.10:/mht

Brick2: 10.2.20.9:/mht

[root at noc-1-m77 ~]#

 

I created a data center in ovirt with "storage Type": Posix compliant fs.

If you try to add gluster storaпe me an error (1.png).

vdsm.log:

Thread-19643::DEBUG::2012-06-15
16:32:34,112::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n
/bin/mount -t gluster 10.2.20.9:/gluster
/rhev/data-center/mnt/10.2.20.9:_gluster' (cwd None)

Thread-19643::ERROR::2012-06-15
16:32:34,169::hsm::1932::Storage.HSM::(connectStorageServer) Could not
connect to storageServer

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/hsm.py", line 1929, in connectStorageServer

    conObj.connect()

  File "/usr/share/vdsm/storage/storageServer.py", line 179, in connect

    self._mount.mount(self.options, self._vfsType)

  File "/usr/share/vdsm/storage/mount.py", line 190, in mount

    return self._runcmd(cmd, timeout)

  File "/usr/share/vdsm/storage/mount.py", line 206, in _runcmd

    raise MountError(rc, ";".join((out, err)))

MountError: (32, ";mount: unknown filesystem type 'gluster'\n"

 

Running the command manually:

[root at noc-3-synt ~]# /usr/bin/sudo -n /bin/mount -t gluster
10.2.20.9:/gluster /tmp/test2/

mount: unknown filesystem type 'gluster'

 

but:

[root at noc-3-synt ~]# /usr/bin/sudo -n /bin/mount -t glusterfs
10.2.20.9:/gluster /tmp/test2/

 

[root at noc-3-synt ~]#

[root at noc-3-synt ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/vg_noc3m77-lv_root

                       50G  3.1G   44G   7% /

tmpfs                 7.8G   12K  7.8G   1% /dev/shm

/dev/sda1             485M   62M  398M  14% /boot

10.2.20.9:/gluster    482G  198M  457G   1% /tmp/test2

 

How can I change the -t option from the command mount?

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120616/5246b254/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.PNG
Type: image/png
Size: 39181 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120616/5246b254/attachment-0001.png>


More information about the Users mailing list