Hi Robin,
Thats what we finally did, but a direct mount would have been nicer though
Thank you
Le 11/09/2015 06:56, Robin Humble a écrit :
On Thu, Sep 10, 2015 at 04:22:19PM +0200, Jérôme BECOT wrote:
> Can anybody tell me if it is possible to mount only a subdirectory of
> a lustre filesystem ?
>
> mount -t lustre lustre.local:/lustre/mysubdir -o my_opts /mnt
>
> doesn't work (lustre 2.7)
can you use bind mounts?
eg.
mount -t lustre lustre.local:/lustre /somewhere
mount --bind /somewhere/mysubdir /mnt
mount -o remount,my_opts /mnt
umount /somewhere
that's worked well for me since Lustre 1.8 or so.
cheers,
robin
--
Jérome BECOT
Administrateur Systèmes et Réseaux
Molécules à visée Thérapeutique par des approches in Silico (MTi)
Univ Paris Diderot, UMRS973 Inserm
Case 013
Bât. Lamarck A, porte 412
35, rue Hélène Brion 75205 Paris Cedex 13
France
Tel : 01 57 27 83 82