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


/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 nekem sem remlik. Milyen fs van alatta?
>

Ext3, gyakorlatilag alap CentOS telepites, LVM nelkul.

>
> 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.

find /mnt -type f -exec ls -la {} > /dev/null \;
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz