[Gluster-users] Problem with the permission in our file server

Raja coksupp2 at spectrum.net.in
Wed Mar 4 04:30:58 UTC 2009


Hi,

I am having problem with the permission in our file server,it seems 
to changed as 644 from 755
root at fs4-cok /# ls -l
drw-r--r--  29 apache apache  1032 Feb 20 01:50 storage/


root at fs4-cok /# ls -l
drwxr-xr-x  29 apache apache  1032 Feb 20 01:05 storage/

file system we used here is reiserfs
root at fs4-cok /storage# cat /etc/fstab
/dev/cciss/c0d1p1       /storage            reiserfs     defaults      1 2


mount point to the web server.
glusterfs             274G  236G   39G  87% /opt/home/storage
root at w3-cok /opt/home# ls -l
drwxr-xr-x  29 apache apache 1048 Mar  3 05:52 storage/

root at w3-cok /opt/home# cat /etc/fstab
/dev/cciss/c0d1p1       /opt                    jfs     defaults        1 2

Versions:
   glusterfs 1.3.6
   fuse-2.6.3-1.rf
Gluster Server Side Configuration

root at fs3-cok /storage# cat /etc/glusterfs/glusterfs-server.vol
## Define the stroage
volume fs3-storage
  type storage/posix                   # POSIX FS translator
  option directory /storage            # Export this directory
end-volume

volume iothreads                      #iothreads can give performance a boost
   type performance/io-threads
   option thread-count 16
   subvolumes fs3-storage
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 6996              # Default is 6996
  option client-volume-filename /var/log/glusterfs/client.vol
  subvolumes iothreads
  option auth.ip.iothreads.allow * # Allow access to "brick" volume
end-volume

Gluster Client Side Configuration

root at w3-cok /opt/home# cat /etc/glusterfs/glusterfs-client.vol

### Add client feature and attach to remote subvolume
volume client_214
  type protocol/client
  option transport-type tcp/client     # for TCP/IP transport
  option remote-host 10.10.0.214     # IP address of the remote brick
  option remote-port 6996              # default server port is 6996
  option remote-subvolume iothreads        # name of the remote volume
# option transport-timeout 4
end-volume

volume afrbricks
  type cluster/afr
  subvolumes    client_214
  option replicate *:1
  option self-heal on
end-volume

volume iothreads    #iothreads can give performance a boost
   type performance/io-threads
   option thread-count 8
   subvolumes afrbricks
end-volume

Regards,

Raja Krishnan,
Spectrum Softtech Solutions(P)Ltd,
Mahakavi G Road,
Cochin - 682011.
Phone : 0484-4082000
Fax: 91-484-4082408
Visit at : www.spectrum.net.in

DISCLAIMER
The information transmitted is intended exclusively for the person or 
entity to which it is addressed and may contain confidential and/or 
privileged material. Any review, re-transmission, dissemination or 
other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient 
is prohibited. If you are not the intended recipient or have received 
this mail in error, please notify the sender immediately and delete 
the material from your system.This mail is virus protected. However 
please virus scan before you open or detach documents from this 
transmission. We are not liable for any damages that may occur caused 
by any virus.Spectrum Softtech Solutions Pvt. Ltd. is neither liable 
for the proper and complete transmission of the information contained 
in this communication nor for any delay in its receipt.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090304/cfdd47cd/attachment.html>


More information about the Gluster-users mailing list