<div dir="ltr">If you *really* want a block device on a client that resides in Lustre you *could* create a file in Lustre and then make that file a loopback device with losetup. Of course, your mileage will vary *a lot* based on use case, access, underlying LFS configuration.<div><br></div><div>dd if=/dev/zero of=/my_lustre_mountpoint/some_subdir/big_raw_file bs=1048576 count=100000</div><div>losetup -f /my_lustre_mountpoint/some_subdir/big_raw_file</div><div>*assuming loop0 is created*</div><div>some_fun_command /dev/loop0 </div><div><br></div><div>Disclaimer: Just because you *can* do this, doesn't necessarily mean it is a good idea</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 16, 2023 at 3:29 PM Mohr, Rick via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Are you asking if you can mount Lustre on a client so that it shows up as a block device?  If so, the answer to that is you can't.  Lustre does not appear as a block device to the clients.<br>
<br>
-Rick<br>
<br>
<br>
<br>
On 3/16/23, 3:44 PM, "lustre-discuss on behalf of Shambhu Raje via lustre-discuss" <<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank">lustre-discuss-bounces@lists.lustre.org</a> <mailto:<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank">lustre-discuss-bounces@lists.lustre.org</a>> on behalf of <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a> <mailto:<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>>> wrote:<br>
<br>
<br>
When we mount a lustre file system on client, the lustre file system does not use block device on client side. Instead it uses virtual file system namespace. Mounting point will not be shown when we do 'lsblk'. As it only show on 'df-hT'.<br>
<br>
<br>
How can we mount lustre file system on block such that when we write something with lusterfs then it can be shown in block device??<br>
Can share command??<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">------------------------------<br>Jeff Johnson<br>Co-Founder<br>Aeon Computing<br><br><a href="mailto:jeff.johnson@aeoncomputing.com" target="_blank">jeff.johnson@aeoncomputing.com</a><br><a href="http://www.aeoncomputing.com" target="_blank">www.aeoncomputing.com</a><br>t: 858-412-3810 x1001   f: 858-412-3845<br>m: 619-204-9061<br><br>4170 Morena Boulevard, Suite C - San Diego, CA 92117<div><br></div><div>High-Performance Computing / Lustre Filesystems / Scale-out Storage</div></div></div></div></div>