[Gluster-users] 2.0.0rc7 can not remove symbol-links

Kirby Zhou kirbyzhou at sohu-rd.com
Thu Mar 26 10:17:40 UTC 2009


2.0.0rc7 can not remove symbol-links

[root at xen-727057 ~]# mount.glusterfs ~/x.vol /mnt/
[root at xen-727057 ~]# ll /mnt/
log/      rpmbuild/ wxp/      XXX/      
[root at xen-727057 ~]# ll /mnt/XXX/
total 0
lrwxrwxrwx 1 root root 1 Mar 26 18:13 X -> y
[root at xen-727057 ~]# rm /mnt/XXX/X 
rm: remove symbolic link `/mnt/XXX/X'? y
rm: cannot remove `/mnt/XXX/X': No such file or directory


With a simple volume:

#server
volume brick1-posix
  type storage/posix                   # POSIX FS translator
  option directory /exports/disk1      # Export this directory
end-volume
volume brick1-locks
  type features/locks
  subvolumes brick1-posix
end-volume
volume brick1
  type performance/io-threads
  subvolumes brick1-locks
  option thread-count 16
  option cache-size 256m
end-volume

### Add network serving capability to above brick.
volume server
  type protocol/server
  option transport-type tcp/server     # For TCP/IP transport
  option listen-port 6986              # Default is 6996
  option client-volume-filename /etc/glusterfs/glusterfs.vol
  subvolumes brick1
  option auth.ip.brick1.allow 10.10.*,10.11.*,10.15.*,192.168.*
end-volume

#client
volume 10.10.123.17-brick1
  type protocol/client
  option transport-type tcp/client
  option remote-host 10.10.123.17
  option remote-port 6986
  option transport-timeout 5
  option remote-subvolume brick1
end-volume

FYI







More information about the Gluster-users mailing list