From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-108-mta84.mxroute.com (mail-108-mta84.mxroute.com [136.175.108.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94B4C257AED for ; Tue, 20 May 2025 03:52:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.175.108.84 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747713165; cv=none; b=nWEWciR4QWW/mdZspuwjsg+b5tUNQWUgFiPspzAYG7QXeljBYqMD0NornWzf++LIMUDGwX5jBDsWvU0vdyJbuGkso1J8mVeF0FQaR/rxLMStGm+HpgPy06b2gB2iZIZFi1PAp7WqhkmQPyVJQm77bjXAFiCmBGZClADhp+5bq7E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747713165; c=relaxed/simple; bh=xR4RO7cAKj+dDyWDfREkss86cB5Q31usj/YD9flL9Mw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=U3ZGL1aliPGPNRMy6BA/LG0SGO04cq7kIpYl1ibrYKEXcTykYrN3M2Yco549YcyDbvtgsLxwpB0xHaVvpQu+S9fbmxBHTqOwBt07YhqyiamqN2fS7AqaxcvXXLmHkflmCfJo6S51o59pP74wVvNpDFsbWuLK7sm41lBFAboZXyA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=damenly.org; spf=pass smtp.mailfrom=damenly.org; dkim=pass (2048-bit key) header.d=damenly.org header.i=@damenly.org header.b=ADsxTAR2; arc=none smtp.client-ip=136.175.108.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=damenly.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=damenly.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=damenly.org header.i=@damenly.org header.b="ADsxTAR2" Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta84.mxroute.com (ZoneMTA) with ESMTPSA id 196ebcda5310008631.005 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Tue, 20 May 2025 03:47:25 +0000 X-Zone-Loop: 773c0d8b80e85bbbde02524def388c7725f39dfb7b7f DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=damenly.org ; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=Uio/We5CInJkkbCWP9SsY+Cgn/ZfxBWnr6bGZOqG5XQ=; b=ADsxTAR2OSlx EHI/DMnj858s7iBJ9WIr8OlC9JCKfQoIx3dbONLhTgYfh5l4SP1iN7RNFDI2oJ/Nugbtf1ZrULU40 5CZbIc6OLTOib0ZD7oGPquEIOdUs/K9vqcU0CVm5GrNNE8j6ZliPRU1zMXmbFixZc4UzSE117pTPn W4T/gv/ILvhqRcwOtUS9+1sV5j+j7juAMuwhC+nqAluuQ3LTJa6SYDkB0pgBn8t+Iqe6iYt8BPCba zgZ4lrlvUFRTrfgz3R+hAgphGmAIGXeCXyrlloB6SGJUIeBUfcGzsz53mV+4T62PlL/w+loESf4Sx XBIKSII+qW7tkYgh9tJsPQ==; From: Su Yue To: Yu Kuai Cc: Zdenek Kabelac , Mikulas Patocka , Song Liu , linux-raid@vger.kernel.org, dm-devel@lists.linux.dev, "yukuai (C)" Subject: Re: LVM2 test breakage In-Reply-To: <52577231-f4d3-84d1-ec5f-a197625a63c4@huaweicloud.com> (Yu Kuai's message of "Tue, 20 May 2025 09:53:59 +0800") References: <34fa755d-62c8-4588-8ee1-33cb1249bdf2@redhat.com> <98ac5772-9931-17fd-1fc4-18d2c737b079@huaweicloud.com> <73ff7f5f-6f09-66d8-9061-7840bc72d0df@huaweicloud.com> <0be9be18-9488-1edc-00bb-5a1b0414fd15@redhat.com> <81c5847a-cfd8-4f9f-892c-62cca3d17e63@redhat.com> <2ec7a2fd-13bd-08d7-8e8d-71ef83c3aa45@huaweicloud.com> <28d561ba-a4d4-4a16-a6f9-5d39a344cd06@gmail.com> <52577231-f4d3-84d1-ec5f-a197625a63c4@huaweicloud.com> User-Agent: mu4e 1.12.7; emacs 30.1 Date: Tue, 20 May 2025 11:47:02 +0800 Message-ID: Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Id: l@damenly.org On Tue 20 May 2025 at 09:53, Yu Kuai =20 wrote: > Hi, > > =E5=9C=A8 2025/05/20 9:45, Yu Kuai =E5=86=99=E9=81=93: >> dd if=3D/dev/zero of=3D/mnt/test/test.img bs=3D1048576 count=3D0=20 >> seek=3D5000000003 >> 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:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sb->s_maxbyte= s =3D=20 >> 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=20 > a new > error: > > [ 0:10.980] # 200 TiB raid1 > [ 0:10.980] lvcreate --type raid1 -m 1 -L 200T -n $lv1 $vg1=20 > --nosync > [ 0:10.980] #lvcreate-large-raid.sh:51+ lvcreate --type raid1 -m=20 > 1 -L 200T -n > LV1 LVMTEST1868vg1 --nosync > [ 0:10.980] File descriptor 6 (/dev/pts/0) leaked on lvm=20 > invocation. Parent PID > 1868: bash > [ 0:11.226] WARNING: New raid1 won't be synchronized. Don't=20 > 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=20 > 51: 2071 Aborted > (core dumped) lvcreate --type raid1 -m 1 -L 200T -n $lv1 $vg1=20 > --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=20 37b28216fd029ffe2fac815b16645aeb9d352235: /dev/vdc on /mnt type xfs=20 (rw,relatime,attr2,inode64,logbufs=3D8,logbsize=3D32k,noquota) make check_local T=3Dshell/lvcreate-large-raid.sh=20 LVM_TEST_AUX_TRACE=3D1 VERBOSE=3D1 LVM_TEST_DIR=3D/mnt What's your kernel and lvm versions? -- Su > Thanks, > Kuai