From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 43277608EF for ; Sun, 3 Jun 2018 20:18:19 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CA9D27A17F for ; Sun, 3 Jun 2018 20:18:07 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id x2-v6so10924535wmh.5 for ; Sun, 03 Jun 2018 13:18:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Inbox Date: Sun, 3 Jun 2018 13:18:06 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000d5b1bf056dc28320" Subject: Re: [linux-lvm] "write failed.. No space left", "Failed to write VG", and "Failed to write a MDA" Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com --000000000000d5b1bf056dc28320 Content-Type: text/plain; charset="UTF-8" Kernel 4.16.8, lvm 2.02.177. On Sun, Jun 3, 2018 at 1:13 PM, Inbox wrote: > I'm aware I can't let my thin volume get full. I'm actually about to > delete a lot of things. > > > > I don't understand why it gave the sdh3 then sdh3, sdg3, sdf3 no space > left on device errors. sdf3 has 366G left in its thin pool, and I asked to > create a virtual 200G within it. > > I don't understand why it failed to write VG, or an MDA of VG. > > I'm most concerned if anything's corrupted now, or if I can ignore this > other than that I couldn't create a volume. > > disk1thin is on sdh3 > disk2thin is on sdg3 > disk3thin is on sdf3 > disk4thin is on sde3 > > # lvs > ... > disk1thin lvm twi-aot--- <4.53t > 84.13 76.33 > disk2thin lvm twi-aot--- <4.53t > 85.98 78.09 > disk3thin lvm twi-aot--- <4.53t > 92.10 83.47 > disk4thin lvm twi-aot--- 4.53t > 80.99 36.91 > ... > # lvcreate -V200G lvm/disk3thin -n test3 > WARNING: Sum of all thin volume sizes (21.22 TiB) exceeds the size of > thin pools and the size of whole volume group (<18.17 TiB). > WARNING: You have not turned on protection against thin pools running > out of space. > WARNING: Set activation/thin_pool_autoextend_threshold below 100 to > trigger automatic extension of thin pools before they get full. > /dev/sdh3: write failed after 24064 of 24576 at 4993488961536: No space > left on device > Failed to write VG lvm. > Failed to write VG lvm. > Manual intervention may be required to remove abandoned LV(s) before > retrying. > # lvremove lvm/test3 > /dev/sdh3: write failed after 24064 of 24576 at 4993488961536: No space > left on device > WARNING: Failed to write an MDA of VG lvm. > /dev/sdg3: write failed after 24064 of 24576 at 4993488961536: No space > left on device > WARNING: Failed to write an MDA of VG lvm. > /dev/sdf3: write failed after 24064 of 24576 at 4993488961536: No space > left on device > WARNING: Failed to write an MDA of VG lvm. > Logical volume "test3" successfully removed > # lvs --- shows test3 is gone > > # pvs > PV VG Fmt Attr PSize PFree > /dev/sde3 lvm lvm2 a-- 4.54t <10.70g > /dev/sdf3 lvm lvm2 a-- 4.54t 0 > /dev/sdg3 lvm lvm2 a-- 4.54t 0 > /dev/sdh3 lvm lvm2 a-- 4.54t 0 > # vgs > VG #PV #LV #SN Attr VSize VFree > lvm 4 51 0 wz--n- <18.17t <10.70g > > --000000000000d5b1bf056dc28320 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Kernel 4.16.8, lvm 2.02.177.

On Sun, Jun 3, 2018 at 1:13 PM, Inbox <jimhaddad46@gmail.com> wrote:
I'm aware I can't let my thin volume get = full.=C2=A0 I'm actually about to delete a lot of things.


I don't understand why it gav= e the sdh3 then sdh3, sdg3, sdf3 no space left on device errors.=C2=A0 sdf3= has 366G left in its thin pool, and I asked to create a virtual 200G withi= n it.

I don't understand why it failed to writ= e VG, or an MDA of VG.

I'm most concerned if a= nything's corrupted now, or if I can ignore this other than that I coul= dn't create a volume.

disk1thin is on sdh3
disk2thin is on sdg3
disk3thin is on sdf3
disk4t= hin is on sde3

# lvs
...
=C2= =A0 disk1thin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0lvm=C2=A0 =C2=A0 twi-aot---=C2=A0 <4.53t=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A084.13=C2= =A0 76.33
=C2=A0 disk2thin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lvm=C2=A0 =C2=A0 twi-aot---=C2= =A0 <4.53t=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A085.98=C2=A0 78.09
=C2=A0 disk3thin=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lvm=C2=A0= =C2=A0 twi-aot---=C2=A0 <4.53t=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A092.10=C2=A0 83.47
=C2=A0 disk4= thin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0lvm=C2=A0 =C2=A0 twi-aot---=C2=A0 =C2=A04.53t=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A080.99=C2=A0 36.9= 1
...
# lvcreate -V200G lvm/disk3thin -n test3
=C2=A0 WARNING: Sum of all thin volume sizes (21.22 TiB) exceeds the = size of thin pools and the size of whole volume group (<18.17 TiB).
=C2=A0 WARNING: You have not turned on protection against thin pools = running out of space.
=C2=A0 WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin po= ols before they get full.
=C2=A0 /dev/sdh3: write failed after 24= 064 of 24576 at 4993488961536: No space left on device
=C2=A0 Fai= led to write VG lvm.
=C2=A0 Failed to write VG lvm.
=C2= =A0 Manual intervention may be required to remove abandoned LV(s) before re= trying.
# lvremove lvm/test3
=C2=A0 /dev/sdh3: write fa= iled after 24064 of 24576 at 4993488961536: No space left on device
=C2=A0 WARNING: Failed to write an MDA of VG lvm.
=C2=A0 /dev/= sdg3: write failed after 24064 of 24576 at 4993488961536: No space left on = device
=C2=A0 WARNING: Failed to write an MDA of VG lvm.
=C2=A0 /dev/sdf3: write failed after 24064 of 24576 at 4993488961536: No = space left on device
=C2=A0 WARNING: Failed to write an MDA of VG= lvm.
=C2=A0 Logical volume "test3" successfully remove= d
# lvs --- shows test3 is gone

# pvs
=C2=A0 PV=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0VG=C2= =A0 =C2=A0 =C2=A0Fmt=C2=A0 Attr PSize=C2=A0 =C2=A0 PFree
= =C2=A0 /dev/sde3=C2=A0 =C2=A0 =C2=A0 lvm=C2=A0 =C2=A0 lvm2 a--=C2=A0 =C2=A0= =C2=A04.54t <10.70g
=C2=A0 /dev/sdf3=C2=A0 =C2=A0 = =C2=A0 lvm=C2=A0 =C2=A0 lvm2 a--=C2=A0 =C2=A0 =C2=A04.54t=C2=A0 =C2=A0 =C2= =A0 0
=C2=A0 /dev/sdg3=C2=A0 =C2=A0 =C2=A0 lvm=C2=A0 =C2=A0 lvm2 = a--=C2=A0 =C2=A0 =C2=A04.54t=C2=A0 =C2=A0 =C2=A0 0
=C2=A0 /dev/sd= h3=C2=A0 =C2=A0 =C2=A0 lvm=C2=A0 =C2=A0 lvm2 a--=C2=A0 =C2=A0 =C2=A04.54t= =C2=A0 =C2=A0 =C2=A0 0
# vgs
=C2=A0 VG=C2=A0= =C2=A0 =C2=A0#PV #LV #SN Attr=C2=A0 =C2=A0VSize=C2=A0 =C2=A0VFree
=C2=A0 lvm=C2=A0 =C2=A0 =C2=A0 4=C2=A0 51=C2=A0 =C2=A00 wz--n- <18.17t= <10.70g


--000000000000d5b1bf056dc28320--