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