<div dir="ltr"><div><div><div><div><div><div><div><div><div>I have one LVG with one LV consisting of several physical drives, ranging from 500G to 3T, with a total size of 6.5T, formatted with ext4.<br><br></div>After I boot the system, when anything writes a file to that LV, the write hangs for 1 minute or more, then continues at full speed with no errors. Some apps, though can't handle the delay, and report that the write fails.<br>
<br></div>This does not occur with a small file ( < 50M or so ). But the first time a larger file is written, then the delay. And this delay occurs only one time.<br><br></div>I have noticed something similar in the past with smaller LVs ( < 1T ), but the delay was insignificant then.  But as I grew this LV, the delay increased.<br>
<br></div>I can run e2fsck on the LV, and even optimize directories (-D option), with no delay occurring. <br><br></div>I have tried googling, but have not found any mention of something like this (maybe not using the right key words?). So, does this sound familiar to any LVM experts out there? Any suggestions?<br>
<br></div>FWIW: I'm currently running Fedora 17 (64 bit), kernel 3.8.4-102.fc17.x86_64 (although I have seen this problem on 32 bit kernels/machines as well). I have 4 physical drives (500G, 1T, 1.5T, 3T), and non-raid configured.<br>
<br>Some other info:<br><br>[root@elmer ken]# lvmdiskscan <br>  /dev/vg_elmer/lv_swap [       3.62 GiB] <br>  /dev/sda1             [     500.00 MiB] <br>  /dev/vg_elmer/lv_root [      23.81 GiB] <br>  /dev/sda2             [      27.47 GiB] LVM physical volume<br>
  /dev/VG_NAS/LV_NAS    [       5.46 TiB] <br>  /dev/sdb1             [       2.73 TiB] LVM physical volume<br>  /dev/sdc1             [     465.76 GiB] LVM physical volume<br>  /dev/sdd1             [     931.51 GiB] LVM physical volume<br>
  /dev/sde1             [       1.36 TiB] LVM physical volume<br>  3 disks<br>  1 partition<br>  0 LVM physical volume whole disks<br>  5 LVM physical volumes<br>[root@elmer ken]# lvdisplay <br>  --- Logical volume ---<br>
  LV Path                /dev/VG_NAS/LV_NAS<br>  LV Name                LV_NAS<br>  VG Name                VG_NAS<br>  LV UUID                IO93PY-kFF2-19u7-33lX-m7Mg-8BZC-q12ttn<br>  LV Write Access        read/write<br>
  LV Creation host, time , <br>  LV Status              available<br>  # open                 1<br>  LV Size                5.46 TiB<br>  Current LE             1430794<br>  Segments               5<br>  Allocation             inherit<br>
  Read ahead sectors     auto<br>  - currently set to     256<br>  Block device           253:2<br>[root@elmer ken]# <br><br></div>(note: sda is separate physical drive with system/kernel only - vg_elmer-*)<br><br></div>T IA<br>
<br></div>ken<br><br></div>