Nevermind- the behavior is the same. I somehow overlooked the log file that you attached which has identical error messages :)

-Phil

On 10/21/2010 11:25 AM, Phil Carns wrote:
Oh, by the way, I tried my example with PVFS trunk rather than one of the official releases, which might explain why my failure behavior was a little different than yours. They probably both have the same root problem, though.

-Phil

On 10/21/2010 11:24 AM, Phil Carns wrote:
Hi Chris,

I believe that your configuration file is correct. A pvfs2-server config file can have two <Filesystem> sections, and the only things that need to be different between the two are the "ID" and the "Name". Everything else can be completely identical (there is no need to change the RootHandle or Ranges, though doing so as you have in your example won't hurt anything).

This will result in two subdirectories in your storage space (/pvfs2-storage-multi), one for each file system. Both will be serviced on the same port; you just select which to mount via:

mount -t pvfs2 tcp://wongburger:3334/fs1 /dir1
or
mount -t pvfs2 tcp://wongburger:3334/fs2 /dir2

Unfortunately, although you did everything right, it looks like there is a bug in PVFS. I tried on my laptop with the attached configuration and my server crashed as well. Mine generated some log messages which are also attached. I don't think anyone has tried this type of configuration in a while.

Until this is resolved, you always have the option of simply running two sets of servers on the same nodes, with completely separate config files. If you go that route, then you have to change not only the ID and Name, but also the port, storage space, and log file to keep them from conflicting.

-Phil



On 10/20/2010 02:38 PM, Chris Poultney wrote:
I'd like to set up two shares to be managed by the same PVFS server. I've read in the docs that I can have multiple filesystem entries in pvfs2-fs.conf, but I haven't been able to successfully do this. Does someone have an example config file with multiple filesystem entries that they can share?

More details:

I've successfully set up a single share based on the quick start guide. It's a four-node network: one metadata server, four i/o nodes. Nodes are identical, each 6x dual-core xeon, LAN connection, running ubuntu lucid. To generate the two-filesystem config file, I ran pvfs2-genconfig twice, then pasted the filesystem section from the second file into the first, making sure the Name and ID fields were unique. This was based on 3.9 in the PVFS2 FAQ, "Can I mount more than one PVFS file system on the same client?"

Using the two-filesystem config file, pvfs2-server -f works, but then pvfs2-server (with or without -d) ends immediately with a segfault. Nothing is written to the console or logfiles. I tried a different version of pvfs2-fs.conf with non-overlapping MetaHandleRange and DataHandleRange values for the two filesystems, but as I'm not exactly clear on what these do I'm not sure if that's the right approach. I've attached the conf file for a single-server test of two filesystems, with separate Range value.

Thanks,
-crispy


_______________________________________________
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