Fwd: Gerry Reno .vol files and scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Maybe this piece of information will benifit others too, in case you
are confused about using -n option during glusterfs mount.

---------- Forwarded message ----------
From: Krishna Srinivas <krishna@xxxxxxxxxxxxx>
Date: Jul 3, 2007 9:30 PM
Subject: Re: Gerry Reno .vol files and scripts
To: Gerry Reno <greno@xxxxxxxxxxx>

Gerry you are not getting it ....

See, -n option should not be used in normal cases, its used normally
during debugging, say when you want to override the topmost translator.

If you really want to use -n option, just give -n afr which is the name of
the afr volume in your spec. which is same as not using -n option.

Internally, when glusterfs process is started, it arranges the
xaltors like this:

                  ------>client0
fuse --->afr ---->client1
                  ----->client2
                  ------>client3

i.e fuse talks to afr, and afr talks to client0, client1, client2, client3

However if you give "-n client0", the arrangement will be like this:

fuse--------------->client0
              afr ---->client1
                  ----->client2
                  ------>client3

So fuse will directly talk to client0, so afr does not even come into
picture, so no files are replicated.

I dont know if the diagrams will reach you in a proper formatted way.

Come to IRC if it does not make sense.

Krishna




On 7/3/07, Gerry Reno < greno@xxxxxxxxxxx> wrote:
>> > Krishna Srinivas wrote:
>> >>>>>>>> Yes '-L DEBUG' is declared.
>> >>>>>>>> glusterfs -l /var/log/glusterfs.log -L DEBUG --spec-file
>> >>>>>>>> /usr/local/etc/glusterfs/test-client.vol -n client0
>> >>>>>>>> /mnt/glusterfs0/
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>> you should not give -n client0 here, it will override the afr
>> >>>>> translator.
>> >>>>> Hence you are not seeing any replication!
>> >>>>>
>> >>>>>


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux