From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 633DA666B4 for ; Mon, 27 Jul 2020 00:00:09 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4FDD717919 for ; Mon, 27 Jul 2020 00:00:09 +0200 (CEST) Received: from mail.namespace.at (mail.namespace.at [213.208.148.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 1096D1790C for ; Mon, 27 Jul 2020 00:00:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deduktiva.com; s=a; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding: 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=i8L4tYUBecnlcHHRN+A5zfZkvbG0kFzv3b2el/MPjzE=; b=qJzaOIP22jQ3Vr7RTKVSHOgTxv OzidBpQZ+ujvhGeAWAL5K1QBpBPe6AgHSHrPtMJiT1IgW8yqcNWJVabBPLHfz+PZPhbMzbQn56SAI T/PIWAAsB/3SDqwAEVL412U7b+3n0jxWMWf3peA5po0xVgRrqxESCrOw0lonOuYqtSLQYFxSFea5N EH4y0xbqJnIF1B7UcT9OCBAssmaAccMyGvxipfM8G/LBXVEQyr8ACedw45NA6g5LuIuqp3jX0MOoe oBV1/rMjHrvSKc4W+Pz5pkM/V1hsu8+yJBo2V2o3OqxGTergwts0nGG2jBmqd8cvDiFA3j4+7VEkM FPhcDd9Q==; Date: Sun, 26 Jul 2020 23:55:42 +0200 From: Chris Hofstaedtler | Deduktiva To: Proxmox VE user list Message-ID: <20200726215542.4pg3j4zujbabcevo@percival.namespace.at> References: <8e7395ee-c3ab-03fc-aa2d-9bf2e0781375@hw.wewi.de> <20200630102125.nnrf3okkiwtdmojw@zeha.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SPAM-LEVEL: Spam detection results: 0 DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [PVE-User] FC-Luns only local devices? X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 22:00:09 -0000 Hi, * Hermann [200725 18:05]: > Could you explain in a short sentence, why you avoid partitioning? I > remember running into difficulties with an image I had created this way > in another setup. I could not change the size when it was necessary an > had to delete and recreate everything, which was quite painful, because > I had to move around a TB of Files. I don't know about images, but we were talking about LVM PVs on top of LUNs (SCSI disks from a Linux point of view). Now, if the only thing that goes on the LUN is an LVM PV, why add an extra layer, an MBR or GPT partitioning layer? >From my experience this adds two things: 1) another size definition, which you have to edit when resizing the LUN 2) another size definition, which is also read and cached by the Linux kernel, and - at least in the past - was often impossible to get updated without closing all open handles to the block device. Effectively, this meant rebooting. Also, local staff isn't too happy to fiddle with fdisk: delete and recreate a partition to resize it. Or use parted and find the magic flags so it doesn't actually do something unexpected. Chris -- Chris Hofstaedtler / Deduktiva GmbH (FN 418592 b, HG Wien) www.deduktiva.com / +43 1 353 1707