[Users] Ovirt 3.3.2 Cannot attach POSIX (gluster) storage domain

Steve Dainard sdainard at miovision.com
Sun Feb 9 15:39:14 UTC 2014


vdsm can write to it:

[root at ovirt001 rep2-mount]# sudo -u vdsm dd if=/dev/zero of=__test__ bs=1M
count=1 oflag=direct
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.12691 s, 8.3 MB/s

[root at ovirt001 rep2-mount]# pwd
/mnt/storage/rep2-mount

[root at ovirt001 rep2-mount]# mount
/dev/md125p2 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/md125p1 on /boot type ext4 (rw)
/dev/mapper/gluster-storage--domain on /mnt/storage/lv-storage-domain type
xfs (rw)
/dev/mapper/gluster-iso--domain on /mnt/storage/lv-iso-domain type xfs (rw)
/dev/mapper/gluster-vm--domain on /mnt/storage/lv-vm-domain type xfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
10.0.10.2:/iso-store on /mnt/storage/iso-mount type fuse.glusterfs
(rw,default_permissions,allow_other,max_read=131072)
10.0.10.2:/rep2 on /mnt/storage/rep2-mount type fuse.glusterfs
(rw,default_permissions,allow_other,max_read=131072)

[root at ovirt001 rep2-mount]# gluster volume info rep2
Volume Name: rep2
Type: Replicate
Volume ID: b89a21bb-5ad1-493f-b197-8f990ab3ba77
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: 10.0.10.2:/mnt/storage/lv-vm-domain/rep2
Brick2: 10.0.10.3:/mnt/storage/lv-vm-domain/rep2
Options Reconfigured:
storage.owner-gid: 36
storage.owner-uid: 36
server.allow-insecure: on
cluster.quorum-type: auto

Thanks,

*Steve Dainard *
IT Infrastructure Manager
Miovision <http://miovision.com/> | *Rethink Traffic*
519-513-2407 ex.250
877-646-8476 (toll-free)

*Blog <http://miovision.com/blog>  |  **LinkedIn
<https://www.linkedin.com/company/miovision-technologies>  |  Twitter
<https://twitter.com/miovision>  |  Facebook
<https://www.facebook.com/miovision>*
------------------------------
 Miovision Technologies Inc. | 148 Manitou Drive, Suite 101, Kitchener, ON,
Canada | N2C 1L3
This e-mail may contain information that is privileged or confidential. If
you are not the intended recipient, please delete the e-mail and any
attachments and notify us immediately.


On Sun, Feb 9, 2014 at 1:30 AM, Nir Soffer <nsoffer at redhat.com> wrote:

> ----- Original Message -----
> > From: "Steve Dainard" <sdainard at miovision.com>
> > To: "Nir Soffer" <nsoffer at redhat.com>
> > Cc: "users" <users at ovirt.org>
> > Sent: Sunday, February 9, 2014 3:51:03 AM
> > Subject: Re: [Users] Ovirt 3.3.2 Cannot attach POSIX (gluster) storage
> domain
> >
> > Hi Nir,
> >
> > [root at ovirt001 storage]# mount -t glusterfs 10.0.10.2:/rep2 rep2-mount/
> > [root at ovirt001 storage]# ls -lh rep2-mount/
> > total 0
> > -rwxr-xr-x. 1 vdsm kvm  0 Feb  5 10:36 __DIRECT_IO_TEST__
> > drwxr-xr-x. 4 vdsm kvm 32 Feb  5 10:36
> ff0e0521-a8fa-4c10-8372-7b67ac3fca31
> > [root at ovirt001 storage]# ls -lh
> > total 0
> > drwxr-xr-x. 4 vdsm kvm  91 Jan 30 17:34 iso-mount
> > drwxr-xr-x. 3 root root 23 Jan 30 17:31 lv-iso-domain
> > drwxr-xr-x. 3 vdsm kvm  35 Jan 29 17:43 lv-storage-domain
> > drwxr-xr-x. 3 vdsm kvm  17 Feb  4 15:43 lv-vm-domain
> > drwxr-xr-x. 4 vdsm kvm  91 Feb  5 10:36 rep2-mount
>
> Looks good.
>
> Can you write into rep2-mount?
>
> Please try:
>
> sudo -u vdsm dd if=/dev/zero of=rep2-mount/__test__ bs=1M count=1
> oflag=direct
> rm rep2-mount/__test__
>
> Thanks,
> Nir
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140209/9b594bdd/attachment-0001.html>


More information about the Users mailing list