Miloska wrote:
> Kosznom a valaszt!
> 
> 
>> Idemasolnad a .vol-t, amit csinalt a script?
> 
> /etc/glusterfs/glusterfs.vol :
> 
> ## file auto generated by /usr/bin/glusterfs-volgen (mount.vol)
> # Cmd line:
> # $ /usr/bin/glusterfs-volgen --name store1 --raid 1
> XXX.YYY.11.8:/home/export XXX.YYY.11.9:/home/export
> 
> # RAID 1
> # TRANSPORT-TYPE tcp
> volume XXX.YYY.11.9-1
>     type protocol/client
>     option transport-type tcp
>     option remote-host XXX.YYY.11.9
>     option transport.socket.nodelay on
>     option transport.remote-port 6996
>     option remote-subvolume brick1
> end-volume
> 
> volume XXX.YYY.11.8-1
>     type protocol/client
>     option transport-type tcp
>     option remote-host XXX.YYY.11.8
>     option transport.socket.nodelay on
>     option transport.remote-port 6996
>     option remote-subvolume brick1
> end-volume
> 
> volume mirror-0
>     type cluster/replicate
>     subvolumes XXX.YYY.11.8-1 XXX.YYY.11.9-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
> 

Az volume writebehind es minden, ami utana van,azt kommentezd ki a 
szivas idejere, ennyivel kevesebb lehetoseg a bugra (plane, hogy valami 
cache vergodes szaga van a dolognak.

Hogyan is nez ki a topologia? Kik a szerverek es kik a kliensek, nem 
egyertelmu nekem.

> 
> /etc/glusterfs/glusterfsd.vol :
> 
> ## file auto generated by /usr/bin/glusterfs-volgen (export.vol)
> # Cmd line:
> # $ /usr/bin/glusterfs-volgen --name store1 --raid 1
> XXX.YYY.11.8:/home/export XXX.YYY.11.9:/home/export
> 
> volume posix1
>   type storage/posix
>   option directory /home/export
> end-volume
> 
> volume locks1
>     type features/locks
>     subvolumes posix1
> end-volume
> 
> volume brick1
>     type performance/io-threads
>     option thread-count 8
>     subvolumes locks1
> end-volume
> 
> volume server-tcp
>     type protocol/server
>     option transport-type tcp
>     option auth.addr.brick1.allow *
>     option transport.socket.listen-port 6996
>     option transport.socket.nodelay on
>     subvolumes brick1
> end-volume
> 

Ez nagyjabol jo, ahogy van, mondjuk a brick1.allow * helyett irnek 
valami xxx.yyy/16-ot, vagy meg szukebbet, hogy csak az illetekesek 
piszkaljak, bar tesztnel mindegy, de auth hianyaban nem jo az ilyesmit 
megszokni.

> 
>> Ez nekem sem remlik. Milyen fs van alatta?
>>
> 
> Ext3, gyakorlatilag alap CentOS telepites, LVM nelkul.
> 

Fogalmam sincs, mi van a centosban :)

>> Bug? Az ls -lR-nek kellene kivaltania a szinkronizaciot.
>>
>>
> 
> Ugy tunik ez a parancs ami valoban kivaltja, valahol valami cache-ben
> maradt gondolom en, minden esetre erdekes.

Ezert kerdeztem a filesystemet...Probald meg ext2-kent mountolni.

-- 
Gabor HALASZ <halas...@freemail.hu>
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz