[Gluster-users] [Re: Gluster mount-point empty]

Frank Rothenstein f.rothenstein at bodden-kliniken.de
Thu Oct 16 08:51:44 UTC 2014


Hi,

my Gluster:

gluster vol info
 
Volume Name: glvol
Type: Distributed-Striped-Replicate
Volume ID: 55a180ba-8e5f-4586-aeea-39a8154f18c2
Status: Started
Number of Bricks: 2 x 2 x 2 = 8
Transport-type: tcp
Bricks:
Brick1: 139.64.203.94:/tank1/br1/br
Brick2: 139.64.203.95:/gfsexp/br
Brick3: 139.64.203.93:/gfsexp/br1/br
Brick4: 139.64.203.96:/gfsexp/br
Brick5: debiannode3:/gfsexp/br2/br
Brick6: 139.64.203.94:/tank2/br2/br
Brick7: debiannode3:/gfsexp/br3/br
Brick8: 139.64.203.94:/tank2/br3/br
Options Reconfigured:
storage.owner-gid: 9869
storage.owner-uid: 9869
server.allow-insecure: on
cluster.min-free-disk: 10%

The moint points I tried: /mnt/glvol  and /mnt/gluster
There are symlinks for Opennebula /var/lib/one
-> /mnt/gluster/opennebula

/etc/fstab:
139.64.203.93:/glvol /mnt/gluster glusterfs
defaults,_netdev,backupvolfile-server=139.64.203.94 0 0

mount:
139.64.203.93:/glvol on /mnt/gluster type fuse.glusterfs
(rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)

/var/lib/one# ls -al
insgesamt 19
drwxr-xr-x 1 oneadmin oneadmin  646 Okt 14 11:04 .
drwxr-xr-x 8 oneadmin oneadmin  118 Sep 12 14:00 ..
-rw------- 1 oneadmin oneadmin 7254 Okt 14 14:09 .bash_history
drwx------ 3 oneadmin oneadmin   17 Sep  5 07:14 .cache
-rw-r--r-- 1 oneadmin oneadmin 2727 Okt 14 14:09 config
drwxr-xr-x 3 oneadmin oneadmin   17 Aug 18 13:57 .config
drwxr-xr-x 1 oneadmin oneadmin   60 Aug 29 09:26 datastores
drwx------ 2 oneadmin oneadmin  129 Okt 14 11:04 .one
drwxr-xr-x 1 oneadmin oneadmin  256 Okt 14 11:21 remotes
drwxr-xr-x 3 oneadmin oneadmin   19 Sep  2 13:34 sources
drwx------ 1 oneadmin oneadmin  130 Okt 13 13:10 .ssh
drwxr-xr-x 2 oneadmin oneadmin    4 Okt 14 08:12 sunstone_vnc_tokens
drwxr-xr-x 1 oneadmin oneadmin    0 Sep  5 07:14 .uml
drwxr-xr-x 1 oneadmin oneadmin  196 Okt 14 07:26 vms

/mnt/gluster# ls -al
insgesamt 0

Actually I did not try it before, but I can cd into the directory (and
the others).

/mnt/gluster# cd opennebula

/mnt/gluster/opennebula# ls -al
insgesamt 19
drwxr-xr-x 1 oneadmin oneadmin  646 Okt 14 11:04 .
drwxr-xr-x 8 oneadmin oneadmin  118 Sep 12 14:00 ..
-rw------- 1 oneadmin oneadmin 7254 Okt 14 14:09 .bash_history
drwx------ 3 oneadmin oneadmin   17 Sep  5 07:14 .cache
-rw-r--r-- 1 oneadmin oneadmin 2727 Okt 14 14:09 config
drwxr-xr-x 3 oneadmin oneadmin   17 Aug 18 13:57 .config
drwxr-xr-x 1 oneadmin oneadmin   60 Aug 29 09:26 datastores
drwx------ 2 oneadmin oneadmin  129 Okt 14 11:04 .one
drwxr-xr-x 1 oneadmin oneadmin  256 Okt 14 11:21 remotes
drwxr-xr-x 3 oneadmin oneadmin   19 Sep  2 13:34 sources
drwx------ 1 oneadmin oneadmin  130 Okt 13 13:10 .ssh
drwxr-xr-x 2 oneadmin oneadmin    4 Okt 14 08:12 sunstone_vnc_tokens
drwxr-xr-x 1 oneadmin oneadmin    0 Sep  5 07:14 .uml
drwxr-xr-x 1 oneadmin oneadmin  196 Okt 14 07:26 vms

Strange...

On the other Opennebula node I have also mounted and symlinked the
directories. After a reboot its all the same like above...

Thanks, Frank

Am Mittwoch, den 15.10.2014, 23:42 +0200 schrieb Niels de Vos:
> On Wed, Oct 15, 2014 at 07:02:48AM +0200, Frank Rothenstein wrote:
> > Hi,
> > 
> > I am currently using Gluster with 8 bricks on 4 servers as Opennebula
> > storage on 4 machines. Two of them are also Gluster bricks. On all but
> > one everything is fine so far. The one that is also my
> > Opennebula/Sunstone-Server it mounts glusterfs without errors except the
> > directory is empty. The symlink to the directory/mountpoint is fine, all
> > files there.
> > I also tried another mountpoint, all the same. I rebootet the server
> > several times btw...
> > Any suggestions on this?
> 
> Hi Frank,
> 
> could you explain the paths you use for the bricks and mountpoints on
> the servers? Like a 'gluster volume info' and for each server that
> mounts the volume(s) the mountpoint.
> 
> With those details we should be able to understand more about your
> environment and hopefully get some ideas on what could go wrong.
> 
> Thanks,
> Niels
> 




 

______________________________________________________________________________
BODDEN-KLINIKEN Ribnitz-Damgarten GmbH
Sandhufe 2
18311 Ribnitz-Damgarten

Telefon: 03821-700-0
Fax:       03821-700-240

E-Mail: info at bodden-kliniken.de   Internet: http://www.bodden-kliniken.de

Sitz: Ribnitz-Damgarten, Amtsgericht: Stralsund, HRB 2919, Steuer-Nr.: 081/126/00028
Aufsichtsratsvorsitzende: Carmen Schröter, Geschäftsführer: Dr. Falko Milski

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorge- 
sehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, beachten Sie bitte, dass jede Form der Veröf- 
fentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sofort den 
Absender zu informieren und die E-Mail zu löschen. 


             Bodden-Kliniken Ribnitz-Damgarten GmbH 2014
*** Virenfrei durch Kerio Mail Server und Sophos Antivirus ***



More information about the Gluster-users mailing list