Hi again Mingliang,

No, this isn't a bother. Although you found a work-around I thought I'd give
you a little more information on the handle ranges.

Although they seem obtuse, they are just 64 bit numbers that assign a given
range of handles to a specific server. The ranges must be disjoint. With
pvfs2-genconfig it does the math for you, dividing up the handle ranges
between all the servers. However, you can assign those yourself if you want
to. Typically, I just divide 2^64 by the number of servers (counting both
meta and data) and increment the range for each server by that number.

Using pvfs2-genconfig is certainly easier but if you get into the case where
you want to use sed to modify the configuration know that the only
requirements when dealing with handle ranges are:
1) each server you want to perform a given role (data or meta) needs a range
assigned to it
2) the ranges must not overlap

Michael

2011/4/4 Mingliang Liu <[email protected]>

> Hi,
>
> I fixed it after I searched the keword "noninteractive" in the user
> maillist. The post following helped me a lot:
>
> http://www.beowulf-underground.org/pipermail/pvfs2-users/2010-July/003157.html
>
> Sorry if I bothered you.
>
> Regards.
>
> On Tue, Apr 5, 2011 at 1:21 AM, Mingliang Liu <[email protected]> wrote:
>
>> Hi all,
>>
>> I'm a freshman to PVFS and I would like to build it on the Amazon EC2
>> platform. One question bothers me for a while is that, I have to use the
>> pvfs2-genconfig interactive script to generate configure files for my
>> virtual machines. I think it would be better if I can modify a configure
>> template automatically with **sed** or something else, 'cause the IP
>> address and hostname change every time when I start the instance. I start
>> the machines and restart them frequently.
>>
>> Since the pvfs2-fs.conf is a plain txt file, I can understand most of the
>> lines by guessing. However, I found the MetaHandleRanges has something
>> wired, as following:
>> ----------------
>> Range ip-10-17-18-247 3-2305843009213693953
>> Range ip-10-17-20-3456 2305843009213693954-4611686018427387904
>> ---------------
>> I don't know how to generate the large numbers behind the hostname in each
>> line by hand, defining the range of my I/O servers.
>>
>> Any idea?
>>
>> Thank you!
>>
>> p.s. I'm using the PVFS-2.8.2 and the linux kernel version is 2.6.35.11.
>> But I don't think it matters to this question ;-)
>>
>> --
>> Mingliang Liu (刘明亮 in Chinese)
>>
>> PACMAN Group,  Dept. of Computer Science & Technology
>> Tsinghua University, Beijing 100084, China
>> Tel: +86-136 1126 4251 (Mobile)
>> Email: [email protected]
>>
>
>
>
> --
> Mingliang Liu (刘明亮 in Chinese)
>
> PACMAN Group,  Dept. of Computer Science & Technology
> Tsinghua University, Beijing 100084, China
> Tel: +86-136 1126 4251 (Mobile)
> Email: [email protected]
>
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to