[lustre-discuss] Lustre shares

Patrick Farrell paf at cray.com
Wed Oct 4 13:26:48 PDT 2017


Biju,

While it’s possible to do subtree mounts (mounts of particular folders/directories) with recent versions of Lustre, the usual approach is for each client to mount the whole file system.

- Patrick

From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org<mailto:lustre-discuss-bounces at lists.lustre.org>> on behalf of Biju C P <cpbiju at gmail.com<mailto:cpbiju at gmail.com>>
Date: Wednesday, October 4, 2017 at 10:16 PM
To: "Dilger, Andreas" <andreas.dilger at intel.com<mailto:andreas.dilger at intel.com>>
Cc: "lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>" <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>>
Subject: Re: [lustre-discuss] Lustre shares

Hi Dilger, Andreas

Thanks for the reply.

 - Could you please explain a bit more about what you want here? Do you want to have clients access subtrees of the filesystem or similar? -

I am working on an application which support Network File System (NFS) where it enumerate all shares available on the NFS server and take action based on certain parameters. Now I need to support Lustre filesystem. I was just wondering whether Lustre filesystem also have the same concept or not. If so, then how can I enumerate all shares on a particular server.

How does the client use lustre filesystem ? Do they mount the entire filesystem and use it or each client mount to different folders (assigned to the user) on the filesystem ?


On Wed, Oct 4, 2017 at 7:11 PM, Dilger, Andreas <andreas.dilger at intel.com<mailto:andreas.dilger at intel.com>> wrote:
On Oct 4, 2017, at 07:23, Biju C P <cpbiju at gmail.com<mailto:cpbiju at gmail.com>> wrote:
> I am very new to Lustre filesystem and my question may be very basic. Please help me on this.
>
> How do I create Lustre shares?

Could you please explain a bit more about what you want here? Do you want to have clients access subtrees of the filesystem or similar?

> Is there any API available to query all shares available on Lustre filesystem?

There aren't "shares" per-se, so no API is available for this.

> MGS/MDS can be configured to have multiple filesystems. What is the use case ? When does the customer create multiple filesystems ?

Some (typically smaller) sites have multiple filesystems on the same server, mostly for reducing the cost of the server hardware while separating the filesystems for (partial) fault isolation or capacity/user management.

However, for larger filesystems, there is not much benefit for sharing the
same servers between multiple filesystems, since there are multiple servers
in a single filesystem to improve performance so it doesn't make sense to
split them up again.

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Intel Corporation










--
Biju C P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20171004/d697e1ca/attachment-0001.html>


More information about the lustre-discuss mailing list