Question regarding use of nosync with LVM mirrors/raid1 resizing
Andrew Johnson <[email protected]> Thu, 3 Jul 2025 10:02:23 +0100
| Newsgroups | gmane.linux.lvm.general |
|---|---|
| Message-ID | <CALX6RmYqj5ECZFJR3mtHVzKj1wiepfBDFChy9HKSg2_hCtXpoQ@mail.gmail.com> |
Hello, I have a script which handles the setup of mirror/raid1 volumes with LVM. My understanding is that the initial creation of the LV with nosync is perfectly acceptable if there's no data to sync (In this case there isn't as we haven't created the filesystem yet). However if I were to resize these later, suppose I resized the first PV and then the second and then the LV, would it be fine to set nosync when I resize the LV as there should be no data used on the new blocks of either of the resized PVs?