<html>
<body>
<br>
Hi,<br><br>
I am having problem with the permission in our file server,it seems to
changed as 644 from 755<br>
root@fs4-cok /# ls -l<br>
drw-r--r--&nbsp; 29 apache apache&nbsp; 1032 Feb 20 01:50
storage/<br><br>
<br>
root@fs4-cok /# ls -l<br>
drwxr-xr-x&nbsp; 29 apache apache&nbsp; 1032 Feb 20 01:05
storage/<br><br>
<b>file system we used here is reiserfs<br>
</b>root@fs4-cok /storage# cat /etc/fstab<br>
/dev/cciss/c0d1p1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/storage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
reiserfs&nbsp;&nbsp;&nbsp;&nbsp; defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1
2 <br><br>
<br>
<b>mount point to the web server.<br>
</b>
glusterfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
274G&nbsp; 236G&nbsp;&nbsp; 39G&nbsp; 87% /opt/home/storage<br>
root@w3-cok /opt/home# ls -l<br>
drwxr-xr-x&nbsp; 29 apache apache 1048 Mar&nbsp; 3 05:52
storage/<br><br>
root@w3-cok /opt/home# cat /etc/fstab<br>
/dev/cciss/c0d1p1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/opt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
jfs&nbsp;&nbsp;&nbsp;&nbsp;
defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 2<br><br>
Versions:<br>
</b>
<dl>
<dd>&nbsp; glusterfs 1.3.6 <br>

<dd>&nbsp; fuse-2.6.3-1.rf<br>

</dl><b>Gluster Server Side Configuration<br><br>
</b>root@fs3-cok /storage# cat /etc/glusterfs/glusterfs-server.vol<br>
## Define the stroage<br>
volume fs3-storage<br>
&nbsp;type
storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# POSIX FS translator<br>
&nbsp;option directory
/storage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Export this directory<br>
end-volume<br><br>
volume
iothreads&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#iothreads can give performance a boost<br>
&nbsp; type performance/io-threads<br>
&nbsp; option thread-count 16<br>
&nbsp; subvolumes fs3-storage<br>
end-volume<br><br>
## Add network serving capability to above brick.<br>
volume server<br>
&nbsp;type protocol/server<br>
&nbsp;option transport-type tcp/server&nbsp;&nbsp;&nbsp;&nbsp; # For
TCP/IP transport<br>
&nbsp;option listen-port
6996&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Default is 6996<br>
&nbsp;option client-volume-filename /var/log/glusterfs/client.vol<br>
&nbsp;subvolumes iothreads<br>
&nbsp;option auth.ip.iothreads.allow * # Allow access to
&quot;brick&quot; volume<br>
end-volume<br><br>
<b>Gluster Client Side Configuration<br><br>
</b>root@w3-cok /opt/home# cat
/etc/glusterfs/glusterfs-client.vol<br><br>
### Add client feature and attach to remote subvolume<br>
volume client_214<br>
&nbsp;type protocol/client<br>
&nbsp;option transport-type tcp/client&nbsp;&nbsp;&nbsp;&nbsp; # for
TCP/IP transport<br>
&nbsp;option remote-host 10.10.0.214&nbsp;&nbsp;&nbsp;&nbsp; # IP address
of the remote brick<br>
&nbsp;option remote-port
6996&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# default server port is 6996<br>
&nbsp;option remote-subvolume
iothreads&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # name of the remote
volume<br>
# option transport-timeout 4<br>
end-volume<br><br>
volume afrbricks<br>
&nbsp;type cluster/afr<br>
&nbsp;subvolumes&nbsp;&nbsp;&nbsp; client_214<br>
&nbsp;option replicate *:1<br>
&nbsp;option self-heal on<br>
end-volume<br><br>
volume iothreads&nbsp;&nbsp;&nbsp; #iothreads can give performance a
boost<br>
&nbsp; type performance/io-threads<br>
&nbsp; option thread-count 8<br>
&nbsp; subvolumes afrbricks<br>
end-volume<br><br>
Regards,<br>
<x-sigsep><p></x-sigsep>
<font face="Times New Roman, Times" color="#808080"><b><i>Raja
Krishnan,<br>
Spectrum Softtech Solutions(P)Ltd,<br>
Mahakavi G Road,<br>
Cochin - 682011.<br>
Phone : 0484-4082000<br>
Fax: 91-484-4082408<br>
</i>Visit at</font><font face="Times New Roman, Times" color="#0000FF"> :
</font><a href="http://www.spectrum.net.in/" eudora="autourl">
<font face="Times New Roman, Times">www.spectrum.net.in<br><br>
</a></b></font><font face="Times New Roman, Times" size=2>DISCLAIMER<br>
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. </font></body>
</html>