Thanks for your reply Andreas. I have one more question regarding the size of the reserved space. Our average file size is 1MB, OST size is 7.2TB and I am planning to set reserved space to 0.15% which will give us 12GB per OST. Would you agree that this is enough to keep fragmentation low?<br>
<br>Best regards,<br><br>Wojciech <br><br><div class="gmail_quote">On 25 November 2010 23:57, Andreas Dilger <span dir="ltr"><<a href="mailto:andreas.dilger@oracle.com">andreas.dilger@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 2010-11-25, at 13:12, Wojciech Turek wrote:<br>
> I forgot to ask, is setting reserved % to 0 is safe on Lustre filesysytem?<br>
<br>
</div>It is safe, but can lead to serious (and permanent) fragmentation of the filesystem, which can lead to permanent performance loss. Consider reducing it to some smaller fraction than 5%, but leaving some reserve.<br>
<div class="im"><br>
> On 25 November 2010 19:15, Wojciech Turek <<a href="mailto:wjt27@cam.ac.uk">wjt27@cam.ac.uk</a>> wrote:<br>
>> I am trying to reclaim the default 5% of reserved disk space on Lustre filesystem following procedure describe in the Lustre manual (chapter 23.3.10). File system is in use and I would like to avoid any downtime.<br>
>><br>
>> [root@oss17 ~]# tune2fs -m 1 /dev/sdg<br>
>> tune2fs 1.41.12.2.ora1 (14-Aug-2010)<br>
>> tune2fs: MMP: device currently active while trying to open /dev/sdg<br>
>><br>
>> I understand it is the MMP flag which prevent tune2fs to access the device, is there a way to work around this or is my only option to umount OSTs (eek, downtime)<br>
<br>
</div>It should be possible to do this with a modification to tune2fs.<br>
<br>
The issue is that this operation is only safe on a mounted filesystem if it is a local mount, and not a remote mount. tune2fs probably needs to skip the MMP checking in this case, but it needs to check that the filesystem is mounted locally.<br>
<br>
Cheers, Andreas<br>
<font color="#888888">--<br>
Andreas Dilger<br>
Lustre Technical Lead<br>
Oracle Corporation Canada Inc.<br>
<br>
</font></blockquote></div><br><br>