linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	Thomas Deutschmann <whissi@whissi.de>
Subject: Re: [linux-lvm] lvcreate hangs forever during snapshot creation when suspending volume
Date: Tue, 2 Aug 2022 16:52:47 +0200	[thread overview]
Message-ID: <63e2968a-cb32-fda5-8810-43f722ae2d28@gmail.com> (raw)
In-Reply-To: <000901d8a61c$3adf2fb0$b09d8f10$@whissi.de>

Dne 02. 08. 22 v 5:01 Thomas Deutschmann napsal(a):
> Hi,
> 
> Zdenek Kabelac wrote:
>> Now - you suggests you are able to reproduce this issue also on your bare
>> metal hw - in this case run these 3 commands  before  'lvcreate'
> 
>> Zdenek Kabelac wrote:
>> Note: you could always 'experiment' without lvm2 in the picture -
>> you can ran   'fsfreeze --freeze|--unfreeze'  yourself - to see whether
> even
>> this command is able to finish  ?
> 
> fsfreeze caused the same problem :/
> 
> I also changed filesystem from xfs to ext4 just in case... same issue.
> 
> For testing I stopped the MDRAID and removed one NVMe disk which I
> cleared and where I created a new ext4 partition. Running
> 
>    $ fsfreeze --freeze /mnt/test
> 
> returned within seconds and I was unable do any I/O against /mnt/test
> as expected.
> 
> I unfreezed the filesystem and started to copy ~50GB to the volume.
> After waiting 5 minutes and verifying that /proc/meminfo didn't list
> any 'dirty' pages, I re-run the fsfreeze command which caused the
> same issue -- system hangs. :/
> 
> I will repeat the test with the other NVMe later...
> 
> So probably a kernel/driver issue or hardware problem.
> 

Hi

So as guessed earlier - unrelated to lvm2.

You likely need to discover what is wrong with your 'raid' device ?
Was your raid array fully synchronized ?

Do you have only problem with one particular  MD 'raid' on your system - or 
any other 'raid' you attach/create will suffer the same problem ?

Is it 'nvme' related on your system ?

Are the 'individual' nvme  devices running fine - just when they are mixed 
together into a single array you get these  'fsfreeze' troubles ?

Regards

Zdenek

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


  reply	other threads:[~2022-08-02 14:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 16:33 [linux-lvm] lvcreate hangs forever during snapshot creation when suspending volume Thomas Deutschmann
2022-08-01 17:29 ` Zdenek Kabelac
2022-08-01 17:34   ` Zdenek Kabelac
2022-08-01 20:34     ` Thomas Deutschmann
2022-08-02  3:01       ` Thomas Deutschmann
2022-08-02 14:52         ` Zdenek Kabelac [this message]
2022-08-03  1:37           ` Thomas Deutschmann
2022-08-28 22:38             ` Thomas Deutschmann
2022-08-29 10:32               ` Zdenek Kabelac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63e2968a-cb32-fda5-8810-43f722ae2d28@gmail.com \
    --to=zdenek.kabelac@gmail.com \
    --cc=linux-lvm@redhat.com \
    --cc=whissi@whissi.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).