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