<div dir="ltr"><div>This is just a general stab, but has the filesystem been fully initialized on those?  The default for ext4 is to do a lazy initialization of the filesystem and journal when you create it.  Depending on the size of the file system this can last for some time.  To prevent this use:<br>
<span class=""></span>mkfs.ext4 <span class="">-E</span> <span class="">lazy_itable_init</span>=<span class="">0</span>,<span class="">lazy_journal_init</span>=<span class="">0<br><br></span></div><span class="">-Greg<br>
</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 5:46 PM, Bostjan Skufca <span dir="ltr"><<a href="mailto:bostjan@a2o.si" target="_blank">bostjan@a2o.si</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>If LVM2 volume is mounted (ext4 fs), why is there constant write activity to the devices below (sw raid in this case) despite not using the mounted volume at all?<br>
</div><div>
<br></div><div>I am seing this on multiple hosts. On this particular one I am seeing around 20 writes per second on average, but they occur in batches of around 50-90 writeIOps on every 3-4 seconds. If I mount the same filesystem (ext4) on sw raid1 without LVM in between, I see the expected 0 write IOps when not using the filesystem.</div>

<div><br></div><div>Kernel versions where I noticed this: 3.0.13 (sysrescd) 3.4.1, 3.9.4 (custom compiled). I noticed it on all systems where lvm is in use.</div><div><br></div><div>Thank you for the hints,</div>
<div>b.</div><div><br></div><div><br></div><div>PS: I did search the web first, but I could not find the answer. Sorry if this has been answered before, maybe I was searching for the wrong terms.</div>
<div><br></div></div>
<br>_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br></blockquote></div><br></div>