[Gluster-users] Glusterfs Homes and mmap 'Bus Error' starting OpenOffice.org

Benjamin Long Benjamin.Long at longbros.com
Mon Dec 14 14:22:48 UTC 2009


The subject says it all. I upgraded from 2.0.8 to 3.0.0 and now when I try to 
start OpenOffice.org I get a 'bus error'. My home directory is mounted as such:

fstab:
/etc/glusterfs/homes-tcp.vol /home glusterfs defaults,direct-io-
mode=disable,auto,_netdev 0 0

'mount' reports this as mounted:
/etc/glusterfs/homes-tcp.vol on /home type fuse.glusterfs 
(rw,allow_other,default_permissions,max_read=131072)


$ cat /etc/glusterfs/homes-tcp.vol                                                                        
## file auto generated by /usr/bin/glusterfs-volgen (mount.vol)                                                                   
# Cmd line:                                                                                                                       
# $ /usr/bin/glusterfs-volgen --name homes --raid 1 10.10.2.3:/mnt/home/home 
10.10.2.4:/mnt/home/home                             

# RAID 1
# TRANSPORT-TYPE tcp
volume 10.10.2.4-1  
    type protocol/client
    option transport-type tcp
    option remote-host 10.10.2.4
    option transport.socket.nodelay on
    option transport.remote-port 6997 
    option remote-subvolume home-ds-locks-io-filter
end-volume                                         

volume 10.10.2.3-1
    type protocol/client
    option transport-type tcp
    option remote-host 10.10.2.3
    option transport.socket.nodelay on
    option transport.remote-port 6997
    option remote-subvolume home-ds-locks-io-filter
end-volume

volume mirror-0
    type cluster/replicate
    subvolumes 10.10.2.3-1 10.10.2.4-1
end-volume

volume writebehind
    type performance/write-behind
    option cache-size 4MB
    subvolumes mirror-0
end-volume

volume readahead
    type performance/read-ahead
    option page-count 4
    subvolumes writebehind
end-volume

volume iocache
    type performance/io-cache
    option cache-size 1GB
    option cache-timeout 1
    subvolumes readahead
end-volume

volume quickread
    type performance/quick-read
    option cache-timeout 1
    option max-file-size 64kB
    subvolumes iocache
end-volume

volume statprefetch
    type performance/stat-prefetch
    subvolumes quickread
end-volume

# cat /etc/glusterfs/glusterfsd.vol                                                   
# HOME DATASTORE ====================================================                                                                   
volume home-ds                                                                                                                          
  type storage/posix                   # POSIX FS translator                                                                            
  option directory /mnt/home/home        # Export this directory                                                                        
end-volume                                                                                                                              

volume home-ds-locks
  type features/locks
  subvolumes home-ds 
end-volume           

volume home-ds-locks-io
  type performance/io-threads
  option thread-count 8      
  subvolumes home-ds-locks   
end-volume                   

volume home-ds-locks-io-filter
  type testing/features/filter
#  option root-squashing enable
  subvolumes home-ds-locks-io
end-volume

# END HOME DATASTORE ================================================


# OFFICE DATASTORE ==================================================
volume office-ds
  type storage/posix
  option directory /mnt/home/Office_Share
end-volume

volume office-ds-locks
  type features/locks
  subvolumes office-ds
end-volume

volume office-ds-locks-io
  type performance/io-threads
  option thread-count 8
  subvolumes office-ds-locks
end-volume

volume office-ds-locks-io-filter
  type testing/features/filter
 # option root-squashing enable
  option fixed-gid 1500
  subvolumes office-ds-locks-io
end-volume

# END OFFICE DATASTORE ==============================================




volume server
  type protocol/server
  option transport-type tcp
  option auth.addr.home-ds-locks-io-filter.allow 10.10.*,127.* # Allow access 
to volume
  option auth.addr.office-ds-locks-io-filter.allow 10.10.*,127.* # Allow access 
to volume
  option transport.socket.listen-port 6997
  option transport.socket.nodelay on
  subvolumes home-ds-locks-io-filter office-ds-locks-io-filter
end-volume


-- 
Benjamin Long



More information about the Gluster-users mailing list