<html><head></head><body>Just curios, if you set reservation on an zfs OST fs, will the algorithm work? Also, will it go totally crazy or just not be able to make good decisions, because something external is grabbing the space?<br>
<br>
Cheers,<br>
Hans Henrik<br><br><div class="gmail_quote">On October 7, 2016 8:16:54 AM GMT+02:00, "Xiong, Jinshan" <jinshan.xiong@intel.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On Oct 6, 2016, at 2:04 AM, Phill Harvey-Smith <p.harvey-smith@warwick.ac.uk> wrote:<br /> <br /> Hi all,<br /> <br /> Having tested a simple setup for lustre / zfs, I'd like to trey and replicate on the test system what we currently have on the production system, which uses a much older version of lustre (2.0 IIRC).<br /> <br /> Currently we have a combined mgs / mds node and a single oss node. we have 3 filesystems : home, storage and scratch.<br /> <br /> The MGS/MDS node currently has the mgs on a seperate block device and the 3 mds on a combined lvm volume.<br /> <br /> The OSS has an ost each (on a separate disks) for scratch and home and two ost for storage.<br /> <br /> If we migrate this setup to a ZFS based one, will I need to create a separate zpool for each mdt / mgt / oss  or will I be able to create a single zpool and
split it up between the individual mdt / oss blocks, if so how do I tell each filesystem how big it should be?<br /></blockquote><br />We strongly recommend to create separate ZFS pools for OSTs, otherwise grant, which is a Lustre internal space reserve algorithm, won’t work properly.<br /><br />It’s possible to create a single zpool for MDTs and MGS, and you can use ‘zfs set reservation=<space> <target>’ to reserve spaces for different targets.<br /><br />Jinshan<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> <br /> Cheers.<br /> <br /> Phill.<br /><hr /><br /> lustre-discuss mailing list<br /> lustre-discuss@lists.lustre.org<br /> <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br /></blockquote><br /><hr /><br />lustre-discuss mailing list<br />lustre-discuss@lists.lustre.org<br /><a
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>