mar-file-system / marfs

MarFS provides a scalable near-POSIX file system by using one or more POSIX file systems as a scalable metadata component and one or more data stores (object, file, etc) as a scalable data component.
Other
96 stars 27 forks source link

Figure out if it's possible to run OrangeFS strictly in user space #107

Closed brettkettering closed 8 years ago

brettkettering commented 8 years ago

We need to be able to run OrangeFS servers and clients on HPC system compute nodes without needing to be root or needing to have files in root-owned space be edited. That is, we cannot rely on having to edit or place files in /etc, /lib, /bin, /sbin, /opt, etc.

Talk to David Bonnie (formerly worked on OrangeFS) or Boyd Wilson. Find out if it's possible to run the client and server without ever needing root intervention.

boydwilson commented 8 years ago

The only item that needs root is the Kernel Module (and mounting with it). You can use MPI, userint, API all in user space. The conf file can be referenced on the command line, if you have the needed libs in the LD_LIBRARY_PATH and you could have the log files go anywhere including /tmp. If you need help configuring that just shoot an email to the pvfs users list with the details of what you are trying to do (what files where) and we can help.

brettkettering commented 8 years ago

Boyd:

Thanks for responding. Something seems to be wrong with the PVFS2 Users List right now.

If the only thing that requires root is loading the Kernel module and mounting a file system, can we use OrangeFS without loading the kernel module and mounting a file system? I see on the OrangeFS page here, https://www.orangefs.org/documentation/releases/current/doc/pvfs2-guide/pvfs2-guide.php, that what you say is true. What I can't find is if it is necessary to load the Kernel module and mount a file system.

For example, PLFS did not require any root privileges or mounts to use it through the user space API.

We need to run completely in user space and we cannot even ask the Admins to load the module and mount a file system for us.

We want to use OrangeFS as a metadata file system for MarFS and we need that use to be completely through some API that does not require root to do anything.

Thanks, Brett

thewacokid commented 8 years ago

http://www.orangefs.org/documentation/releases/current/doc/pvfs2-quickstart/pvfs2-quickstart.php#SECTION00043000000000000000

You only need the kernel module for accessing the OrangeFS filesystem via existing POSIX-y tools. Unless something has changed, you should be able to configure your environment to allow use of the MPI-IO / native API access without any local "mountpoint", just a reference in the pvfs2tab file.

hbchen commented 8 years ago

?David,

I tried.

It works now.

Thanks.

HB


From: David Bonnie notifications@github.com Sent: Monday, March 7, 2016 3:27 PM To: mar-file-system/marfs Cc: Chen, Hsing Bung Subject: Re: [marfs] Figure out if it's possible to run OrangeFS strictly in user space (#107)

http://www.orangefs.org/documentation/releases/current/doc/pvfs2-quickstart/pvfs2-quickstart.php#SECTION00043000000000000000

You only need the kernel module for accessing the OrangeFS filesystem via existing POSIX-y tools. Unless something has changed, you should be able to configure your environment to allow use of the MPI-IO / native API access without any local "mountpoint", just a reference in the pvfs2tab file.

Reply to this email directly or view it on GitHubhttps://github.com/mar-file-system/marfs/issues/107#issuecomment-193484571.

brettkettering commented 8 years ago

HB came in and said he figured out how to configure it without any file in root space and without having to load a kernel module. Just using the PVFS lib API. Closing this issue.

boydwilson commented 8 years ago

glad you got it working, we will check into the users list.

jdburton commented 8 years ago

There is also a fuse module, which will allow you to mount the filesystem in userspace, if you need to. Performance and functionality of the fuse module, however, is not as good as the kernel module, native API, or MPI-IO interfaces.