Hi! I have a Lustre storage named "storage" and usually I mount it with command: mount -t lustre 192.168.15.241:/storage /mnt/lustrefs I wonder if it is possible to mount only a particular folder from the Lustre storage? Like nfs? I mean.. for example.. I have a folder named "folder1" and I want to mount it on a client, so in case of nfs i do the following: mount -t nfs nfsserver.com:/nfsstorage/folder1 /mnt/nfs And it works! But when I try to do this with lustre by issuing: mount -t lustre lustreserver.com:/storage/particularfolder /mnt/lustrefs I get the following error: mount -t lustre lustreserver.com:/storage/particularfolder /mnt/lustrefs failed: Invalid argument This may have multiple causes. Is ''storage/particularfolder'' the correct filesystem name? Are the mount options correct? Check the syslog for more info. I have a great deal of clients and I really don''t want to attach the whole lustre storage to each of them due to security issues. ----- WBR, Sergey Arlashin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100527/70e2ec0e/attachment.html
On Thu, 2010-05-27 at 19:18 +0400, Sergey Arlashin wrote:> Hi! > I have a Lustre storage named "storage" and usually I mount it with > command: > mount -t lustre 192.168.15.241:/storage /mnt/lustrefs > I wonder if it is possible to mount only a particular folder from the > Lustre storage?No. This is not possible with Lustre. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100527/50b7157a/attachment.bin
Brian J. Murrell wrote:> On Thu, 2010-05-27 at 19:18 +0400, Sergey Arlashin wrote: > >> Hi! >> I have a Lustre storage named "storage" and usually I mount it with >> command: >> mount -t lustre 192.168.15.241:/storage /mnt/lustrefs >> I wonder if it is possible to mount only a particular folder from the >> Lustre storage? >> > > No. This is not possible with Lustre. > > b. >But once you have the filesystem mounted, you can use a bind mount to mount the folder at another location, as in: # mount --bind /mnt/lustrefs/folder1 /mnt/folder1 Kevin