[Gluster-users] xen Hotplug scripts not working

施有光 shiyouguang at ceopen.cn
Wed Sep 16 08:44:32 UTC 2009


Hi, evrybody.My glusterfs environments are afr+dht. I plan to create and strart xen imag file in glusterfs, i can create xen imag file(Virtual Machine) , but when i try to boot it, i found i can't do it and i met fail information notice, it's say "Device 51712 (vbd) could not be connected. Hotplug scripts not working" .

Anybody ever met this problem? please help me, thank you!

under are my glusterfs config file:

operate system: suse10 sp2(server and client)

Boot line: glusterfs -f /etc/glusterfs/glusterfs.vol.images --disable-direct-io-mode --volfile-check /var/lib/xen/images -l /gluster/log/images.log

Server:

volume posix2
  type storage/posix                   # POSIX FS translator
  option background-unlink yes 
  #option o-direct yes
  option directory /data/dht   # Export this directory
end-volume

volume lock2
  type features/posix-locks
  option mandatory-locks on          # enables mandatory locking on all files
  subvolumes posix2
end-volume

volume brick2
   type performance/io-threads
   option thread-count 256 
   subvolumes lock2
end-volume

volume server
  type protocol/server
  option transport-type tcp
  option transport.socket.bind-address 10.2.20.5     # Default is to listen on all interfaces
  option transport.socket.listen-port 7003 
  subvolumes brick2
  option auth.addr.brick2.allow * # Allow access to "brick" volume
end-volume


Client:

volume client1
  type protocol/client
  option transport-type tcp
  option remote-host 10.2.20.4        # IP address of the remote brick3
  option remote-port 7003
  #option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick2       # name of the remote volume
end-volume

volume client2
  type protocol/client
  option transport-type tcp
  option remote-host 10.2.20.5         # IP address of the remote brick3
  option remote-port 7003
  #option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick2       # name of the remote volume
end-volume

volume client3
  type protocol/client
  option transport-type tcp
  option remote-host 10.2.20.6      # IP address of the remote brick3
  option remote-port 7003
  #option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick2       # name of the remote volume
end-volume

volume client4
  type protocol/client
  option transport-type tcp
  option remote-host 10.2.20.7       # IP address of the remote brick3
  option remote-port 7003
  #option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick2      # name of the remote volume
end-volume

volume afr1
  type cluster/afr
  subvolumes client1 client2
end-volume

volume afr2
  type cluster/afr
  subvolumes client3 client4
end-volume

volume dht
  type cluster/dht
  option min-free-disk 10%  
  subvolumes afr1 afr2 
end-volume

### Add writeback feature
volume writeback
  type performance/write-behind
  option flush-behind on
  option cache-size 64MB
  subvolumes dht   
end-volume 




More information about the Gluster-users mailing list