Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp629323lqs; Fri, 14 Jun 2024 00:09:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmKXU4uvDoBFb6vmJ7rfgix2X4zmMyWYodoWlsCa9pKeuDj07bHaaZe+n0xVyQdP7TVBPFewpmr5HcMj7ImeShVlkpSdJCNGdro7LJbw== X-Google-Smtp-Source: AGHT+IHjdCPj/cc6POjubW4IzJmIdRNV76NKxGXzHUfxbyVS7b8YqbbSB6UmND0Zsa9SIPqm+Eji X-Received: by 2002:a05:6871:7391:b0:254:a57e:1aed with SMTP id 586e51a60fabf-258429989f3mr2174023fac.26.1718348983832; Fri, 14 Jun 2024 00:09:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718348983; cv=pass; d=google.com; s=arc-20160816; b=NlPqJlM0JvY39IGElvBycShlyfHsUTM8alEUn9v5p1GhLdmNsEg6QYH2nEMSF80wEt NnqGdeK4D+7XGeeRl4t7dk8dcGySQV/C3QTjIBOmR2LipbmugZOLJnibtsUPiRW3p5OP LSXIZyabKq7z+W3zbGQWv7lGJ+xpIGmSk4uzLAgNfM3fbdHk4pEXCigi+s0cSSfTH0Bf gHfj4q/cCE7tie+nPzAzB4wirb2RDKJNfOTAH88INo15oJGfRigVmOyKBkZscZE2h4hv FLs87G0v27Y6GVUvc4BveAI2RkrphrFTQ+DJ49SE0Mo+nyaExrWe3z4bcSq5++mYmDRG KNZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:from:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=Tva+SbPFXNEE2nzPvYlaXZ1JYPlkSKwvMu/Q234lCSg=; fh=FlsdHfWK/rX83Zr8K457nNkFPvPiS4D+/pMCHTuFDgM=; b=YINsMId8A3XYqIYRD2ELBJpuQIiUZPBHetuzbabs/BJhfdPa3h3X2TVQ3jb9UBwiQp T/+29kr7t+EnXq84975P7yxpdb6JthSgt1SYW3G6eGvda/ZbOkJa1tqcvVNE5SNqBZRG 6PoikTv9Af7DA8VZj14Dq0UpJ949Sdg7kSMccQtHNfOUfjK/hb+mMArOB2lIRnp2UCh3 INHa5s2eNuYVXcRDygDWDf1ccStOM7k4t3VHLXW/yUZXmRgi0NeTVIH6KCZZLmmu1fD3 OwhA3M2cU48iSqFJ/GUYHphgP/JCjE7aaX82Z979aA2RewCX8kwU2tMSU2YtpfaaDm11 MduQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-ext4+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-705cc964afasi3127538b3a.127.2024.06.14.00.09.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 00:09:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-ext4+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 80978B2121B for ; Fri, 14 Jun 2024 07:09:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2672A148829; Fri, 14 Jun 2024 07:09:31 +0000 (UTC) X-Original-To: linux-ext4@vger.kernel.org Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7111E17C72; Fri, 14 Jun 2024 07:09:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718348970; cv=none; b=ax8ZiHdW1zxvv1Ou7iJlDTOlL15GBgLO1t5iscnWdmCdp+XhEi03i4BPyxE4Kgxg+OVUenME9nadQybzpk7E3s/iSaKi2eUYNlnQk2jBmKqaGmCc3fmY8ZlPWd05MS4SRRPkzuV7FNtCaasFLjdF8w/Ng/mwqgq6gY1D3riMGVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718348970; c=relaxed/simple; bh=/6rFKvOQaCB8YRGD+hgifAbvc2jodgj/xPueB3FDbVI=; h=Message-ID:Date:MIME-Version:From:Subject:To:Content-Type; b=rZIJq+bvI0Gli/G3qByN/0hKyRjMAKX8xExwLrBffBpp+yifuKbdQDUKLCWxy1vu//gNDsgF1d7Jy9x1fjgHlSwmogYEeieLVjLMJTgARucriltSS0TDw1w9+wF/t6Gdck6e24oeH5nJaEmIfQ2me0u1w5dYbDDNsra4ltM9mmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4W0r2f6WyMzdbBb; Fri, 14 Jun 2024 15:07:54 +0800 (CST) Received: from dggpeml500022.china.huawei.com (unknown [7.185.36.66]) by mail.maildlp.com (Postfix) with ESMTPS id 1CCFD140486; Fri, 14 Jun 2024 15:09:23 +0800 (CST) Received: from [10.67.111.104] (10.67.111.104) by dggpeml500022.china.huawei.com (7.185.36.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 14 Jun 2024 15:09:22 +0800 Message-ID: Date: Fri, 14 Jun 2024 15:09:22 +0800 Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Hongbo Li Subject: How to create new file in idmapped mountpoint To: , Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500022.china.huawei.com (7.185.36.66) Hi everyone ! How can I create new file in idmapped mountpoint in ext4? I try to do the following test: ``` losetup /dev/loop1 ext4.img mkfs.ext4 /dev/loop1 mount /dev/loop1 /mnt/ext4 ./mount-idmapped --map-mount b:0:1001:1 /mnt/ext4 /mnt/idmapped1 cp testfile /mnt/idmapped1 ``` then it rebacks me: ``` cp: cannot create regular file '/mnt/idmapped1/testfile': Value too large for defined data type ``` Did I use it incorrectly? Thanks, Hongbo.