Hi All,<br><br>Finally managed to get it to work ... all I did was delete the storage directory ("/pvfs2-storage-space") that the server had originally created, and then reran the server with the -f option, and then started the server again. And it worked! :-)<br>
<br>Then when I ran the ping from the client and the other steps mentioned in "Chapter 3.4 Testing your installation", everything worked like a charm. So not sure why I had the previous problem, but it at least works now.<br>
<br>Thanks again to everyone with their help !!<br><br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 12:09 PM, FileSystem Novice <span dir="ltr"><<a href="mailto:filesysuser@gmail.com">filesysuser@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am running the clone machines using Ubuntu 8.10 VMs running on Sun VirtualBox (my host machine has Windows XP OS). When I run "uname -a" to get the information, <br>
for "Clone1" it says :<br> Linux clone1 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux<br>
<br>and for "Clone2" it says :<br> Linux clone2 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux<br>
<br>FYI, my machine is a 64-bit machine (and so is the XP OS (64 bit) and the Ubuntu version installed). Thanks!<div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 11:58 AM, Kyle Schochenmaier <span dir="ltr"><<a href="mailto:kschoche@gmail.com" target="_blank">kschoche@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is very strange, can you please describe your systems in more detail?<br>
Kernel version, distribution, etc.?<br>
<br>
And has anyone else out here done pvfs2 on VM's?<br>
<br>
~Kyle<br>
Kyle Schochenmaier<br>
<br>
<br>
<br>
On Mon, Jan 19, 2009 at 10:56 AM, FileSystem Novice<br>
<div><div></div><div><<a href="mailto:filesysuser@gmail.com" target="_blank">filesysuser@gmail.com</a>> wrote:<br>
> I tried changing both the pvfs2-fs.conf on the server (on clone1) and<br>
> pvfs2tab (on clone2) to both use port 3344, but still get the same error as<br>
> before for the server not being able to startup :<br>
><br>
> [D 01/19 11:47] PVFS2 Server version 2.7.1 starting.<br>
> [E 01/19 11:47] Error initializing filesystem pvfs2-fs<br>
> [E 01/19 11:47] Error: Could not initialize server interfaces; aborting.<br>
> [E 01/19 11:47] Error: Could not initialize server; aborting.<br>
> [E 01/19 11:47] dbpf_finalize: Invalid argument<br>
><br>
> Regarding the connection between the 2 virtual machines (clone1 & clone2), I<br>
> can do "ping clone2" from clone1 and vice versa with no problem. Not sure<br>
> where to look next.<br>
><br>
> On Mon, Jan 19, 2009 at 11:41 AM, Kyle Schochenmaier <<a href="mailto:kschoche@gmail.com" target="_blank">kschoche@gmail.com</a>><br>
> wrote:<br>
>><br>
>> FSN -<br>
>> Looks like your config file is in order.<br>
>> According to your log file however, it seems something is wrong on<br>
>> your server, a config problem with tcp or your port is being used<br>
>> already, maybe you dont have a proper ethernet connection running?<br>
>> Can you try changing the tcp port in your config to something else,<br>
>> 3344 or something?<br>
>> It needs to be changed in the Alias section of the pvfs2.conf file,<br>
>> and then again pvfs2tab<br>
>><br>
>> See if that works, if not at least we've narrowed it down.<br>
>><br>
>> ~Kyle<br>
>><br>
>><br>
>> Kyle Schochenmaier<br>
>><br>
>><br>
>><br>
>> On Mon, Jan 19, 2009 at 10:26 AM, FileSystem Novice<br>
>> <<a href="mailto:filesysuser@gmail.com" target="_blank">filesysuser@gmail.com</a>> wrote:<br>
>> > Rob, here is the config file of the server (pvfs2-fs.conf) :<br>
>> ><br>
>> > <Defaults><br>
>> > UnexpectedRequests 50<br>
>> > EventLogging none<br>
>> > LogStamp datetime<br>
>> > BMIModules bmi_tcp<br>
>> > FlowModules flowproto_multiqueue<br>
>> > PerfUpdateInterval 1000<br>
>> > ServerJobBMITimeoutSecs 30<br>
>> > ServerJobFlowTimeoutSecs 30<br>
>> > ClientJobBMITimeoutSecs 300<br>
>> > ClientJobFlowTimeoutSecs 300<br>
>> > ClientRetryLimit 5<br>
>> > ClientRetryDelayMilliSecs 2000<br>
>> ><br>
>> > StorageSpace /pvfs2-storage-space<br>
>> > LogFile /tmp/pvfs2-server.log<br>
>> > </Defaults><br>
>> ><br>
>> > <Aliases><br>
>> > Alias clone1 tcp://clone1:3334<br>
>> > </Aliases><br>
>> ><br>
>> > <Filesystem><br>
>> > Name pvfs2-fs<br>
>> > ID 1774738514<br>
>> > RootHandle 1048576<br>
>> > <MetaHandleRanges><br>
>> > Range clone1 3-4611686018427387904<br>
>> > </MetaHandleRanges><br>
>> > <DataHandleRanges><br>
>> > Range clone1 4611686018427387905-9223372036854775806<br>
>> > </DataHandleRanges><br>
>> > <StorageHints><br>
>> > TroveSyncMeta yes<br>
>> > TroveSyncData no<br>
>> > </StorageHints><br>
>> > </Filesystem><br>
>> ><br>
>> > And on the client, the pvf2stab file has the following :<br>
>> ><br>
>> > tcp://clone1:3334/pvfs2-fs /mnt/pvfs2 pvfs2 defaults,noauto 0 0<br>
>> ><br>
>> > Thanks!<br>
>> ><br>
>> ><br>
>> > On Mon, Jan 19, 2009 at 10:34 AM, Rob Ross <<a href="mailto:rross@mcs.anl.gov" target="_blank">rross@mcs.anl.gov</a>> wrote:<br>
>> >><br>
>> >> Maybe you could send the list your config file? Looks like there might<br>
>> >> be<br>
>> >> one more bad parameter in there. -- Rob<br>
>> >><br>
>> >> On Jan 19, 2009, at 9:25 AM, FileSystem Novice wrote:<br>
>> >><br>
>> >>> Thanks for your feedback, Kyle & Phil.<br>
>> >>> Actually I had edited the pvfs2-ping last Friday to find Clone1 at<br>
>> >>> tcp://clone1:3334<br>
>> >>><br>
>> >>> But it still seems like there is a problem with pvfs server starting<br>
>> >>> up<br>
>> >>> ... after I start up the server on Clone1 and enter 'ps -ax | grep<br>
>> >>> pvfs',<br>
>> >>> there is no server processing running.<br>
>> >>><br>
>> >>> Looking at the log file, it has the following entry :<br>
>> >>><br>
>> >>> [D 1/19 10:15] PVFS2 Server version 2.7.1 starting.<br>
>> >>> [D 1/19 10:15] Error initializing filesystem pvfs-fs<br>
>> >>> [D 1/19 10:15] Error: Could not initialize server interfaces; aborting<br>
>> >>> [D 1/19 10:15] Error: Could not initialize server; aborting<br>
>> >>> [D 1/19 10:15] dbpf_finalize: Invalid argument<br>
>> >>><br>
>> >>><br>
>> >>> On Sun, Jan 18, 2009 at 7:30 PM, Phil Carns <<a href="mailto:carns@mcs.anl.gov" target="_blank">carns@mcs.anl.gov</a>> wrote:<br>
>> >>> Also it looks like from your pvfs2-ping output that it is trying to<br>
>> >>> find<br>
>> >>> the server at "tcp://clone2.3334". From your description I think the<br>
>> >>> server<br>
>> >>> is running on clone1, though. You might want to check your pvfs2tab<br>
>> >>> file<br>
>> >>> and make sure it has "tcp://clone1:3334" in it (note the change from<br>
>> >>> '.' to<br>
>> >>> ':' as well).<br>
>> >>><br>
>> >>> That tabfile entry needs to point to a server on the file system.<br>
>> >>> Most<br>
>> >>> people use the first server (if there is more than one) but any server<br>
>> >>> will<br>
>> >>> do.<br>
>> >>><br>
>> >>> If the tab file entry is correct, then check your server configuration<br>
>> >>> file instead and make sure that it only has clone1:3334 in it as well.<br>
>> >>><br>
>> >>> -Phil<br>
>> >>><br>
>> >>><br>
>> >>> Kyle Schochenmaier wrote:<br>
>> >>> This usually is resultant of a server process not starting properly<br>
>> >>> and exiting immediately<br>
>> >>><br>
>> >>> Please check to see your server processes are indeed still running:<br>
>> >>> `ps ax | grep pvfs`<br>
>> >>><br>
>> >>> and then check /tmp/pvfs2-server.log for further details.<br>
>> >>><br>
>> >>> Good luck!<br>
>> >>><br>
>> >>><br>
>> >>> Kyle Schochenmaier<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> On Fri, Jan 16, 2009 at 4:42 PM, FileSystem Novice<br>
>> >>> <<a href="mailto:filesysuser@gmail.com" target="_blank">filesysuser@gmail.com</a>> wrote:<br>
>> >>> Hi,<br>
>> >>><br>
>> >>> I am new to PVFS [and linux/networking :-) ] ... I could compile the<br>
>> >>> code<br>
>> >>> for PVFS2 and set it up as per the first few steps in the document (A<br>
>> >>> Quick<br>
>> >>> Start Guide to PVFS2).<br>
>> >>><br>
>> >>> As an FYI, I set up the PVFS2 server on a hostname called ''clone1"<br>
>> >>> (which<br>
>> >>> is a Ubuntu VM running on my local box) using instructions mentioned<br>
>> >>> in<br>
>> >>> Chapter 3.1 and 3.2 and started it.<br>
>> >>><br>
>> >>> However once I do the Client Configuration on a different hostname<br>
>> >>> called<br>
>> >>> "clone2" (which is also a different Ubuntu VM running on my local box)<br>
>> >>> as<br>
>> >>> per Chapter 3.3 and try to Test the Installation as per Chapter 3.4, I<br>
>> >>> get<br>
>> >>> the following error while running the following command on "clone2" :<br>
>> >>><br>
>> >>> # ./pvfs2-ping -m /mnt/pvfs2<br>
>> >>><br>
>> >>> .......<br>
>> >>> .......<br>
>> >>> (3) Initializing each file system found in tab file: /etc/pvfs2tab ...<br>
>> >>><br>
>> >>> PVFS2 Servers: tcp://clone2.3334<br>
>> >>> Storage name: pvfs2-fs<br>
>> >>> Local mount point: /mnt/pvfs2<br>
>> >>> [E 16:33:31.269173] msgpair failed, will retry: Connection refused<br>
>> >>> ...............................................................<br>
>> >>> ...............................................................<br>
>> >>> [E 16:33:31.291384] msgpair failed, will retry: Connection refused<br>
>> >>> [E 16:33:31.291811] *** msgpairarray_completion_fn: msgpair to server<br>
>> >>> [UNKNOWN] failed: Connection refused<br>
>> >>> [E 16:33:41.292067] *** Out of retries.<br>
>> >>><br>
>> >>> /mnt/pvfs2: FAILURE!<br>
>> >>><br>
>> >>> Failure: could not initialize at least one of the target file systems.<br>
>> >>><br>
>> >>> (4) Searching for /mnt/pvfs2 in pvfstab ...<br>
>> >>> [E 16:33:41:294024] Error: /mnt/pvfs2/ resides on a PVFS2 file system<br>
>> >>> that<br>
>> >>> has not yet been initialized.<br>
>> >>> Failure: could not find filesystem for /mnt/pvfs2 in pvfs2tab<br>
>> >>> /etc/pvfs2tab<br>
>> >>> Entry 0: /mnt/pvfs2<br>
>> >>><br>
>> >>><br>
>> >>> Is there something trivial that I am doing wrong ?<br>
>> >>> Thanks for your help!<br>
>> >>> PVFS Novice<br>
>> >>><br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Pvfs2-users mailing list<br>
>> >>> <a href="mailto:Pvfs2-users@beowulf-underground.org" target="_blank">Pvfs2-users@beowulf-underground.org</a><br>
>> >>> <a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users" target="_blank">http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users</a><br>
>> >>><br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Pvfs2-users mailing list<br>
>> >>> <a href="mailto:Pvfs2-users@beowulf-underground.org" target="_blank">Pvfs2-users@beowulf-underground.org</a><br>
>> >>> <a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users" target="_blank">http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users</a><br>
>> >>><br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Pvfs2-users mailing list<br>
>> >>> <a href="mailto:Pvfs2-users@beowulf-underground.org" target="_blank">Pvfs2-users@beowulf-underground.org</a><br>
>> >>> <a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users" target="_blank">http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users</a><br>
>> >><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Pvfs2-users mailing list<br>
>> > <a href="mailto:Pvfs2-users@beowulf-underground.org" target="_blank">Pvfs2-users@beowulf-underground.org</a><br>
>> > <a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users" target="_blank">http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>