All of lore.kernel.org
 help / color / mirror / Atom feed
From: Su Yue <l@damenly.org>
To: Yu Kuai <yukuai1@huaweicloud.com>
Cc: Zdenek Kabelac <zdenek.kabelac@gmail.com>,
	 Mikulas Patocka <mpatocka@redhat.com>,
	 Song Liu <song@kernel.org>,
	linux-raid@vger.kernel.org,  dm-devel@lists.linux.dev,
	 "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: LVM2 test breakage
Date: Tue, 20 May 2025 11:47:02 +0800	[thread overview]
Message-ID: <y0usaqq1.fsf@damenly.org> (raw)
In-Reply-To: <52577231-f4d3-84d1-ec5f-a197625a63c4@huaweicloud.com> (Yu Kuai's message of "Tue, 20 May 2025 09:53:59 +0800")

On Tue 20 May 2025 at 09:53, Yu Kuai <yukuai1@huaweicloud.com> 
wrote:

> Hi,
>
> 在 2025/05/20 9:45, Yu Kuai 写道:
>> dd if=/dev/zero of=/mnt/test/test.img bs=1048576 count=0 
>> seek=5000000003
>> dd: failed to truncate to 5242880003145728 bytes in output file
>> '/mnt/test/test.img': File too large
>> And this is because ext4 has hard limit of file size, 2^48:
>> fs/ext4/super.c:        sb->s_maxbytes = 
>> ext4_max_size(sb->s_blocksize_bits,
>> has_huge_files);
>> So, I can't use ext4 for this testcase. :(
>
> Sadly, after switching to xfs, with 2^64 file size limit, I got 
> a new
> error:
>
> [ 0:10.980] # 200 TiB raid1
> [ 0:10.980] lvcreate --type raid1 -m 1 -L 200T -n $lv1 $vg1 
> --nosync
> [ 0:10.980] #lvcreate-large-raid.sh:51+ lvcreate --type raid1 -m 
> 1 -L 200T -n
> LV1 LVMTEST1868vg1 --nosync
> [ 0:10.980] File descriptor 6 (/dev/pts/0) leaked on lvm 
> invocation. Parent PID
> 1868: bash
> [ 0:11.226]   WARNING: New raid1 won't be synchronized. Don't 
> read what you
> didn't write!
> [ 0:11.397]   Failed to deactivate LVMTEST1868vg1/LV1_rmeta_0.
> [ 0:11.776]   Internal error: Removing still active LV
> LVMTEST1868vg1/LV1_rmeta_0.
> [ 0:11.966] /root/lvm2/test/shell/lvcreate-large-raid.sh: line 
> 51:  2071 Aborted
> (core dumped) lvcreate --type raid1 -m 1 -L 200T -n $lv1 $vg1 
> --nosync
> [ 0:14.059] set +vx; STACKTRACE; set -vx
> [ 0:14.061] ##lvcreate-large-raid.sh:51+ set +vx
> [ 0:14.061] ## - /root/lvm2/test/shell/lvcreate-large-raid.sh:51
> [ 0:14.065] ## 1 STACKTRACE() called from
> /root/lvm2/test/shell/lvcreate-large-raid.sh:51
>
> Looks like lvcreate crashed.
>
Can't reproduce it on v6.15-rc7 and lvm2 HEAD 
37b28216fd029ffe2fac815b16645aeb9d352235:

/dev/vdc on /mnt type xfs 
(rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
make check_local T=shell/lvcreate-large-raid.sh 
LVM_TEST_AUX_TRACE=1  VERBOSE=1 LVM_TEST_DIR=/mnt

What's your kernel and lvm versions?

--
Su
> Thanks,
> Kuai

  reply	other threads:[~2025-05-20  3:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-16 16:00 LVM2 test breakage Mikulas Patocka
2025-05-19  1:11 ` Yu Kuai
2025-05-19  6:41   ` Yu Kuai
2025-05-19 10:10     ` Mikulas Patocka
     [not found]       ` <81c5847a-cfd8-4f9f-892c-62cca3d17e63@redhat.com>
2025-05-19 11:07         ` Yu Kuai
2025-05-19 13:55           ` Zdenek Kabelac
2025-05-20  1:45             ` Yu Kuai
2025-05-20  1:53               ` Yu Kuai
2025-05-20  3:47                 ` Su Yue [this message]
2025-05-20  6:12                   ` Yu Kuai
2025-05-19 10:08   ` Mikulas Patocka
2025-05-19 10:09     ` [PATCH] md/raid1,raid10: don't pass down the REQ_RAHEAD flag Mikulas Patocka
2025-05-19 11:19       ` Yu Kuai
2025-05-19 11:39         ` Yu Kuai
2025-05-19 12:05           ` Mikulas Patocka
2025-05-19 12:34             ` Yu Kuai
2025-05-20  6:28               ` Yu Kuai
2025-05-19 12:15           ` Mikulas Patocka

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=y0usaqq1.fsf@damenly.org \
    --to=l@damenly.org \
    --cc=dm-devel@lists.linux.dev \
    --cc=linux-raid@vger.kernel.org \
    --cc=mpatocka@redhat.com \
    --cc=song@kernel.org \
    --cc=yukuai1@huaweicloud.com \
    --cc=yukuai3@huawei.com \
    --cc=zdenek.kabelac@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.