<div dir="auto">I&#39;ve used it often with ill effects. The filesystem is not unmounted. It just changes the bits that mark the logical end of a filesystem and updates the kernel memory of it while updating the special blocks in the filesystem to reflect the new end point. </div><div class="gmail_extra"><br><div class="gmail_quote">On May 8, 2017 10:33 AM, &quot;Elliot Holden&quot; &lt;<a href="mailto:elliot@elliotmywebguy.com">elliot@elliotmywebguy.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found out you can extend the filesystem while extending the lvm simultaneously. So it does not have to be in 2 separate commands. Using the -r option or --resizefs with lvextend will do the trick. This way you don&#39;t have to unmount the filesystem, extend the filesystem (with xfs_growfs) and then remount the filesystem. Here is the syntax.<br>
<br>
[elliot@newton ~]$ sudo lvextend -l +100%FREE -r /dev/rhel/home<br>
<br>
<br>
Does any see an issue with doing this type of modification while the filesystem is still mounted? Does anyone know if the filesystem gets unmounted and remounted during this command while using -r ? Just in case some other process is writing to the filesystem at the same time. It&#39;s been brought to my attention by a member of my Perl group that you could potentially lose data this way. So I wanted to find out if there are any protections going on in the background while executing this command.<br>
<br>
<br>
Thanks<br>
<br>
<br>
E.<br>
<br>
-- <br>
Elliot Holden<br>
<a href="tel:706-231-9776" value="+17062319776" target="_blank">706-231-9776</a><br>
<a href="mailto:elliot@elliotmywebguy.com" target="_blank">elliot@elliotmywebguy.com</a><br>
<a href="http://www.elliotmywebguy.com" rel="noreferrer" target="_blank">http://www.elliotmywebguy.com</a><br>
<br>
______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/li<wbr>stinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/li<wbr>stinfo</a><br>
</blockquote></div></div>